Member
Member
bpetruzzo   04-03-2008, 06:08
#1

I got my website all figured out with Zenphoto; I'm using a modified version of simple+ (Which is excellent), but it doesn't seem that it has included RSS at all. I'm wondering if it would be fairly simple to add RSS to this theme, and if so if I could be pointed in the right direction.

Thanks! :)

Administrator
Administrator
acrylian   04-03-2008, 10:14
#2

Take a look at the default theme for example, it's really simple. You just have to copy the rss functions over. (the part from index.php is for the whole gallery, the part of album.php/image.php for the current visitited album).
For further details on that functions take a look at our functions guide on zenphoto.org

Member
Member
bpetruzzo   04-03-2008, 19:29
#3

Cool, thanks. I'll grab a look at it. I'm a pretty big duface with code, so I'll do my best.

Member
Member
bpetruzzo   05-03-2008, 20:13
#4

It was pretty easy to add RSS to the simple+ theme, but I have another problem now. Because the simple+ theme uses a lightbox script, the RSS feed tries to link to an an image that doesn't have template information to display and so it doesn't look so good. I'd like to change it so that clicking on the link in an RSS reader will link a person to the album instead of directly to the image. Does anyone know how I can do this?

I'm looking at the rss.php script, but I'm just not good enough at php to know how to change the code to make it work. Any help?

Administrator
Administrator
acrylian   05-03-2008, 20:26
#5

That is relativly easy. Take a look the section and modify it the following way:
`

`

Member
Member
bpetruzzo   09-03-2008, 21:28
#6

Thanks! That worked great! :)

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