link rel parser
This article is a stub. You can help the IndieWeb wiki by expanding it.
A link rel parser is a library for parsing individual rel
values from inside HTTP LINK
headers and/or HTML <link>
tags, often used by discovery algorithms for API endpoints as defined by specifications like Webmention, Micropub, and IndieAuth.
Examples
- Node.js: https://www.npmjs.com/package/link-rel-parser, https://www.npmjs.com/package/rel-parser
- PHP: https://github.com/indieweb/link-rel-parser-php
- Perl: https://metacpan.org/pod/HTTP::Link::Parser
- Python: https://pypi.org/project/linkheader-parser/
- Go: https://pkg.go.dev/github.com/peterhellberg/link
- Haskell: https://hackage.haskell.org/package/http-link-header
- Rust: https://docs.rs/indieweb/latest/indieweb/algorithms/link_rel/index.html