RSS feed authentication #629

Closed
opened 2026-10-05 00:08:16 +02:00 by adam · 4 comments
Owner

Is it possible to add authentication to feed.php? Most of my albums are private, but I would still love for my family to be able to subscribe to the feed. Presently feed.php only works as guest, so the feed does not include new private albums.

Thanks, and thanks for Piwigo in general!

Is it possible to add authentication to `feed.php`? Most of my albums are private, but I would still love for my family to be able to subscribe to the feed. Presently `feed.php` only works as guest, so the feed does not include new private albums. Thanks, and thanks for Piwigo in general! <!-- github-sync-id:229037934 -->
adam closed this issue 2026-10-05 00:08:16 +02:00
Author
Owner

If you get a link to the feed in piwigo while logged as a user, it will
contain a user key.

On May 16, 2017 15:43, "Cătălin Frâncu" notifications@github.com wrote:

Is it possible to add authentication to feed.php? Most of my albums are
private, but I would still love for my family to be able to subscribe to
the feed. Presently feed.php only works as guest, so the feed does not
include new private albums.

Thanks, and thanks for Piwigo in general!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/682, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJRc9h11QHReyKTATgNZSokFuhwIiQbpks5r6afNgaJpZM4NchFs
.

If you get a link to the feed in piwigo while logged as a user, it will contain a user key. On May 16, 2017 15:43, "Cătălin Frâncu" <notifications@github.com> wrote: > Is it possible to add authentication to feed.php? Most of my albums are > private, but I would still love for my family to be able to subscribe to > the feed. Presently feed.php only works as guest, so the feed does not > include new private albums. > > Thanks, and thanks for Piwigo in general! > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/682>, or mute the thread > <https://github.com/notifications/unsubscribe-auth/AJRc9h11QHReyKTATgNZSokFuhwIiQbpks5r6afNgaJpZM4NchFs> > . > <!-- github-comment-id:301794687 -->
Author
Owner

That is not what I am seeing. On 2.8.6, after logging in as two different users, I visit feed.php but the feeds only include public albums. 2.9.0 does the same, with some deprecation warnings: Methods with the same name as their class will not be constructors in a future version of PHP; FeedHtmlField has a deprecated constructor in /.../piwigo/include/feedcreator.class.php on line 275

Am I doing something wrong?

That is not what I am seeing. On 2.8.6, after logging in as two different users, I visit `feed.php` but the feeds only include public albums. 2.9.0 does the same, with some deprecation warnings: _Methods with the same name as their class will not be constructors in a future version of PHP; FeedHtmlField has a deprecated constructor in /.../piwigo/include/feedcreator.class.php on line 275_ Am I doing something wrong? <!-- github-comment-id:301809166 -->
Author
Owner

Don't visit directly. From menubar there is a link RSS notification. You
will find there the rss feed link specific to the connected user.

On May 16, 2017 16:57, "Cătălin Frâncu" notifications@github.com wrote:

That is not what I am seeing. On 2.8.6, after logging in as two different
users, I visit feed.php but the feeds only include public albums. 2.9.0
does the same, with some deprecation warnings: Methods with the same name
as their class will not be constructors in a future version of PHP;
FeedHtmlField has a deprecated constructor in
/.../piwigo/include/feedcreator.class.php on line 275

Am I doing something wrong?

—
You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/682#issuecomment-301809166, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJRc9ovUCB-WjPV03ZWiWeHTB2Si7PPvks5r6blPgaJpZM4NchFs
.

Don't visit directly. From menubar there is a link RSS notification. You will find there the rss feed link specific to the connected user. On May 16, 2017 16:57, "Cătălin Frâncu" <notifications@github.com> wrote: That is not what I am seeing. On 2.8.6, after logging in as two different users, I visit feed.php but the feeds only include public albums. 2.9.0 does the same, with some deprecation warnings: *Methods with the same name as their class will not be constructors in a future version of PHP; FeedHtmlField has a deprecated constructor in /.../piwigo/include/feedcreator.class.php on line 275* Am I doing something wrong? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/Piwigo/Piwigo/issues/682#issuecomment-301809166>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AJRc9ovUCB-WjPV03ZWiWeHTB2Si7PPvks5r6blPgaJpZM4NchFs> . <!-- github-comment-id:301810343 -->
Author
Owner

Ah, beautiful, thanks! I had hidden most of my menus from Admin -> Configuration -> Menus, so the link was invisible to me. Works as a charm now.

May I suggest that the same user-specific link also be printed in the HTML as a <link rel="alternate" ...> tag. Most RSS readers will then be able to subscribe using the homepage directly.

Ah, beautiful, thanks! I had hidden most of my menus from _Admin -> Configuration -> Menus,_ so the link was invisible to me. Works as a charm now. May I suggest that the same user-specific link also be printed in the HTML as a `<link rel="alternate" ...>` tag. Most RSS readers will then be able to subscribe using the homepage directly. <!-- github-comment-id:301823527 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#629