A Sitemap for Plogger

I spent a decent amount of time looking for a sitemap generator for Plogger. After a lengthy, fruitless search, I decided to take a stab at building my own. It checked out OK with Google, so I thought I would share it to see if anyone else had ideas.

This sitemap maps all collections, albums, and pictures. This version assumes that .htaccess is enabled for nice URLs, but it would be a quick rewrite to have it work without nice URLs. It would be a long rewrite to check if mod_rewrite was enabled, but that could be done, too.

Plogger Sitemap Version 0.1

5 thoughts on “A Sitemap for Plogger

  1. Hey, I’ve been looking around trying to find a way to build a sitemap for Plogger and your solution looks great!

    I was just wondering if you might have some idea as to how it could be adapted to output a listing in HTML instead of XML?

    Thanks!

    Steve
    [email address redacted]

  2. All you need to do to change the output type to HTML is to change the Content Type in the head of the file and replace the XML tags with HTML tags. I am not sure how you are wanting to format the HTML output, but if you have any more questions, please don’t hesitate to ask. 🙂

  3. I assume you’re the R of R.J. Carpenter? I got it all figured out but I don’t think I ended up using your sitemap very much, once I hacked it all apart. I got sort of a fit of inspiration, so I don’t exactly recall the steps taken to get from your template to the finished product. 😛 You can see the result here:

    http://www.oxidephoto.ca/sitemap.php

    I’m sure

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.