|
NAMEsfeed —
RSS and Atom parser
SYNOPSIS
DESCRIPTIONsfeed reads RSS or Atom feed data (XML) from stdin. It
writes the feed data in a TAB-separated format to stdout. If the
baseurl argument is a valid absolute URL then the
relative links or enclosures will be made an absolute URL.
TAB-SEPARATED FORMAT FIELDSThe items are output per line in a TAB-separated format.For the fields title, id and author each whitespace character is replaced by a SPACE character. Control characters are removed. The content field can contain newlines and these are escaped. TABs, newlines and '\' are escaped with '\', so it becomes: '\t', '\n' and '\\'. Other whitespace characters except spaces are removed. Control characters are removed. The order and content of the fields are:
EXIT STATUSThesfeed utility exits 0 on success,
and >0 if an error occurs.
EXAMPLEScurl -s 'https://codemadness.org/atom.xml' | sfeed SEE ALSOsfeed_plain(1), sfeed_update(1), sfeed(5), sfeedrc(5)AUTHORSHiltjo Posthuma <hiltjo@codemadness.org>CAVEATSIf a timezone for the timestamp field is not in the RFC822 or RFC3339 format it is not supported and the timezone is interpreted as UTC+0.
Visit the GSP FreeBSD Man Page Interface. |