table of contents
SFEED_CONTENT(1) | General Commands Manual | SFEED_CONTENT(1) |
NAME¶
sfeed_content
—
view RSS/Atom content
SYNOPSIS¶
sfeed_content |
[file ...] |
DESCRIPTION¶
sfeed_content
formats feed data (TSV) from
sfeed(1) from stdin or for each file
to stdout as plain-text content. For HTML content it uses
lynx(1) to convert it to plain-text. At the end it uses
the pager to view the output. The sfeed_content
script can be used by sfeed_curses(1) to view content.
ENVIRONMENT VARIABLES¶
PAGER
- The pager used to view the content. If it is not set it will use "less -R" by default.
SFEED_HTMLCONV
- The program used to convert HTML content to plain-text. If it is not set it will use lynx by default.
EXIT STATUS¶
The sfeed_content
utility exits 0
on success, and >0 if an error occurs.
EXAMPLES¶
curl -s 'https://codemadness.org/atom_content.xml' | sfeed | sfeed_content
The output format looks like this:
Title: The title. Author: The line with the author if it is set. Category: The line with the categories if it is set. Link: The line with the link if it is set. Enclosure: The line with the enclosure if it is set. The content converted to plain-text. <form feed character> if there are multiple items.
SEE ALSO¶
AUTHORS¶
Hiltjo Posthuma <hiltjo@codemadness.org>
December 22, 2021 | Debian |