https://jkphl.is/projects/micrometa/

micrometa

A meta parser for HTML microdata extraction

micrometa is a PHP micro information meta parser that I quickly hacked together while developing this website. It’s main purpose is to consume several different micro information formats (Microformats (µF), Microformats 2 and the W3C Microdata specification) and provide a common API to them.

The micrometa library is pretty new and in a very early stage. I didn't think a lot about what I could support, I just wanted to have a quick solution for extracting Microformats and Microdata out of HTML documents at the same time. It is part of the webmention implementation on this page. I will surely dig deeper into the topic as soon as possible. The library is documented and downloadable at GitHub.