![]() |
|
RSS feed with authentication - 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: RSS feed with authentication (/thread-3995.html) |
RSS feed with authentication - HannesE - 2008-10-31 Hi out there, I couldn't find out how to use an rss feed on zenphoto with user authentication. Thanks, RSS feed with authentication - acrylian - 2008-10-31 The feeds do not support that. You need to modify the feed yourself. RSS feed with authentication - HannesE - 2008-10-31 acrylian, RSS feed with authentication - acrylian - 2008-10-31 Correct, it is simply not implemented. The feed just does not show items from protected albums. RSS feed with authentication - HannesE - 2009-12-30 Does this made any progress? Is it implemented yet? Thanks again for the great product. I really enjoy it. RSS feed with authentication - acrylian - 2009-12-30 No, it's not on our list as we didn't we get any other request than yours. Feel free to open a feature request ticket. Quote:How would I modify the feed? Is it possible to put the password in the URL directly? RSS feed with authentication - xtonda - 2011-06-21 Hi, any progress on this? If not, please can you provide a hint how to implement passing user and password as parameter in RSS url? Anyway, RSS on protected content behaves strange. I am logged as Master admin in Firefox. When I click on RSS on homepage, RSS contains all images, when I click RSS when browsing album I get empty stream. RSS feed with authentication - xtonda - 2011-06-21 Forgot to write I am using Zenphoto version 1.4.0.4 [7122] RSS feed with authentication - acrylian - 2011-06-21 Please try the night build (That soon becomes 1.4.1). We don't implement authentification in RSS feeds. You would have to pass the user id and password via URL which is clearly not a good idea. Normally RSS feeds are called outside the site environment itself so protected and unpublished items are not included. If you call it on a browser itself while being logged in you of course see all items you have the rights to see. RSS feed with authentication - xtonda - 2011-06-21 I added following code at the beggining of rss.php $_zp_current_album = new Album(new Gallery(), $_GET['album']); $authType = "zp_albumauth" . $_zp_current_album->get('id'); $check_auth = $_zp_current_album->getPassword(); $check_user = $_zp_current_album->getUser(); if (isset($_GET['pass']) && isset($_GET['user'])) {
} ` URL in following form is working now for protected albums, which is enough for me: http://zp.andrs.net/index.php?rss&album=&user=&pass= RSS feed with authentication - acrylian - 2011-06-21 You could submit a ticket if you like. Maybe we add that sometime. (of course this covers only one of the 3 rss feeds available). |