ZenphotoCMS Forum
sitemap - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: sitemap (/thread-2153.html)



sitemap - Nico - 2008-01-27

Hello,
how add a sitemap to zenphoto?
Does this function exist yet?

Thanks




sitemap - acrylian - 2008-01-27

No, we don't have a site map, but you could use the print_album_menu which is located in zp-core/plug-ins. For usage please see the functions guide.




sitemap - southdreamz - 2008-04-04

Hello,
I'm also interested to generate sitemap.

thanks.




sitemap - AlexWilson - 2008-04-04

I think people might be talking about different things. Are you talking about an HTML links site map, or a Google format sitemap.xml?

sitemap.xml generation is on my to-do list for my own site's gallery, hopefully I can have something soon. The print_album_menu looks like a very good starting point for it.




sitemap - AlexWilson - 2008-04-05

http://alexwilson.dyndns.org/filez/sitemap_gallery01.zip

v0.1


very minimal and initial version of a Sitemap XML generator for ZenPhoto


by Alex Wilson -- http:///alexwilsonphoto.com/



usage:


- Set the ZENFOLDER and WEBPATH variable below to match your installation


- Place this file in the root of your website



Note:


- This currently only creates entries for the root gallery and albums/subalbums, but not images


- Unpublished albums will not be listed


- Password protected albums currently will be listed




sitemap - acrylian - 2008-04-05

If you develop that further, maybe you could set up a page for it, so that we can link from our extensions page to it?




sitemap - southdreamz - 2008-04-21

Hello AlexWilson,

This is what i need. This is very good start. Thanks for your hard work.




sitemap - bill61 - 2008-05-01

hi AlexWilson

which lines to be modified pls?

thanks




sitemap - macalter - 2008-05-02

`This page contains the following errors:

error on line 2 at column 1: Extra content at the end of the document

Below is a rendering of the page up to the first error.`

is the error I got when I copied in the code to "sitemap.php" and put in my root directory. For ZENFOLDER, I left as is. For WEBPATH I entered my domain of my ZP installation.