SFEED_JSON(1) | General Commands Manual | SFEED_JSON(1) |
sfeed_json
—
format feed data to JSON Feed
sfeed_json |
[file ...] |
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
JSON Feed Version 1.1, https://www.jsonfeed.org/version/1.1/, Nov, 2022.
Hiltjo Posthuma <hiltjo@codemadness.org>
August 1, 2023 | Debian |