Alan Levine recently posted his description of how to add an overview to your blog of postings from previous years on the same date as today. He turned it into a small WordPress plugin, allowing you to add such an overview using a shortcode wherever in your site you want it. It was something I had on my list of potential small hacks, so it was a nice coincidence my feedreader presented me with Alan’s posting on this. It has become ‘small hack’ 4.

I added his WP plugin, but it didn’t work as the examples he provided. The overview was missing the years. Turns out a conditional loop that should use the posting’s year, only was provided with the current year, thus never fulfilling the condition. A simple change in how the year of older postings was fetched fixed it. Which has now been added to the plugin.

In the right hand sidebar you now find a widget listing postings from earlier years, and you can see the same on the page ‘On This Blog Today In‘. I am probably my own most frequent reader of the archives, and having older postings presented to me like this adds some serendipity.

From todays historic postings, the one about the real time web is still relevant to me in how I would like a social feed reader to function. And the one about a storm that kept me away from home, I still remember (ah, when Jaiku was still a thing!).

Adding these old postings is as simple as adding the shortcode ‘postedtoday’:

There are 4 posts found on this site published on December 9

  • December 9, 2021
    • Open Data Directive Infringement Procedures Today I learned that on 30 September the EC has initiated infringement procedures against 19 EU Member States because of failing to provide complete information on the transposition in national law of the new Open Data Directive. Just one day before that announcement I already wrote that transposition was far from complete, but I hadn’t […]
  • December 9, 2020
    • Optimal Notion Length: Notion Mass Index 200 After writing 700 Notions I see a pattern emerge w.r.t short, ‘right’ and long ones Then last week I came across this click-baity posting by Tim Denning, advocating max 200-word posts to reach ‘virality’, while reflecting on my blogwriting pace. Checking the length of my Notions, I looked at the ones that feel just right. […]
  • December 9, 2008
    • Kishore Mahbubani – Some notes In a well filled Vereeniging in Nijmegen, Kishore Mahbubani gave a good speech on his perspective on the rise of Asia and the response the West in his eyes should formulate to that. It turned out I had picked up quite a bit already from fragments on tv, and flicking through his book last weekend, […]
  • December 9, 2004
    • Announcing BlogWalk Chicago It is our pleasure to announce a new edition of BlogWalk, the salon-like get togethers Sebastian Fiedler, Lilia Efimova and I are organizing. In cooperation with Jack Vinson, our local host (thanks Jack!), we are in the process of organizing BlogWalk 6 in Chicago, United States. Lilia Efimova will be in the US and attend […]

4 reactions on “Adding an ‘On This Blog Today In…’ Widget

  1. Thanks again for being an early trier if the plugin. I’m not quite sure what the difference was, perhaps the context of the query loop being different in a sidebar. As long as it works things are good.

Comments are closed.