Posted Fri Dec 16, 2005 in
Blogging
I’ve wanted a service that would post links to entries on today’s date from the archives for some time. It was a service I had when I used Movable Type a long time ago. (Or at least, it seems like a long time ago!)
I posted a note on the support fora and one of the other users, who knows something of PHP and TextPattern’s internals mentioned he had something in progress. I responded that I was interested.
This evening, he sent me some test code, which I installed and started playing around with. His plug-in did a lot more than I wanted and some less. So, I spent a little time hacking some PHP and rebuilt the plug-in. It now does about 90 percent of what I wanted.
If I knew a little more of the structure of the back-end for TextPattern, I could probably hack together the remaining ten percent. That’s a topic for a later date.
For now, if there was at least one entry on today’s date, n-years ago, a link will show up on the right navbar. When I get time, I’ll study the structure of the database and work out the code to extract links to all entries on today’s date, n-years ago.
That will be cool.