Inspired by Jonathan LaCour once again I decided to make an RSS feed for the "On this day" section that I can subscribe to and not have to visit the site.

As I have previously done with the /Directory and /Blogroll, the xml file is built on the fly as part of the custom loop when visiting the /Today page.

All well and good but the idea is not to have to visit the site so I've added the following cron job to quietly load the page for me at 5 minutes past midnight every day:

5 0 * * * /usr/bin/wget --quiet --output-document=/dev/null https://colinwalker.blog

This ensures the feed is always up to date even without traffic and I'll find the new items waiting for me in my feed reader.

Leave a Reply

Your email address will not be published.