sitemap-php
sitemap-php copied to clipboard
Library for generating Google sitemap XML files
The sitemap class does not exist and the sitemap.php file does not exist either
Extension based on https://support.google.com/webmasters/answer/178636
I want to append url data instead of replace whole xml file.
How is the develop branch work??
For type-hinting reason, we should set $location parameter in the constructor of WebSitemapItem class to null value which enables to use setLocation method from type-hinting
The sitemap is not ending with closing urlset tag. How to add one at the bottom?
How can i create subitems for alternate language pages? https://support.google.com/webmasters/answer/2620865?hl=en
Added support for gzip compression by adding `setGzip()` and `getGzip()` methods. Added instructions to `README.md`. Gzip compression is disabled by default.
-We need add main image for each content or url -sometimes if we use frameworks we don't need use $this->getDomain().$loc because for complicated url maybe in framework we have link...