php-sitemap-generator
php-sitemap-generator copied to clipboard
A simple PHP sitemap generator.
Notice: Trying to access array offset on value of type bool in /webser/verlibs/icamys/php-sitemap-generator/src/SitemapGenerator.php on line 647 Fatal error: Uncaught RuntimeException: failed to run curl_exec, error: Could not resolve host: submissions.ask.com...
Hello, I am using your sitemap generator for project I am working on and I have an issue with alternate URLs. When I create sitemap with alternate URLs, in browser...
Hi, thanks for the library, works great, but I have small issue: Even though my site base url is "site.com" and every link inside of sitemaps generated correctly but in...
Is there a way of submitting an existing(just pass in filename or content as string) sitemap? If so, please provide an example.
Hi, The function htmlspecialchars($loc, ENT_QUOTES) no need be call because xmlWriter already convert special characters and was small bug with & (ampersand ). For example when add URL with `&`...
Hi, As per Google specification for [image sitemaps](https://developers.google.com/search/docs/advanced/sitemaps/image-sitemaps), it is possible to have multiple images (up to 1000) for a single page. You may find the example below: ``` http://example.com/sample1.html...
Hi, I've added a PR to allow the selected stylesheet to be applied to the sitemap index in addition to the sitemap itself. (it' just a 4-line cut/paste) Unless there's...
If we've applied a stylesheet to the sitemap itself, not sure it makes an sense "not" so apply it to the index, unless there were a specific feature to add...
Having this code: ```php $config = new Config(); $config->setBaseURL( $host ); $config->setSaveDirectory( static::SITEMAP_DIR ); $generator = new SitemapGenerator($config); $generator->setMaxUrlsPerSitemap( 50000 ); $generator->setSitemapIndexFileName( 'sitemap.xml' ); $generator->setSitemapFileName( 'sitemap-item-.xml' ); foreach( range( 0,...
I have tried with [Codeigniter4] (https://codeigniter.com/), but it is not working No error, no sitemap files in codeigniter4 public folder