Possible to hide a Category (or feed) from 'Fresh Articles'?

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Possible to hide a Category (or feed) from 'Fresh Articles'?

Postby mikkelnl » 03 Jul 2013, 11:18

Hello,

I can find a few threads about a similar subject, but none seem to discuss this:

I have a category setup, in which I have a few feeds. These feeds are non-essential to me, and I would like to hide them from the 'Fresh Articles' section. And I'd only like to check them manually by clicking on the category.

As far as I can tell, this is not possible right? So I would like to automatically let TT-RSS refresh the feeds, but simply not show them in 'Fresh Articles'.

tbar
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 16 Apr 2013, 09:39

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby tbar » 03 Jul 2013, 11:24

Have you tried this: Edit Feed -> Options -> Hide from Popular feeds

mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby mikkelnl » 03 Jul 2013, 11:29

tbar wrote:Have you tried this: Edit Feed -> Options -> Hide from Popular feeds

Yes, but as I understand, the 'Popular feeds' option hides it from exported feeds or something, I believe this is explained somewhere on this boiard ;)

So in short; yes tried it, but no, seems to have a different meaning :)

oiboddl
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 03 Jul 2013, 11:35

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby oiboddl » 03 Jul 2013, 11:38

I am interested in the same thing. I have also tried to exclude feeds from the "popular feeds", but the feeds still showed up in the fresh articles. So this option does not help here.

I have also got the impression, that there is no way to prevent some feeds to show up in the fresh articles. :?

eswald
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 03 Jul 2013, 23:25

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby eswald » 03 Jul 2013, 23:49

I'm tempted to implement this. It looks like implementing this as a new per-feed preference involves:

  • A new column on the ttrss_feeds table, created by files in schema/versions/{my,pg}sql/$VERSION.sql, bumping SCHEMA_VERSION in include/functions.php and probably reloading schema/ttrss_schema_{my,pg}sql.sql;
  • A new checkbox in the feed edit page, shown by classes/pref/feeds.php::editfeed() and ::editfeeds(), then saved by js/prefs.js::editSelectedFeeds() and classes/pref/feeds.php::editsaveops(); and
  • Query modifications for $feed number -3 in include/functions.php::catchup_feed(), ::getFeedArticles(), and ::queryFeedHeadlines().

Total: two new and five modified files. Am I missing anything?

User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby LifeWOutMilk » 04 Jul 2013, 01:33

Why not use Scoring?

mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby mikkelnl » 04 Jul 2013, 10:59

LifeWOutMilk wrote:Why not use Scoring?

Could you explain a bit more? I can't (yet) see how scroing would make it possible to hide a category of feeds from Fresh Articles?

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby sleeper_service » 04 Jul 2013, 11:19

mikkelnl wrote:
LifeWOutMilk wrote:Why not use Scoring?

Could you explain a bit more? I can't (yet) see how scroing would make it possible to hide a category of feeds from Fresh Articles?


should I mock you for not reading the wiki page on scoring, or were you confused by this line:

<0 Score indicator is half-filled dark, 1.5.0: article is excluded from Fresh feed and (as of 1.5.10 also excluded from email digest)

User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby LifeWOutMilk » 04 Jul 2013, 11:25

Create a filter matching the category you want to exclude from Fresh feeds and give all articles in that category a negative score. This will keep it out of the Fresh feeds category.

ttrss exclude from fresh feeds.png
ttrss exclude from fresh feeds.png (11.85 KiB) Viewed 4945 times

mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby mikkelnl » 04 Jul 2013, 11:31

sleeper_service wrote:
mikkelnl wrote:
LifeWOutMilk wrote:Why not use Scoring?

Could you explain a bit more? I can't (yet) see how scroing would make it possible to hide a category of feeds from Fresh Articles?


should I mock you for not reading the wiki page on scoring, or were you confused by this line:

<0 Score indicator is half-filled dark, 1.5.0: article is excluded from Fresh feed and (as of 1.5.10 also excluded from email digest)

:roll:

:lol:

Dude, yeah I missed that, maybe because English isn't my native language, and yeah sure you may mock me if that makes you feel less annoyed by this thread or my posts... :wink:

LifeWOutMilk wrote:Create a filter matching the category you want to exclude from Fresh feeds and give all articles in that category a negative score. This will keep it out of the Fresh feeds category.

ttrss exclude from fresh feeds.png

THANK you! :)

User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby LifeWOutMilk » 04 Jul 2013, 18:56

Actually it looks like you might need to use

Code: Select all

.*
for the search expression instead of just

Code: Select all

*

four2six
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 30 Jun 2013, 12:24

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby four2six » 04 Jul 2013, 19:25

i don't get this to work completely.
i chose ".*" on Title in the according feed. I did this for multiple feeds.
Action is "Modify score: -1"
"Enabled" and "Match any rule" are ticked.
Logged out, back in.

Still, some of the feeds appear in fresh articles. Does this only apply to new articles since the filter?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby fox » 04 Jul 2013, 19:43

try reading the wiki

four2six
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 30 Jun 2013, 12:24

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby four2six » 04 Jul 2013, 19:48

thx

the wiki says "<0 Score indicator is half-filled dark, 1.5.0: article is excluded from Fresh feed and (as of 1.5.10 also excluded from email digest)"

i give the article a -1. so that should exclude it from the fresh articles list. but it doesn't.

User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: Possible to hide a Category (or feed) from 'Fresh Articl

Postby LifeWOutMilk » 04 Jul 2013, 20:11

It won't apply to articles that were previously imported, only on new articles. You can manually assign a score to articles that have been previously imported if you like.

Also, you can verify that you have the correct search expression by using the Test button in the Edit Filter dialog.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 10 guests