From 7e023925f48b26c1492d9fd2342c5447174e93a4 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 2 Jan 2015 14:10:48 +0100 Subject: convert man pages to mandoc --- sfeed_web.1 | 56 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 22 deletions(-) (limited to 'sfeed_web.1') 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\-typeurl - -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\-typeurl +.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 -- cgit v1.2.3