sfeed_content.1 (1336B)
1.Dd December 22, 2021 2.Dt SFEED_CONTENT 1 3.Os 4.Sh NAME 5.Nm sfeed_content 6.Nd view RSS/Atom content 7.Sh SYNOPSIS 8.Nm 9.Op Ar 10.Sh DESCRIPTION 11.Nm 12formats feed data (TSV) from 13.Xr sfeed 1 14from stdin or for each 15.Ar file 16to stdout as plain-text content. 17For HTML content it uses 18.Xr lynx 1 19to convert it to plain-text. 20At the end it uses the pager to view the output. 21The 22.Nm 23script can be used by 24.Xr sfeed_curses 1 25to view content. 26.Sh ENVIRONMENT VARIABLES 27.Bl -tag -width Ds 28.It Ev PAGER 29The pager used to view the content. 30If it is not set it will use "less -R" by default. 31.It Ev SFEED_HTMLCONV 32The program used to convert HTML content to plain-text. 33If it is not set it will use lynx by default. 34.El 35.Sh EXIT STATUS 36.Ex -std 37.Sh EXAMPLES 38.Bd -literal 39curl -s 'https://codemadness.org/atom_content.xml' | sfeed | sfeed_content 40.Ed 41.Pp 42The output format looks like this: 43.Bd -literal 44Title: The title. 45Author: The line with the author if it is set. 46Category: The line with the categories if it is set. 47Link: The line with the link if it is set. 48Enclosure: The line with the enclosure if it is set. 49 50The content converted to plain-text. 51 52<form feed character> if there are multiple items. 53.Ed 54.Sh SEE ALSO 55.Xr awk 1 , 56.Xr less 1 , 57.Xr lynx 1 , 58.Xr sfeed_curses 1 59.Sh AUTHORS 60.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org