sitemap icon indicating copy to clipboard operation
sitemap copied to clipboard

Sitemap and sitemap index builder

Results 14 sitemap issues
Sort by recently updated
recently updated
newest added

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...

enhancement

/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 ![Screenshot 2022-01-26 175651](https://user-images.githubusercontent.com/3535911/151198598-80aed2a6-5db1-4698-abcb-b6b4a5c43d75.png)

bug

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...

enhancement

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...

bug

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.

bug

> 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...

testing

Refactored library to be more flexible. ## TODO - [ ] Implement video extension - [ ] Implement image extension

при мультиязыковой карте, количество ссылок в Число языков больше нужно $this->urlsCount = $this->urlsCount + count($location);

help wanted

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...