sfeed_json
—
format feed data to JSON Feed
sfeed_json
formats feed data (TSV) from
sfeed(1)
from stdin or for each file to stdout as JSON Feed
data. If one or more file arguments are specified then
the basename of the file is used as the feed name in
the output. If no file arguments are specified and so
the data is read from stdin then the feed name is empty.
If sfeed_json
is reading from one or more
file arguments it will prefix the entry title with
"[feed name] ".
The sfeed_json
utility exits 0 on
success, and >0 if an error occurs.
curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_json