[wp-hackers] Sitemap XML with class

Frank Bueltge frank at bueltge.de
Wed Dec 17 08:04:59 GMT 2008

On of the new ideas for 2.8 is the include of create sitemap.xml in the core.
Maybe it is an idea to use the php-class:

The class is very easy to use. example:
$map = new SiteMap('sitemap.xml');
$map->addPage('http://my-site.com/page.html', 'daily', 1);
$map->addPage('http://my-site.com/page2.html', 'daily', 0.8);
$map->addPage('http://my-site.com/page3.html', 'daily', 0.7);

Best regards

More information about the wp-hackers mailing list