Quantcast
Channel: Active questions tagged rss-aggregator - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 17

i3blocks.conf Error could not parse JSON lexical error

$
0
0

I have this error in my /etc/i3blocks.conf

Error: Could not parse JSON (lexical error: invalid bytes in UTF8 string.)

My code in /etc/i3blocks.conf looks like this.

[rss]command=rsstail -n1 -1 -N -u https://stackexchange.com/feeds/questions | head -c 50color=#00FF00interval=300[rss]command=rsstail -n1 -1 -N -u https://unix.stackexchange.com/feeds | head -c 50color=#00FF00interval=60[rss]command=rsstail -n1 -1 -N -u https://softwarerecs.stackexchange.com/feeds | head -c 50color=#00FF00interval=300[rss]command=rsstail -n1 -1 -N -u https://news.ycombinator.com/rss | head -c 50color=#00FF00interval=300

It's because RSS title contains not allowed characters. Otherwise I have not this error.How can I fix or handle this error in my /etc/i3blocks.conf? So that, if one RSS channel doesn't work, the other three will work?


Viewing all articles
Browse latest Browse all 17

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>