Zenphoto Sitemap plugin

2»

Comments

  • acrylian Administrator, Developer
    Yes
  • timo Member
    It looks like there's been a lot of development on this in the last couple weeks, so I'm a little late to the game. I wrote a revision to the original plugin to implement page, news, album, and image support and have the lastmod report the last updated change or the latest comment. Here's what I have:

    http://t413.com/news/zenphoto-site-map-seo

    I hope it's still somewhat relevant, and I'd be happy to help with improving it more. I've debugged it with google's sitemap evaluation tool.
  • acrylian Administrator, Developer
    Well, especially as my version will be official now...;-) Anyway, there is room enough. Of course I am also open for feedback on my version. Joing forces to make the ultimate general Zenphoto sitemap plugin is also an option of course.

    I have rougly looked at it:
    - Most important first: Your version misses a proper password check for password protected albums. Checking for "password = ''" in the query is not enough as sublevel albums inherit from toplevels!
    - If I am not mistaken <sitemap> is meant only for grouping sitemaps of several site in one file. You use it for every single link? Well, I guess one of these SEO tricks...;)
    - You do not support the renaming of the Zenpage theme files. There are constants available.

    You might want to look at my version as you do some stuff like the path encoding for slashes or rewrite/none rewrite link we have already convenient functions for.

    Using lastchange for pages/articles is a good idea. I forgot about thattotally, I will add that to mine, too.

    Update: You might want to note that your plugin is PHP 5.1.1+ only because of the date constant DATE_W3C.
Sign In or Register to comment.