sfeed_json.1 - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       sfeed_json.1 (916B)
       ---
            1 .Dd March 8, 2023
            2 .Dt SFEED_JSON 1
            3 .Os
            4 .Sh NAME
            5 .Nm sfeed_json
            6 .Nd format feed data to JSON Feed
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Ar
           10 .Sh DESCRIPTION
           11 .Nm
           12 formats feed data (TSV) from
           13 .Xr sfeed 1
           14 from stdin or for each
           15 .Ar file
           16 to stdout as JSON Feed data.
           17 If one or more
           18 .Ar file
           19 arguments are specified then the basename of the
           20 .Ar file
           21 is used as the feed name in the output.
           22 If no
           23 .Ar file
           24 arguments are specified and so the data is read from stdin then the feed name
           25 is empty.
           26 If
           27 .Nm
           28 is reading from one or more
           29 .Ar file
           30 arguments it will prefix the entry title with "[feed name] ".
           31 .Sh EXIT STATUS
           32 .Ex -std
           33 .Sh EXAMPLES
           34 .Bd -literal
           35 curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_json
           36 .Ed
           37 .Sh SEE ALSO
           38 .Xr sfeed 1 ,
           39 .Xr sfeed_atom 1 ,
           40 .Xr sfeed 5
           41 .Sh STANDARDS
           42 .Rs
           43 .%T JSON Feed Version 1.1
           44 .%U https://www.jsonfeed.org/version/1.1/
           45 .%D Nov, 2022
           46 .Re
           47 .Sh AUTHORS
           48 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org