Charl van Niekerk » Blog

Main

Latest

Archives

Powered by Blogger

Optimus Microformats Parser

Stii has been doing some really cool things with Optimus recently. Although it seems to be a really powerful parser, I took a look at the code and it seems to be generally something I would like to stay away of. First of all they are using very experimental XSLT PHP functionality that apparently means you need to custom-compile the latest PHP CVS checkout or something. Then secondly, the actual XSLT documents they are using are not exactly some of the simplest. Although I really have great respect for what these guys have done, I would much rather stick to something really simple and straight forward. Microformats parsing is actually really simple; all you need is some kind of getElementsByClassName or similar. I would much rather go the efficiency route myself.

However the last version of hKit I used also was a bit more than I needed and I found a couple of bugs in it; maybe it's better now but I'm thinking something minimal and something custom at the moment.

0 Comments

Post a Comment

Copyright © 2004-2009 Charl van Niekerk. All articles are released under the Creative Commons Attribution 2.5 South Africa licence, unless where otherwise stated.