sfeed

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

sfeed_json.1 (921B)


      1.Dd August 1, 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
     12formats feed data (TSV) from
     13.Xr sfeed 1
     14from stdin or for each
     15.Ar file
     16to stdout as JSON Feed data.
     17If one or more
     18.Ar file
     19arguments are specified then the basename of the
     20.Ar file
     21is used as the feed name in the output.
     22If no
     23.Ar file
     24arguments are specified and so the data is read from stdin then the feed name
     25is empty.
     26.Pp
     27If
     28.Nm
     29is reading from one or more
     30.Ar file
     31arguments it will prefix the entry title with "[feed name] ".
     32.Sh EXIT STATUS
     33.Ex -std
     34.Sh EXAMPLES
     35.Bd -literal
     36curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_json
     37.Ed
     38.Sh SEE ALSO
     39.Xr sfeed 1 ,
     40.Xr sfeed_atom 1 ,
     41.Xr sfeed 5
     42.Sh STANDARDS
     43.Rs
     44.%T JSON Feed Version 1.1
     45.%U https://www.jsonfeed.org/version/1.1/
     46.%D Nov, 2022
     47.Re
     48.Sh AUTHORS
     49.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org