Member
Member
tagquestion   2009-06-24, 21:09
#1

for the life of me i can't figure this out.

i want to get an RSS feed from my zenphoto that is based on a query for any tag. like lets say i have 20 random images all tagged with the word "monster". I want to return an RSS feed for all images with that tag monster.

i know you can generate an RSS feed for any specific photo album, which is nice, so is there a way to do it by tags? this is incredibly important for me.

the reason is, i have 4 categories.. and each category is going to have photo albums in it. i need a way to categorize all my photo albums, so I'm using 4 tags, but i have no way to get the RSS feed using the tags..

Administrator
Administrator
acrylian   2009-06-25, 08:20
#2

Our rss feeds simply do not use tags. You would have to write your own rss feed for that.

Member
Member
tagquestion   2009-06-30, 12:07
#3

I'm looking at the RSS.php but this is way over my head. Is this a little script someone could whip up for me? Basically just allowing me to supply like

rsstag.php?tag=SomeWord

and get all albums with that tag?

Member
Member
tagquestion   2009-06-30, 12:14
#4

in fact, i'm using phpAdmin and browsing through the SQL database, and even though I added tags to my photo albums... I'm looking at the zp_albums structure and results and theres not a single mention of tags anywhere.. so how are tags being associated with albums in the database and where?

Administrator
Administrator
acrylian   2009-06-30, 12:18
#5

Tags are stored in the "tags" table and their relation to albums/images in the "obj_to_tag" table.

You still need to make your own rss feed.

Member
Member
tagquestion   2009-06-30, 12:57
#6

okay. I just lack the PHP knowledge to pull this off, that is.. looping through obj_to_tag to find every album ID attached to a tagID and then returning those albums in an rss feed.

so if theres anyone out there who can help with this.. i'd be indebted to you.

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