carta
sfeed_json(1)

sfeed_json1

Format feed data to json feed

Usage

sfeed_json [file ...]

Overview

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] ".

Exit status

The sfeed_json utility exits 0 on success, and >0 if an error occurs.

Examples

curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_json

Standards

JSON Feed Version 1.1, Nov, 2022, https://www.jsonfeed.org/version/1.1/.

Authors

Hiltjo Posthuma ⟨[email protected]⟩

From sfeed 2.2-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.