Accessing RSS Feeds in Gallery 1.5/phpBB2 2.0.15

sparker

Joined: 2004-02-18
Posts: 27
Posted: Wed, 2005-05-11 14:03

I've got what I hope is a quick question:

I embedded Gallery 1.5 in phpBB2 2.0.14, and once I log in to phpBB2, it's working great. Gallery is using phpBB's authentication to allow users access to the albums, and things appear "cool" (although I'd love a way to be able to use "group membership" to control access to specific albums, but that's another story).

Anyway, once I've logged in, I can go to "...phpBB2/gallery/rss.php" and see an xml doc of all the current album info.

However, if I'm not logged in to phpBB2, that link returns an "empty gallery" xml file.

My question is this: If I have an RSS application that can supply user names and passwords to specific feeds, how can I pass this username/pw pair to "rss.php" to it will generate a complete list of albums and changes?

I've posted this to snailsource forum and their response was:

Quote:
The problem you are going to have there is security...

Rss isn't going to be reading your cookies so the autologin side of things in phpbb2 isn't going to work... and anything that sends your login and password via the URL is NOT a good idea..

My recommendation would be to read up on RSS feeds and see if anyone has found a way to authenticate through RSS at all, then see how you can apply those rules..

Overall though this is something more related to Gallery itself in terms of a feature request although I would be interested to hear of any results you get.

I'll start some research on RSS feeds, and will post any answers here. Has anybody else here already solved this one? Or provide more information on how to solve this?

TIA, Steve