blob: 9e46cf725f32ec78fb25438c1a69b6c7606e15cf (
plain)
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 November 1, 2020
.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 xkcd Atom feed:
.Bd -literal
curl -s -L http://www.xkcd.com/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
|