Integrating Openring into this Blog

| programming | python | blogging |

I just did the jenkiest thing ever.

Openring is a cool little library written by Drew DeVault which allows you to add articles from feeds that you follow to your own blog. It’s kind of like a dynamic blog roll.

It was designed for static site generators, but since (for some reason) this blog is not statically generated, I was thinking of the best way to include it and came up with something that is either a horrible RCE waiting to happen, or a clever hack.

I set up a cron job to run openring every eight hours and pop the output to a file. Then in flask, I made a simple utility function to go find and read this file and insert it into a Jinja variable which is then rendered on every post page (look down at the bottom).

This allows readers to check out other interesting content and also has the added benefit of being fresh several times per day.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Zig's anti-LLM contribution policy

As shared by on Simon Willison’s blog, Zig has an interesting anti-LLM policy for contributions in their code of conduct. Zig values contributors over their contributions. Each contributor represents an investment by the Zig core team - the primary goal of...

via Information Overload June 11, 2026

Stormdancer (Lotus Wars 1)

Author: Jay Kristoff Rating: ★★★★★ Description: Arashitoras are supposed to be extinct. So when Yukiko and her warrior father Masaru are sent to capture one for the Shōgun, they fear that their lives are over – everyone knows what happens to those who fail...

via Home on Søren's Blog June 11, 2026

“This is my favorite news from all of WWDC this week.”

John Gruber on Daring Fireball: Perhaps the worst UI crime in MacOS 26 Tahoe was the inexplicable decision to add inscrutable, distracting icons next to every item in the menu bar. You will recall Jim Nielsen writing about it, rightly describing it as exac...

via Unsung June 11, 2026

Generated by openring