diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 14:10:48 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 14:10:48 +0100 |
commit | 7e023925f48b26c1492d9fd2342c5447174e93a4 (patch) | |
tree | a039551a83ecc26e13e6823a7b0e16dd034eb0bb /sfeed_web.1 | |
parent | 2be71dd69d7a54ff076cdfaa3905b5f0e818bc03 (diff) |
convert man pages to mandoc
Diffstat (limited to 'sfeed_web.1')
-rw-r--r-- | sfeed_web.1 | 56 |
1 files changed, 34 insertions, 22 deletions
diff --git a/sfeed_web.1 b/sfeed_web.1 index 26aceb0..473a1a1 100644 --- a/sfeed_web.1 +++ b/sfeed_web.1 @@ -1,24 +1,36 @@ -.TH SFEED 1 sfeed\-0.9 -.SH NAME -sfeed_web \- find urls to feeds from a webpage -.SH SYNOPSIS -.B sfeed_web -.RB [baseurl] -.SH OPTIONS -.TP -.B [baseurl] -Optional baseurl if site uses relative urls to feed. -.SH DESCRIPTION -It reads the HTML website as XML data from stdin and writes the found urls to -stdout in the format: - -content\-type<space>url - -content\-type is usually: application/atom+xml or application/rss+xml -.SH EXAMPLES -.TP +.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. +.Sh OUTPUT FORMAT +.Pp +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. +.Sh EXAMPLES +.Pp Get urls from xkcd website: -.nf +.Bd -literal wget http://www.xkcd.com -q -O - | sfeed_web "http://www.xkcd.com/" -.SH BUGS -Please report them! +.Sh SEE ALSO +.Xr sh 1 , +.Xr sfeed_update 1 +.Sh AUTHORS +.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org |