sitemap
sitemap copied to clipboard
Sitemap and sitemap index builder
Hi, I like this repo - so far the simpliest (no stupid requirements) with best documentation. Can you add support for image sitemap? Kindly see this: - https://developers.google.com/search/docs/advanced/sitemaps/image-sitemaps?hl=en - documentation...
/ar/%D8%A7%D9%84%D8%B9%D8%A7%D9%85%D9%84-%D8%A7%D9%84%D9%85%D8%A7%D9%87%D8%B1-%D9%83%D8%A7%D8%B1%D9%8A%D9%83%D8%A7%D8%AA%D9%8A%D8%B1 
That's my implementation for a fix for issues #82 and #81 I'm not quite sure about my approach on line 202. Could you check it please.
It would be nice if the last modified date for each additional sitemap was determined automatically. For the sitemap-index, I mean...
The problem lays in [flush()](https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L221) function. When a sitemap is truncated by size here: https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L232 finishFile() functions is called which leads to [zeroing urlsCount variable](https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L197), but right after that a...
Since self::flush [accepts an int as a parameter](https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L218) but a bool is provided here: https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L184 It seems that it's a typo of some kind. Probably `$this->flush(0);` should be there.
> I'd love to see some unit tests validating behaviour but that's up to you. Could be merged w/o it. I was planning to add these covering tests as part...
3.0.0
Refactored library to be more flexible. ## TODO - [ ] Implement video extension - [ ] Implement image extension
при мультиязыковой карте, количество ссылок в Число языков больше нужно $this->urlsCount = $this->urlsCount + count($location);
Hi, I found really helpful this package, but since I need to use a different writer I was wondering if its possible to add a method to export the XML...