SFEED_HTML(1)

πŸ“¦
version 2.4 Β· 2 versions
  • 2.4 Β· alpine 3.24, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.7 Β· debian bookworm
, in alpine 3.24, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– SFEED_HTML(1) πŸ’–

okay bestie, so this is a General Commands Manual page for sfeed_html and honestly? it's giving "turn my feeds into a cute little web page" energy and I am obsessed πŸŽ€


✨ NAME ✨

sfeed_html β€” format feed data to HTML πŸ¦‹


✨ SYNOPSIS ✨

sfeed_html [file ...]

✨ DESCRIPTION ✨

So here's the tea β˜• β€” sfeed_html takes feed data (that's TSV, aka tab-separated values, no cap) coming from sfeed(1), and formats it into HTML on stdout. Where does the data come from? Either stdin, or from each file you pass in. Easy peasy. πŸ’…

  • If you give it one or more file arguments, then the basename of the file gets used as the feed name in the output. iconic.
  • If you give it no file arguments and it just reads from stdin, then the feed name is empty. literally nothing. a blank canvas. πŸ™ˆ

Now the fun part: items whose timestamp falls within the last day β€” compared against the system time at the moment of formatting, bestie, not whenever you're reading this β€” get counted and marked as new ✨. That value can be overridden through environment variables (see below, I got you 🫢). Items get marked as new using a bold markup. slay.

Also! There's an example style.css stylesheet file included in the distribution πŸŽ€ so you can make it all pretty.


✨ ENVIRONMENT VARIABLES ✨

  • SFEED_NEW_AGE β€” overwrites the maximum age in seconds for marking feeds as new. By default this is 86400, which equals one day. yes, exactly one day, no more no less πŸ’€

✨ EXIT STATUS ✨

The sfeed_html utility exits 0 on success, and >0 if an error occurs. that's it that's the vibe check ⭐


✨ EXAMPLES ✨

sfeed_html ~/.sfeed/feeds/*

look at her go πŸ”₯


✨ SEE ALSO ✨

sfeed(1), sfeed_frames(1), sfeed_plain(1), sfeed(5) β€” the whole friend group, love that for them πŸ’œ


✨ AUTHORS ✨

Hiltjo Posthuma <hiltjo@codemadness.org> πŸ‘‘


and that's a wrap, bestie 🫢 this lil page came from Debian, version dated July 31, 2021 β€” periodt. πŸ’–

πŸ“¦ where this page comes from