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.
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.
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'])) {
$post_user = sanitize($_GET['user']);
$post_pass = sanitize($_GET['pass']);
$auth = $_zp_authority->passwordHash($post_user, $post_pass);
$success = ($auth == $check_auth) && $post_user == $check_user;
$success = zp_apply_filter('guest_login_attempt', $success, $post_user, $post_pass, $authType);
if ($success) {
zp_setcookie($authType, $auth);
}
}
`
URL in following form is working now for protected albums, which is enough for me: