[wp-hackers] Sitemap XML with class

Viper007Bond 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
>> 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
>>
>
>
>
> --
> Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list