You are not logged in.
Hello everybody,
whenever I run newsboat I am using the R option to reload my feeds. Lately a couple of feeds started to give me errors while reloading. I checked the urls and it turns out the domains are not active anymore because the author changed his domain name. I subscribed to the new domain to get the new feeds. I want to keep the already downloaded articles from the old domains without reloading the inactive feeds. Though I went through the man pages I could not find how to skip reloading inactive feeds.
Any suggestions are appreciated!
Thank you in advance!
Last edited by amaro (2020-05-02 16:28:44)
Offline
? help
r reload Reload currently selected feed
R reload-all Reload all feeds
Edit: Oops. I misunderstood.
Last edited by latalante1 (2020-05-02 10:50:38)
Offline
Lower r should work but I will have to manually select more than 90 feeds every time. I am looking for more elegant solution.
Offline
Maybe something like this will be useful.
Tag all these unavailable URLs.
http://techblog.com/rss/ fail
http://oldblog.org/rss/ failIn the newsboat configuration set:
reload-only-visible-feeds yes
define-filter "all feeds except 'fail' tag" "tags !# \"fail\""Under the 'f' key you have a filter defined to exclude bad links, pressing 'R' refreshes only visible feeds.
Edit:
You can 'transpose' newsboat sqlite base and urls file. See here:
https://github.com/newsboat/newsboat/bl … tenance.sh
Being cautious with a full backup.
sed -i 's|oldurl|newurl|' urls
sqlite3 cache.db "update rss_feed set rssurl='newurl' where rssurl = 'oldurl' ; update rss_item set feedurl='newurl' where feedurl='oldurl'"Last edited by latalante1 (2020-05-02 15:47:58)
Offline
Excellent suggestion! Works flawlessly!
Thank you, latalante1!
Offline