
xmfp
Xmf_Parser: Extensible Microformats Parser for PHP 5
A tool for parsing microformated content from within PHP 5.
Main features
- Constructed to be extensible (by reusing existing microformats definitions for defining compound microformats).
- Full support of the Include Pattern (as defined in the Specs).
- Can be constructed to parse an string (useful when dealing with files) or directly from a URI.
- Validation of Microformated data.
- Can return a PHP Associative array, an XML representation of the found Microformats, or a JSON definition.
Main Intent
If intends to be fully compliant with the microformats specs and to give a simple, yet usable api for extracting microformats from either an string representing HTML/XML or a URI.
Important
Read the Requirements . If you don't, the code may not work!!!
Extend
Read the Guide on How to add New Microformat Definitions to XMFP.
Acknowledgments
This project was part of a presentation done by Emiliano MartÃnez Luque on Microformats for a course on Knowledge Management taught by Maria Gabriela Barbuto at the Universidad de Palermo during the first semester of 2008.
Project Information
- License: MIT License
- 11 stars
- svn-based source control
Labels:
Microformats
Parsing
PHP5
hcard
hcalendar
hreview
rel-tag
hresume
rel-license
xfn