sp1ff/elfeed-score

Score based on link content

TheLugal opened this issue · 6 comments

Is there a way to score based on the link of an entry?

For clarity:
Say I subscribe to the feed example.com/feed.rss that contains items that links to articles like example.com/news/content.html and example.com/sports/content.html. Can I in this instance have one score for news-links and another for sports-links?

sp1ff commented

Hi there. Trying to understand the ask: do you mean you want to score against the "Link:" contents when you show an entry? Like this:

Title: Fooblah
Author: [unknown]
...
Link: https://www.google.com/?url=...

Blahblahblah
mode line: elfeed-entry

If so no, but only because no one's asked-- it'd be easy to whip up. Let me know

Hello! Yes, I believe we're on the same page. I'd be very grateful if it isn't too much of a hassle to add in. :)

sp1ff commented

Not at all... I've got some other changes in flight (as well as a day job), but will try to get to it in the next week or so.

sp1ff commented

Alright well, it was a bit more than a week, but the latest release lands this @TheLugal -- take a look & tell me if this works for you!

Oh, sorry, I missed your previous reply!

That was quicker than I anticipated. I won't have the time to upgrade before the weekend, but from the commit it seems to be exactly what I was looking for. Thanks for adding it in!

sp1ff commented

Closing this in light of #14