logoalt Hacker News

kmstout • today at 12:05 AM • 0 replies • view on HN

I have a few workflows, all based on a CLI RSS processor that I wrote earlier in the year and which I may publish in the coming year [0].

Every morning:

- One squirrels away all the articles from all the BBS RSS feeds that I know about, with cleaned text going into files [1] and metadata, including subject and control tags, going into a database. The full text of all the top international and all the US and Canada stories, as well as abbreviated versions [2] of all the rest, go into a daily "news brief," a five-column landscape PDF with tiny margins. When I get up in the morning, I can read it at home while attending to my caffeine addiction. On Friday mornings, a cron job sends it to my printer, and I take it to a local spot on the way to work.

- Another pulls RSS feeds for various Youtube channels and downloads the videos (not the shorts) and subtitles. The subtitles get processed further to produce a cleaner transcript, which is nicer for `recoll` to work with. Like the BBC articles, there's databasing and tagging going on to facilitate search and control processing. Each channel gets its own subdirectory in ~/ref/video/yt, and a cron job runs every Sunday night to remove any video older than thirty days [3]. Subtitles and transcripts are kept indefinitely.

- A third grabs the text of articles from a variety of infrequently updated blogs, again with tagging and indexing.

One day I'll develop for the videos and blogs appropriate counterparts to the news brief that I did for news. For now, I dip into those arenas when the mood strikes and time permits.

---

[0] I used `rss2email` for a long time. Great tool, but forcing everything into email made for a baroque architecture.

[1] Like many things in my holdings, those articles get ingested into a `recoll` index.

[2] Each "abbreviated" article is just a headline and the first few sentences. That keeps the page count down, and I still have the full article if I want to know more.

[3] This can be inhibited by `chattr +i` to "pin" individual videos.