All in the <head> – Ponderings and code by Drew McLellan –

hKit version 0.5

This release appears small, but includes some significant changes which may have caused some regression. Do let me know if you spot any anomalies. Any test results are welcome. There’s a live version on tools.microformatic.com

In this release:

  • fixed by-ref issue cropping up in PHP 5.0.5
  • fixed a bug with a@title
  • added support for new hCard fn=n optimisation
  • added support for new a.include include-pattern

The a.include pattern is still not quite finalised, but I felt it was worth implementing to see how practical it is to both use and parse. If for any reason a.include doesn’t become official, I’ll be taking it out again.

The new fn=n optimisation says that if n isn’t specified and n cannot be implied from fn, then fn can be assumed to be equal to “fn n” and fn may therefore contain n’s sub-items. Easy, right?