summaryrefslogtreecommitdiff
path: root/home/xyz/.config/newsboat
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.config/newsboat')
-rw-r--r--home/xyz/.config/newsboat/config13
-rw-r--r--home/xyz/.config/newsboat/urls8
2 files changed, 18 insertions, 3 deletions
diff --git a/home/xyz/.config/newsboat/config b/home/xyz/.config/newsboat/config
index 1e8ddf64..3bfadf8e 100644
--- a/home/xyz/.config/newsboat/config
+++ b/home/xyz/.config/newsboat/config
@@ -19,7 +19,10 @@ macro y set browser "echo %u | xsel -ib"; open-in-browser; set browser "$BROWSER
# maybe aur rss feed is broken; maybe arch linux feeds are updated very fast so I can't get the wanted news?
# not fully understand the rss feed
#ignore-article "https://aur.archlinux.org/rss/" "title !~\"youtube-dlp|yt-dlp\""
-ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" "title =~ \"^[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日(中文|香港)報紙頭條$\""
+# use \ to "Splitting long lines into multiple ones" (`man newsboat`)
+ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" \
+"title =~ \"^([0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日((中文|香港)報紙頭條|香港天氣報告))|\
+((竹新|柏立)社[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日新闻)$\""
ignore-article "https://github.blog/feed/" "title !~ \"game\""
@@ -42,4 +45,12 @@ color hint-separator black blue bold
color hint-description black blue
#color article white black
+# Need following two lines to write defunct RSS feeds log. There was a time
+# when exit newsboat, it ask me to press enter, maybe due to I removed a url
+# and there's remain cache, with following lines I won't be asked to press
+# enter.
+cleanup-on-quit yes
+# I couldn't find a way to use $XDG_STATE_HOME env. var.
+error-log ~/.local/state/newsboat/error.log
+
# vim: ft=sh
diff --git a/home/xyz/.config/newsboat/urls b/home/xyz/.config/newsboat/urls
index 2c16e89f..47b69395 100644
--- a/home/xyz/.config/newsboat/urls
+++ b/home/xyz/.config/newsboat/urls
@@ -40,6 +40,8 @@ https://www.iso.org/contents/data/standard/08/20/82075.detail.rss
#https://www.beyondallreason.info/news/rss.xml
#https://www.beyondallreason.info/microblogs/rss.xml
#https://git.kyun.host/naphtha.atom
+https://social.treehouse.systems/@danctnix.rss
+https://www.bandwagonhost.net/feed
---arch_Linux---
https://archlinux.org/feeds/news/
@@ -47,6 +49,7 @@ https://archlinux.org/feeds/news/
https://rfc.archlinux.page/index.xml
---news---
+https://www.laborfact.com/rss
# free license
#https://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&categories=Published
https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published
@@ -108,12 +111,13 @@ https://git.sr.ht/~mil/mepo/refs/rss.xml
#https://www.paritybit.ca/feed.xml
#https://a3nm.net/blog/feed.xml
#https://myrtana.sk/allfeed.atom
+#https://clehaxze.tw/atom.xml
-#---videos---
+---videos---
# free license, free software related or author like free software
#https://peertube.kx.studio/feeds/videos.xml?videoChannelId=3
#https://odysee.com/$/rss/@thelinuxcast:4
-#https://videos.lukesmith.xyz/feeds/videos.atom?sort=-publishedAt&isLocal=true
+https://videos.lukesmith.xyz/feeds/videos.atom?sort=-publishedAt&isLocal=true
#https://odysee.com/$/rss/@bugswriter:8
#https://odysee.com/$/rss/@bW:9
#https://odysee.com/$/rss/@DenshiVideo:f