SFEED(5)

✨ SFEED(5) ✨

okay so bestie, this is the sfeed(5) page from the File Formats Manual β€” it's the one that explains the ✨feed format✨ itself. yes, the actual format. the whole vibe. let's get into it 🫢


🌸 NAME 🌸

sfeed β€” feed format πŸ’…

🌈 SYNOPSIS 🌈

sfeed

πŸ’– DESCRIPTION πŸ’–

so sfeed(1) writes the feed data in a TAB-separated format to stdout. that's it, that's the whole thing. iconic behaviour honestly. ✨


πŸŽ€ TAB-SEPARATED FORMAT FIELDS πŸŽ€

The items are output per line in a TAB-separated format. one item, one line, tabs between the fields. slay.

For the fields title, id and author each whitespace character is replaced by a SPACE character. Control characters are removed. no weird invisible gremlins surviving in your titles, periodt 🧚

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. so the content stays on one line, no cap 🫢

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.
ngl the order matters fr fr β€” that's literally the whole format. memorize it or keep this page open forever, your call πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

πŸ’œ AUTHORS πŸ’œ

Hiltjo Posthuma <hiltjo@codemadness.org>


and that's the page bestie!! πŸŽ€ this lil ray of sunshine came to you from the Debian crew, dated January 7, 2023 β€” go forth and parse those feeds, main character energy only πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from