SFEED(1) |
OpenBSD Reference Manual |
SFEED(1) |
NAME
sfeed — simple 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"