Skip to content

A pure PHP class that allows add or remove automatically pages from your sitesmap and generate your sitemap index too, anytime you create a new one

License

Notifications You must be signed in to change notification settings

neoligero/Simple-Sitemap-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Sitemap-Generator

Author: Neoligero Web: http://www.neoligero.com

A pure PHP class that allows add or remove automatically pages from your sitesmap and generate too your sitemap index, anytime you create a new one

Usage:

include($_SERVER["DOCUMENT_ROOT"]."/simplySitemapGenerator/sisigen.php");

$ssg = new \SimpleSitemapGenerator\Sisigen();

$ssg->addSite( "http://www.newsite.com/newpos/id", "0.8" );

FAQs:

You need to put the 4 classes files in the same directory to work.

It generates a sitemap.xml (index) and all necesarys sitemap1.xml, sitemap2.xml with 500 urls each one.

For work it has to have the same format of http://www.sitemaps.org/, or you can use it without files, and it will generate the files it needs.

Care when you use it, becouse it can delete your currents sitemaps if you dont have the same format.

About

A pure PHP class that allows add or remove automatically pages from your sitesmap and generate your sitemap index too, anytime you create a new one

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages