File: sfeed_xmlenc.1

package info (click to toggle)
sfeed 2.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: ansic: 5,176; sh: 275; makefile: 126; xml: 58
file content (25 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.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