Google have released yet another beta, this ones called Sitemaps, it’s basically an xml file on your website which helps google make better use of theirs and your resources when spidering your site. Danny Sullivan has a more indepth review of Sitemaps.

Michael Nguyen has created some php code to generate wordpress Sitemaps dynamically. I’ve now extended this so that the script also generates links to your categories. Here’s my modified wordpress sitemap generator and here is my sitemap generators output.

My additions are added at the bottom of the xml document. At the minute it doesn’t add a last-modified () tag, I suppose I could find out the last modified date of all the posts in the category…

Update: I’ve now added support for pages and made categories use a trailing slash. Get it from the same location as above.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: