sfeed_xmlenc.1 586 B

1234567891011121314151617181920212223242526
  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
  11. reads XML data from stdin and writes the found text-encoding to stdout.
  12. It converts characters in the encoding-name to lowercase and strips characters
  13. which are not allowed in an encoding-name.
  14. .Sh EXIT STATUS
  15. .Ex -std
  16. .Sh EXAMPLES
  17. Get text-encoding from an Atom feed:
  18. .Bd -literal
  19. curl -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