https://github.com/jacobwhall/racket-mf2
A microformats2 parser for Racket
https://github.com/jacobwhall/racket-mf2
indieweb microformats racket
Last synced: 24 days ago
JSON representation
A microformats2 parser for Racket
- Host: GitHub
- URL: https://github.com/jacobwhall/racket-mf2
- Owner: jacobwhall
- License: cc0-1.0
- Created: 2022-06-28T06:21:11.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2022-07-25T15:59:58.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T04:13:58.722Z (27 days ago)
- Topics: indieweb, microformats, racket
- Language: Racket
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# racket-mf2
[](https://github.com/jacobwhall/racket-mf2/actions/workflows/tests.yml)
[](https://racket-lang.org)
[](http://creativecommons.org/publicdomain/zero/1.0/)
[](CODE_OF_CONDUCT.md)A [microformats2](https://microformats.org/wiki/microformats2/) parser written in [Racket](https://racket-lang.org/). For more information about microformats, see [this website](https://microformats.io/).
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.## Installing
racket-mf2 is available [on the Racket Package Index](https://pkgs.racket-lang.org/package/microformats) under the name `microformats`:
```
raco pkg install microformats
```## Getting started
I promise to fully document this package once it's ready to share.
Until then, see the example in the [official documentation](https://docs.racket-lang.org/microformats/index.html).## Contributing
You are welcome to [open an issue](https://github.com/jacobwhall/racket-microformats/issues), [submit a pull request](https://github.com/jacobwhall/racket-microformats/pulls), or [get in touch with me](mailto:[email protected]).
### Running tests
To run the [microformats test suite](https://github.com/microformats/tests), 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
```## Acknowledgements
Shoutout to [Tantek Çelik](https://tantek.com/), [Ben Ward](https://benward.uk/), and the other editors of the microformats specification
Thank you everyone who helps build and maintain Racket, in particular:
- [Oleg Kiselyov](https://okmij.org/ftp/) and the other authors of [SXML](https://okmij.org/ftp/Scheme/xml.html#SXML-spec)
- [John Clements](https://www.brinckerhoff.org/) and others who [packaged SXML for Racket](https://github.com/jbclements/sxml/)
- [Neil Van Dyke](https://www.neilvandyke.org/), who wrote [html-parsing](https://docs.racket-lang.org/html-parsing/index.html)
- [Eli Barzilay](https://www.barzilay.org/) and [Dave Herman](http://calculist.org/), who wrote [the JSON package for Racket](https://docs.racket-lang.org/json/index.html)
- Jon Zeppieri, who wrote [gregor](https://docs.racket-lang.org/gregor/index.html)## License
racket-mf2 uses the [CC0 license](http://creativecommons.org/publicdomain/zero/1.0/), as does [php-mf2](https://github.com/microformats/php-mf2) and [microformats-ruby](https://github.com/microformats/microformats-ruby/).
For more information, see [LICENSE.md](LICENSE.md).