Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Drew McLellan's Blog:
hKit Microformats Toolkit for PHP
Jun 23, 2006 @ 11:05:37

Drew McLellan has created a set of scripts (a toolkit) to deal specifically with microformats inside of PHP - hKit.

On returning from a very successful @media conference at the weekend, I had the urge to get hacking on some code. In an enviroment such as that created by a tech conference, where you're surrounded by many like-minded individuals who are passionate about the same things you're passionate about, it's hard not to get the bug and be compelled into action.

It quickly became apparent that what should've been a couple of hours coding was going to take me quite a while, because I had no toolkits to back me up. I poked around looking at stuff that's already out there, including Microformats Base, but I couldn't find anything that fitted the model I was after.

He mentions what he was looking for (a simple interface, generic to support multiple formats as packaged in a plugin layer). Unfortunately, he didn't find anything, but fortunately, he created one, hKit.

The package uses SimpleXML and a system of profiles held in the packages for each different format. He mentiontions some of the things that are yet to be done on the toolkit, but he wanted to "post early and post often" to get it out there. As of this post, it's currently in version 0.3.

tagged: hkit microformats toolkit library simplexml plugin hkit microformats toolkit library simplexml plugin

Link:


Trending Topics: