sitemap

SiteMap php class

2 simple class for sitemap:

http://www.smartango.com/sites/default/files/sitemap.txt

simple use:

{syntaxhighlighter brush:php}
$root = $_SERVER['DOCUMENT_ROOT'];
$sm = new SiteMap($root,'sitemap-1.xml');
$sm->start();
$http = "http://www.example.com";
$sm->addUrl($http."/file.html");
$sm->end();
{/syntaxhighlighter}

...SiteMapIdx similar