diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-05 18:41:27 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-05 18:41:27 +0200 |
commit | c28a8ba769f2c0468436e7a5d42264644711ff51 (patch) | |
tree | f23ae38b03d175a8068054ff6b3a5e70e0617332 /sfeed_web.1 | |
parent | 1a1bd0e5a3a1a9dbdf20d7afec7c3246c2468e34 (diff) |
improve man-pages and documentation
Diffstat (limited to 'sfeed_web.1')
-rw-r--r-- | sfeed_web.1 | 18 |
1 files changed, 11 insertions, 7 deletions
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\-type<space>url<newline> -.Bl -tag -width 13n +url<TAB>content\-type<newline> +.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 , |