sfeed_content(1)

sfeed_content1

View rss/atom content

Usage

sfeed_content [file ...]

Overview

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

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

Example:

curl -s 'https://codemadness.org/atom_content.xml' | sfeed | sfeed_content

The output format will look 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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Authors

Hiltjo Posthuma ⟨[email protected]⟩

From sfeed 2.2-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.