diff options
Diffstat (limited to 'sfeed.1')
-rw-r--r-- | sfeed.1 | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -1,4 +1,4 @@ -.Dd November 26, 2021 +.Dd January 7, 2023 .Dt SFEED 1 .Os .Sh NAME @@ -23,8 +23,8 @@ SPACE character. Control characters are removed. .Pp The content field can contain newlines and these are escaped. -TABs, newlines and '\\' are escaped with '\\', so it becomes: '\\t', '\\n' -and '\\\\'. +TABs, newlines and '\e' are escaped with '\e', so it becomes: '\et', '\en' +and '\e\e'. Other whitespace characters except spaces are removed. Control characters are removed. .Pp @@ -55,6 +55,15 @@ Item, categories, multiple values are separated by the '|' character. .Bd -literal curl -s 'https://codemadness.org/atom.xml' | sfeed .Ed +.Pp +To convert the character set from a feed that is not UTF-8 encoded the +.Xr iconv 1 +tool can be used: +.Bd -literal +curl -s 'https://codemadness.org/some_iso-8859-1_feed.xml' | \e +iconv -f iso-8859-1 -t utf-8 | \e +sfeed +.Ed .Sh EXAMPLE SETUP 1. Create a directory for the sfeedrc configuration and the feeds: .Bd -literal @@ -94,6 +103,7 @@ There are also other formatting programs included. The README file has more examples. .Sh SEE ALSO .Xr sfeed_curses 1 , +.Xr sfeed_opml_import 1 , .Xr sfeed_plain 1 , .Xr sfeed_update 1 , .Xr sfeed 5 , @@ -101,5 +111,5 @@ The README file has more examples. .Sh AUTHORS .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org .Sh CAVEATS -If a timezone for the timestamp field is not in the RFC822 or RFC3339 format it -is not supported and the timezone is interpreted as UTC+0. +If a timezone for the timestamp field is not in the RFC 822 or RFC 3339 format +it is not supported and the timezone is interpreted as UTC+0. |