Zenphoto plugin: Zenphoto Sitemap

Posted on November 26, 2008. Reading time: 1 minutes

I have been coding a bit the last couple of days on a plugin for the gallery system Zenphoto. I wasn't very happy with how the images from my gallery where indexed, and I couldn't find any other decent coded sitemap generators for Zenphoto, so I decided to create one myself.

The result is a one-file plugin for Zenphoto, which is being activated by putting ?sitemap in the URL for your Zenphoto gallery. When that is in the URL, a sitemap index will be generated, pointing to a new sitemap for each album in the gallery, which then contains links for each image in the album. The result is a sitemaps.org compatible sitemap structure which can be used with several search engines, ie. Google, Bing among many others.

You can find more information about the plugin on GitHub. Enjoy!