diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-07-25 11:46:35 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-07-25 11:46:44 +0200 |
commit | 93044ecd315dad94be56f866c67cf3102605f566 (patch) | |
tree | 0d0ad6172e0482da108636274716f3c7417302eb /sfeed_web.1 | |
parent | 8a07c4a3d0b6662fd7cd2d360e0a0002620f4b97 (diff) |
man page improvements
- Some rewording and typo fixes.
- Specify in more detail how sfeed_web detects links from HTML code.
Diffstat (limited to 'sfeed_web.1')
-rw-r--r-- | sfeed_web.1 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sfeed_web.1 b/sfeed_web.1 index 3a83ca7..c48b0f9 100644 --- a/sfeed_web.1 +++ b/sfeed_web.1 @@ -1,4 +1,4 @@ -.Dd July 24, 2021 +.Dd July 25, 2021 .Dt SFEED_WEB 1 .Os .Sh NAME @@ -11,6 +11,11 @@ .Nm reads the HTML website as XML or HTML data from stdin and writes the found URLs to stdout. +.Pp +Such a link reference in HTML code looks like: +.Bd -literal + <link rel="alternate" href="atom.xml" type="application/atom+xml" /> +.Ed .Sh OPTIONS .Bl -tag -width 8n .It Ar baseurl @@ -33,7 +38,7 @@ Usually application/atom+xml or application/rss+xml. .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -Get URLs from xkcd website: +Get URLs from a website: .Bd -literal curl -s -L 'https://codemadness.org/' | sfeed_web 'https://codemadness.org/' .Ed |