Skip to content

New option to automatically mark as read gone articles#4426

Merged
Alkarex merged 2 commits intoFreshRSS:edgefrom
Alkarex:auto-mark-as-read
Jun 25, 2022
Merged

New option to automatically mark as read gone articles#4426
Alkarex merged 2 commits intoFreshRSS:edgefrom
Alkarex:auto-mark-as-read

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Jun 21, 2022

Option (off / disabled by default) to automatically and immediately mark as read entries / articles that are no longer provided in their upstream RSS / ATOM / XPath feed

Option to automatically and immediately mark as read entries / articles that are no longer provided in their upstream RSS / ATOM / XPath feed
@Alkarex Alkarex added this to the 1.20.0 milestone Jun 21, 2022
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Jun 21, 2022

image

image

I have slightly reordered a couple of options to have them in the same order on both the global and feed-local pages.

Optimisation: Perform cache update only once
public function keepMaxUnread() {
$keepMaxUnread = $this->attributes('keep_max_n_unread');
if ($keepMaxUnread == false) {
if ($keepMaxUnread === null) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor bug fixed regarding the keep max unread policy

@math-GH
Copy link
Copy Markdown
Contributor

math-GH commented Jun 22, 2022

What could be a user story of this feature?

@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Jun 22, 2022

What could be a user story of this feature?

  • My main own usecase (for work) is to track some job position openings, by RSS or by XPath. When the jobs positions are no longer open, they disappear from the RSS feed and/or the HTML page (through XPath). With this option enabled, only the current job openings are shown in FreshRSS.

  • Another usecase I have (private) is to track a Web page with a list of episodes from a TV series. When an episode is no longer available, it disappears from the HTML page (through XPath). With this option enabled, only the still-available episodes are shown in FreshRSS.

  • It also allows using FreshRSS in a way similar to RSS-Bridge by re-sharing by RSS the XPath extraction of an HTML page, which stays in sync thanks to this option (I need to implement a new security token mechanism to make that truly relevant).

  • It might be used to reduce information overload - one user in my family is only interested in reading the top / most recent news and gets scared away when there are too many unread articles :-P

  • Finally - although this is not something I use myself - it is also relevant for an anonymous FreshRSS instance where nobody actively mark articles as read, ensuring that only current news are shown.

I hope that makes sense?

@math-GH
Copy link
Copy Markdown
Contributor

math-GH commented Jun 23, 2022

Great. That is very cool and useful.

@Alkarex Alkarex merged commit d785ddd into FreshRSS:edge Jun 25, 2022
@Alkarex Alkarex deleted the auto-mark-as-read branch June 25, 2022 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants