[wp-hackers] Sitemap XML with class
Otto
otto at ottodestruct.com
Fri Dec 19 15:02:26 GMT 2008
Why have this in core? Arne's generator plugin works perfectly.
On Wed, Dec 17, 2008 at 2:04 AM, Frank Bueltge <frank at bueltge.de> wrote:
> 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:
> http://www.phpclasses.org/browse/package/5031.html
>
> 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);
> $map->create();
>
> Best regards
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list