$sitemapFileName : string
Name of sitemap file
$createGZipFile : boolean
If true, two sitemap files (.xml and .xml.gz) will be created and added to robots.txt.
If true, .gz file will be submitted to search engines. If quantity of URLs will be bigger than 50.000, option will be ignored, all sitemap files except sitemap index will be compressed.
addUrl(string $url, string $lastModified = null, string $changeFrequency = null, string $priority = null)
Use this to add single URL to sitemap.
When it was modified, use ISO 8601
How often search engines should revisit this URL
Priority of URL on You site
submitSitemap(string $yahooAppId = null) : array
Will inform search engines about newly created sitemaps.
Google, Ask, Bing and Yahoo will be noticed. If You don't pass yahooAppId, Yahoo still will be informed, but this method can be used once per day. If You will do this often, message that limit was exceeded will be returned from Yahoo.
Your site Yahoo appid.
of messages and http codes from each search engine