Module Name: Google-Site-Map
Author: Ernest Buffington
Core: PHP-Nuke Titanium v3.0.1a <> v4.0.0b
The original sitemap was an abandoned project and idea, not by me but whoever was working on it originally. The new one is awesome and works great. I'm not sure people really understand how important this little module is. Contrary to popular belief, this is an important part of being found on the internet. The class.sitemap.php file can be found in the includes/classes directory.
I used some of the old code, not much just a few lines here and there, and the old sitemap's admin panel is the same.
This uses sitemap 0.9
The new Google Site Map Generator works better than just about anything I have seen. You will need to delete the old sitemap.xml file that is in the root directory of your portal/website as it is no longer used. The new sitemap.xml file is generated in the xmls/sitemap folder. This is not the file you tell google to look at.
You will need to point Google to your sitemap-index.xml file which resides in that very same directory.
You will do this by telling Google where the file is at like so https://yourwebsite.com/xmls/sitemap/sitemap-index.xml
You can do so by going here https://search.google.com/search-console?resource_id=sc-domain:yourdomain.com
I used a fast and lightweight class for generating Google-Site-Map XML files and index of sitemap files. Written in PHP and uses XMLWriter extension (wrapper for libxml xmlWriter API) for creating XML files. XMLWriter extension is enabled by default in PHP 5 > = 5.1.2. If you have more than 50000 URLs, it will split items into separated files. (In benchmarks, 1.000.000 URLs were generating in 8 seconds) The version we are using is a slightly modified version of the original.
The Sitemap class is now added to a SitemapPHP namespace.