From c28a8ba769f2c0468436e7a5d42264644711ff51 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 5 Aug 2015 18:41:27 +0200 Subject: improve man-pages and documentation --- sfeed_web.1 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'sfeed_web.1') diff --git a/sfeed_web.1 b/sfeed_web.1 index 923ac1b..7f9865b 100644 --- a/sfeed_web.1 +++ b/sfeed_web.1 @@ -14,21 +14,25 @@ urls to stdout. .Sh OPTIONS .Bl -tag -width 8n .It Ar baseurl -optional base url to use for found feed urls that are relative. +Optional base url to use for found feed urls that are relative. .El .Sh OUTPUT FORMAT -content\-typeurl -.Bl -tag -width 13n +urlcontent\-type +.Bl -tag -width Ds +.It Ar url +Found absolute url. If the url is relative and the +.Ar baseurl +option is +specified then the url is made absolute. If the url is relative and no +.Ar baseurl +option is specified it is empty. .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/" +curl -s -L http://www.xkcd.com | sfeed_web "http://www.xkcd.com/" .Ed .Sh SEE ALSO .Xr sfeed_update 1 , -- cgit v1.2.3