[wp-hackers] Sitemap XML with class
viper at viper007bond.com
Fri Dec 19 07:59:49 GMT 2008
I meant making the sitemap itself is easy. Getting a list/array of every
single page is the hard bit.
On Thu, Dec 18, 2008 at 11:59 PM, Viper007Bond <viper at viper007bond.com>wrote:
> That isn't GPL, or at least it doesn't specifically say it is.
> Making a sitemap is really easy anyway.
> On Wed, Dec 17, 2008 at 12: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
>> 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
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
More information about the wp-hackers