sfeed_xmlenc(1)
reads XML data from stdin and writes the found text-encoding to stdout.
Description
SFEED_XMLENC(1) General Commands Manual SFEED_XMLENC(1)
NAME
sfeed_xmlenc — get text-encoding from XML
SYNOPSIS
sfeed_xmlenc
DESCRIPTION
sfeed_xmlenc 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.
EXIT STATUS
The sfeed_xmlenc utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Get text-encoding from an Atom feed:
curl -s -L ’https://codemadness.org/atom.xml’ | sfeed_xmlenc
SEE ALSO
AUTHORS
Hiltjo Posthuma <hiltjo@codemadness.org> GNU July 25, 2021 SFEED_XMLENC(1)