table of contents
SFEED(5) | File Formats Manual | SFEED(5) |
NAME¶
sfeed
— feed
format
SYNOPSIS¶
sfeed |
DESCRIPTION¶
sfeed(1) writes the feed data in a TAB-separated format to stdout.
TAB-SEPARATED FORMAT FIELDS¶
The 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:
- 1. timestamp
- UNIX timestamp in UTC+0, empty if missing or on a parse failure.
- 2. title
- Title text, HTML code in titles is ignored and is treated as plain-text.
- 3. link
- Link
- 4. content
- Content, can have plain-text or HTML code depending on the content-type field.
- 5. content-type
- "html" or "plain" if it has content.
- 6. id
- RSS item GUID or Atom id.
- 7. author
- Item, first author.
- 8. enclosure
- Item, first enclosure.
- 9. category
- Item, categories, multiple values are separated by the '|' character.
SEE ALSO¶
AUTHORS¶
Hiltjo Posthuma <hiltjo@codemadness.org>
January 7, 2023 | Debian |