summaryrefslogtreecommitdiff
path: root/sfeed_web.1
blob: d05407b5abf53f0a83be26f5344c699867e55943 (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
26
27
28
29
30
31
32
33
34
35
36
37
.Dd December 25, 2014
.Dt SFEED_WEB 1
.Os
.Sh NAME
.Nm sfeed_web
.Nd finds urls to feeds from a HTML webpage
.Sh SYNOPSIS
.Nm
.Op Ar baseurl
.Sh DESCRIPTION
.Nm
reads the HTML website as XML or HTML data from stdin and writes the found
urls to stdout.
.Sh OPTIONS
.Bl -tag -width 8n
.It Ar baseurl
optional base url to use for found feed urls that are relative.
.El
.Sh OUTPUT FORMAT
content\-type<space>url<newline>
.Bl -tag -width 13n
.It Ar content\-type
Usually application/atom+xml or application/rss+xml.
.It Ar url
Found url to the feed. If the url is relative and the baseurl option is
specified then the url is changed accordingly.
.El
.Sh EXAMPLES
Get urls from xkcd website:
.Bd -literal
wget http://www.xkcd.com -q -O - | sfeed_web "http://www.xkcd.com/"
.Ed
.Sh SEE ALSO
.Xr sh 1 ,
.Xr sfeed_update 1
.Sh AUTHORS
.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org