Skip to content

hazybluedot/mf2erl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Microformats V2 Parser

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).

Known issues

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

Compile and go

$ rebar3 compile
...
# fetch the tests
$ git clone https://github.com/microformats/tests.git tests/mf2
$ ./tests/00-mf2-parser.t

About

A microformats-v2 parser written in Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages