diff options
Diffstat (limited to 'home/xyz/.config/newsboat/config')
| -rw-r--r-- | home/xyz/.config/newsboat/config | 13 |
1 files changed, 12 insertions, 1 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 |
