A microformats2 parser written in Racket. For more information about microformats, see this website.
This package does not offer backwards compatibility with the first version of microformats. You are welcome to open an issue if you'd like to see support added.
racket-mf2 is available on the Racket Package Index under the name microformats
:
raco pkg install microformats
I promise to fully document this package once it's ready to share. Until then, see the example in the official documentation.
You are welcome to open an issue, submit a pull request, or get in touch with me.
To run the microformats test suite, first clone this repository with the tests/
submodule:
git clone --recurse-submodules [email protected]:jacobwhall/racket-mf2.git
…and run the tests using raco test
.
raco test tests.rkt
Shoutout to Tantek Çelik, Ben Ward, and the other editors of the microformats specification
Thank you everyone who helps build and maintain Racket, in particular:
- Oleg Kiselyov and the other authors of SXML
- John Clements and others who packaged SXML for Racket
- Neil Van Dyke, who wrote html-parsing
- Eli Barzilay and Dave Herman, who wrote the JSON package for Racket
- Jon Zeppieri, who wrote gregor
racket-mf2 uses the CC0 license, as does php-mf2 and microformats-ruby. For more information, see LICENSE.md.