sfeed

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

commit 99a8e4deeb81480f2c0c2798256fe9c2df006ff1
parent 317d08eee3494234e1e5f84fca0240abfdc8e2f5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 12 Mar 2021 13:11:17 +0100

sfeed_web.1, sfeed_xmlenc.1: remove unneeded mdoc escape sequence

Diffstat:
Msfeed_web.1 | 6+++---
Msfeed_xmlenc.1 | 8++++----
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sfeed_web.1 b/sfeed_web.1 @@ -1,4 +1,4 @@ -.Dd January 26, 2021 +.Dd March 12, 2021 .Dt SFEED_WEB 1 .Os .Sh NAME @@ -17,7 +17,7 @@ URLs to stdout. Optional base URL to use for found feed URLs that are relative. .El .Sh OUTPUT FORMAT -url<TAB>content\-type<newline> +url<TAB>content-type<newline> .Bl -tag -width Ds .It url Found relative or absolute URL. @@ -27,7 +27,7 @@ otherwise if the .Ar baseurl option is specified then that is used, if neither are set then the relative URL is printed. -.It content\-type +.It content-type Usually application/atom+xml or application/rss+xml. .El .Sh EXIT STATUS diff --git a/sfeed_xmlenc.1 b/sfeed_xmlenc.1 @@ -1,20 +1,20 @@ -.Dd November 1, 2020 +.Dd March 12, 2021 .Dt SFEED_XMLENC 1 .Os .Sh NAME .Nm sfeed_xmlenc -.Nd get text\-encoding from XML +.Nd get text-encoding from XML .Sh SYNOPSIS .Nm .Sh DESCRIPTION .Nm -reads XML data from stdin and writes the found text\-encoding to stdout. +reads XML data from stdin and writes the found text-encoding to stdout. It converts characters in the encoding-name to lowercase and strips characters which are not allowed in an encoding-name. .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -Get text\-encoding from xkcd Atom feed: +Get text-encoding from xkcd Atom feed: .Bd -literal curl -s -L http://www.xkcd.com/atom.xml | sfeed_xmlenc .Ed