sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

sfeedrc.example (1009B)


      1# for more details see the sfeedrc(5) and sfeed_update(1) man pages
      2# and the README file.
      3
      4#sfeedpath="$HOME/.sfeed/feeds"
      5
      6# list of feeds to fetch:
      7feeds() {
      8	# feed <name> <feedurl> [basesiteurl] [encoding]
      9	feed "codemadness" "https://www.codemadness.org/atom_content.xml"
     10	feed "explosm" "http://feeds.feedburner.com/Explosm"
     11	feed "golang github releases" "https://github.com/golang/go/releases.atom"
     12	feed "linux kernel" "https://www.kernel.org/feeds/kdist.xml" "https://www.kernel.org"
     13	feed "reddit openbsd" "https://old.reddit.com/r/openbsd/.rss"
     14	feed "slashdot" "http://rss.slashdot.org/Slashdot/slashdot" "http://slashdot.org"
     15	feed "tweakers" "http://feeds.feedburner.com/tweakers/mixed" "http://tweakers.net" "iso-8859-1"
     16	# get youtube Atom feed: curl -s -L 'https://www.youtube.com/user/gocoding/videos' | sfeed_web | cut -f 1
     17	feed "youtube golang" "https://www.youtube.com/feeds/videos.xml?channel_id=UCO3LEtymiLrgvpb59cNsb8A"
     18	feed "xkcd" "https://xkcd.com/atom.xml" "https://xkcd.com"
     19}