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 3 posts found on this site published on December 7

  • December 7, 2017
    • Frisian Open Data Platform a Unique Collaboration Yesterday saw the Frisian Open Data Platform go live. Initiated by the Province Fryslân, the City of Leeuwarden (the province’s capital), and the regional historic center and archive Tresoar it is a unique collaborative effort in the Netherlands. The Province initially proposed to create the platform, based on the notion that open data is more […]
  • December 7, 2010
    • International Open Data Hack-Day, Enschede Last Saturday, December 4th, the international Open Data Day took place in conjunction with Random Hacks of Kindness. In 73 cities around the globe groups of people came together to work on open data. In the Netherlands activities took place in Amsterdam and my home town Enschede. Open Data Enschede How it came about In […]
  • December 7, 2008
    • Kishore Mahbubani, The New Asian Hemisphere Tomorrow evening I will attend a lecture by prof. Kishore Mahbubani on the rise of Asia. I am very much looking forward to this, as I am interested in whether the Asian rise means a compounding of the worlds environmental problems, or an opportunity to bring about change for the better. Mahbubani holds that it […]

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.