SFEED(1) OpenBSD Reference Manual SFEED(1)

NAME

sfeedsimple RSS and Atom parser

SYNOPSIS

sfeed [suffix string | -v]

DESCRIPTION

sfeed reads RSS or Atom feed data (XML) from stdin. It writes the feed data in a tab-separated format to stdout.

OPTIONS

-v
show program version

TAB-SEPARATED FORMAT FIELDS

The items are saved in a TSV-like format except newlines, tabs and backslash are escaped with \ (\n, \t and \\). Carriage returns (\r) are removed.

The order and format of the fields are:

item timestamp
string, UNIX timestamp in GMT+0
item timestamp
string, date and time in the format: YYYY-mm-dd HH:MM:SS tzname[[+-][HHMM]]
item title
string
item link
string
item content
string
item content-type
string, "html" or "plain"
item id
string
item author
string
feed type
string, "rss" or "atom"

SEE ALSO

sh(1), sfeed_update(1)

AUTHORS

Hiltjo Posthuma <hiltjo@codemadness.org>
December 25, 2014