Member
Member
Nico   2008-01-27, 12:59
#1

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

Thanks

Administrator
Administrator
acrylian   2008-01-27, 13:15
#2

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.

Member
Member
southdreamz   2008-04-04, 15:01
#3

Hello,
I'm also interested to generate sitemap.

thanks.

Member
Member
AlexWilson   2008-04-04, 15:18
#4

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.

Member
Member
AlexWilson   2008-04-05, 03:03
#5

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

Administrator
Administrator
acrylian   2008-04-05, 09:46
#6

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?

Member
Member
southdreamz   2008-04-21, 18:42
#7

Hello AlexWilson,

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

Member
Member
bill61   2008-05-01, 18:40
#8

hi AlexWilson

which lines to be modified pls?

thanks

Member
Member
macalter   2008-05-02, 19:48
#9

`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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.