Disclaimer: This is still a work in progress, some required features are not yet implemented (See the Known Issues section below).
This is a first-pass at a microformats v2 parser written in Erlang. It is one component of a CouchDB webmention plugin I am working on to make my CouchDB based website indieweb compatible and self-contained (I'm currently using a Python-based webmention server).
The following features of the microformats-v2 parsing algorithm are not yet implemented:
- Backcompat
- rels/rel-urls parsing
- Url normalization
- Possibly some of the implied property rules
$ rebar3 compile
...
# fetch the tests
$ git clone https://github.com/microformats/tests.git tests/mf2
$ ./tests/00-mf2-parser.t