sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 8c85cbf85c42eca17f18ffe45ffc6bde695a4e26
parent aec6b5c35ac33736e6b94e1a613666fe19ebb2d4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  1 Jan 2021 23:23:06 +0100

sfeed.1/sfeed_plain.1: add example, improve quoting the url for sfeed_web.1

Diffstat:
Msfeed.1 | 6+++++-
Msfeed_plain.1 | 6+++++-
Msfeed_web.1 | 4++--
3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sfeed.1 b/sfeed.1 @@ -1,4 +1,4 @@ -.Dd September 19, 2020 +.Dd January 1, 2021 .Dt SFEED 1 .Os .Sh NAME @@ -51,6 +51,10 @@ Item, categories, multiple values are separated by |. .El .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +.Bd -literal +curl -s 'https://codemadness.org/atom.xml' | sfeed +.Ed .Sh SEE ALSO .Xr sfeed_plain 1 , .Xr sfeed 5 diff --git a/sfeed_plain.1 b/sfeed_plain.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2020 +.Dd January 1, 2021 .Dt SFEED_PLAIN 1 .Os .Sh NAME @@ -40,6 +40,10 @@ and .Xr wcwidth 3 . .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +.Bd -literal +curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_plain +.Ed .Sh SEE ALSO .Xr sfeed 1 , .Xr sfeed_html 1 , diff --git a/sfeed_web.1 b/sfeed_web.1 @@ -1,4 +1,4 @@ -.Dd October 22, 2020 +.Dd January 1, 2021 .Dt SFEED_WEB 1 .Os .Sh NAME @@ -35,7 +35,7 @@ Usually application/atom+xml or application/rss+xml. .Sh EXAMPLES Get urls from xkcd website: .Bd -literal -curl -s -L http://www.xkcd.com | 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 ,