Fantasist's Scroll

Fun, Fiction and Strange Things from the Desk of the Fantasist.

12/15/2003

CustomDates Plugin for MovableType

Filed under: — Posted by the Fantasist during the Hour of the Hare which is in the early morning.
The moon is Waning Gibbous

Ever wanted to have a blog recorded in Shire Reckoning?

How about Islamic dates? Well, now, you can do just that in MovableType thanks to my CustomDates plugin. I started with code from a plugin done by zumaidi and posted on the MovableType Support boards. Then, I added a CPAN module by Tom Braun for calculating the date according to Shire Reckoning.

As far as I can tell, no one has done this before. Not sure why no one’s done anything sooner, but I was totally dissatisfied with the lack of a custom date feature in MovableType. Luckily for me, one of the better features of MT is that it’s extendable with PERL. So, I put this little baby together. It’s not perfect, but it does a fairly good job. I still need to make some improvements and add in some more date systems, like Hebrew and the Forgotten Realms, but it’s good enough to release now, I think.
You can see and example of it running at my test blog. Of course, as I add and test new features, that test blog will change a bit.

Enjoy!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress
Any links to sites selling any reviewed item, including but not limited to Amazon, may be affiliate links which will pay me some tiny bit of money if used to purchase the item, but this site does no paid reviews and all opinions are my own.

%d bloggers like this: