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

Day 003 - Tick-tock at the uni

Post [003/100] of the #the100pics challenge. Post clock at Bloomington University, June 5th, 2026

via Martin Morales July 16, 2026

Kids need to explore the world and that includes social media

I've written a number of times about what has become conventional wisdom – spread primarily by academics like Jonathan Haidt – that phones and/or social media are evil, and that they cause teenagers in particular to develop anxiety, depression, etc. and th...

via The Torment Nexus July 16, 2026

Workshop Basel day two

If you missed it. I already described day one. Caffeinated and ready, we all gathered in the same spacious room as yesterday, but seated in new places as “suggested” by our captain. Some of us even remembered to move over the name tags we wrote yesterday t...

via daniel.haxx.se July 15, 2026

Generated by openring