.Dd July 25, 2021 .Dt SFEED_XMLENC 1 .Os .Sh NAME .Nm sfeed_xmlenc .Nd get text-encoding from XML .Sh SYNOPSIS .Nm .Sh DESCRIPTION .Nm reads XML data from stdin and writes the found text-encoding to stdout. It converts characters in the encoding-name to lowercase and strips characters which are not allowed in an encoding-name. .Sh EXIT STATUS .Ex -std .Sh EXAMPLES Get text-encoding from an Atom feed: .Bd -literal curl -s -L 'https://codemadness.org/atom.xml' | sfeed_xmlenc .Ed .Sh SEE ALSO .Xr sfeed_update 1 , .Xr sh 1 .Sh AUTHORS .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org