SFEED_TWTXT(1)

πŸ’– SFEED_TWTXT(1) πŸ’–

okay bestie, so this is a page from the General Commands Manual, and it's literally about sfeed_twtxt β€” the lil tool that turns your feed data into a twtxt feed ✨


🌸 NAME 🌸

sfeed_twtxt β€” format feed data to a twtxt feed πŸ¦‹


✨ SYNOPSIS ✨

sfeed_twtxt [file ...]

πŸ’… DESCRIPTION πŸ’…

sfeed_twtxt takes feed data (that's TSV, periodt) coming from sfeed(1), and it formats it to stdout as a twtxt feed. Where does the data come from tho? Either from stdin, or from each file you hand it. Your choice, queen πŸ‘‘

Now here's the tea: if you pass one or more file arguments, then the basename of the file gets used as the feed name in the output. no cap. But if you give it no file arguments β€” meaning the data is being read from stdin β€” then the feed name is just… empty. nothing. a void. πŸ’€

And one more thing: if sfeed_twtxt is reading from one or more file arguments, it will prefix the entry title with "[feed name] ". so your titles get that lil name tag, cute right? πŸŽ€


πŸ‘‘ EXIT STATUS πŸ‘‘

The sfeed_twtxt utility exits 0 on success, and >0 if an error occurs. slay when it works, sad when it doesn't 😭


🌈 EXAMPLES 🌈

piping the vibes straight through, look:

curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_twtxt

🫢 SEE ALSO 🫢

sfeed(1), sfeed_plain(1), sfeed(5)


πŸ’œ AUTHORS πŸ’œ

Hiltjo Posthuma <hiltjo@codemadness.org> β€” the icon who made this fr fr πŸ‘‘


this page came from Debian, dated July 31, 2021 β€” shoutout to the Debian girlies for shipping it πŸ’–

k that's the whole page bestie, go format some feeds and be the main character of your terminal βœ¨πŸ’…πŸŒΈ

πŸ“¦ where this page comes from