sfeed

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

sfeed_xmlenc.1 (586B)


      1.Dd July 25, 2021
      2.Dt SFEED_XMLENC 1
      3.Os
      4.Sh NAME
      5.Nm sfeed_xmlenc
      6.Nd get text-encoding from XML
      7.Sh SYNOPSIS
      8.Nm
      9.Sh DESCRIPTION
     10.Nm
     11reads XML data from stdin and writes the found text-encoding to stdout.
     12It converts characters in the encoding-name to lowercase and strips characters
     13which are not allowed in an encoding-name.
     14.Sh EXIT STATUS
     15.Ex -std
     16.Sh EXAMPLES
     17Get text-encoding from an Atom feed:
     18.Bd -literal
     19curl -s -L 'https://codemadness.org/atom.xml' | sfeed_xmlenc
     20.Ed
     21.Sh SEE ALSO
     22.Xr sfeed_update 1 ,
     23.Xr sh 1
     24.Sh AUTHORS
     25.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org