Zenphoto Sitemap 1.0.1

I have updated my Zenphoto Sitemap plugin with two minor fixes.

The first change is that there won't be specified any priorities in the sitemap at all, since the priorities only matter against other URLs in the same exact sitemap (ie. not site-wide). The plugin will have to be rewritten to have all URLs in the same sitemap in order to make use of priorities. As I haven't experienced any need to specify the priority, it is simply left out and then the URLs are assigned the default priority (0.5) by the search engines.

The other change is that an appropriate header is now sent out together with the sitemap, which specifies that we are serving an XML file. This causes the browser to interpret the sitemap correctly, and will probably also help out with search engines which may require this. Thanks goes to Adrien Gibrat who suggested this.

You can see the updated sitemap in action on my gallery, and if you just want to download the new version, then go to the zenphoto-sitemap page.

Comments

6 Responses to “Zenphoto Sitemap 1.0.1”

  1. suxab on February 25th, 2009 20:52

    Hi Tenzer!

    This is a great plugin for zenphoto, but the generated sitemap is not respecting zenphoto`s seo rewriting rules.

    for example:
    http://wallpaperstock.sk/?sitemap=100
    there are url`s with spaces:

    http://wallpaperstock.sk/Celebrities/Charlize Theron/Charlize Theron - Wallpaper (10).jpg.php

    while in zenphoto thees spaces are replaced whith "+".
    the url generated in zenphoto is:
    http://wallpaperstock.sk/Celebrities/Charlize%20Theron/Charlize+Theron+-+Wallpaper+(10).jpg.php

  2. Tenzer on February 26th, 2009 00:10

    Hi suxab

    I can see the problem, and I think I have solved it in the following version:
    http://tenzer.dk/uploads/zenphoto-sitemap-1.0.2.zip

    Could you please try it out and get back to me if that is working?
    If it does, then I'll make an official update to the new version.

    /Tenzer

  3. suxab on February 26th, 2009 09:00

    Hi Tenzer,

    it looks like zenphoto rewrite just the image name, not the full url.

    The same url like above with zenphoto-sitemap-1.0.2:
    http://wallpaperstock.sk/Celebrities%2FCharlize+Theron/Charlize+Theron+-+Wallpaper+%2810%29.jpg.php

    note: the slash after Celebrities is replaced with "%2F" and () are replaced with "%28", "%29"

    thees urls retuns 404

    thanks,
    suxab

  4. Tenzer on February 26th, 2009 16:29

    Hi again suxab

    I see the issue, and I can see that the URL works if you just replace '%2F' with a slash.
    I have updated the file I linked to before with a new version (http://tenzer.dk/uploads/zenphoto-sitemap-1.0.2.zip), which should be working correctly then - it at least does when I test :)

    The parentheses should still be URL encoded as before, as I believe that would be the correct way to do it.

    /Tenzer

  5. suxab on February 26th, 2009 21:27

    Ahoj!

    Yes, it rocks!
    Many thanks,
    suxab

  6. Tenzer on February 26th, 2009 21:47

    Cool, I have officially released the new version now: http://tenzer.dk/zenphoto-sitemap-102

    /Tenzer

Leave a Reply