@comunica/actor-extract-links-headers
v0.6.0
Published
A headers extract-links actor
Downloads
129
Readme
Comunica Headers Extract Links Actor
An RDF Metadata Extract actor that collects all links headers that match with any of the configured regular expressions.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
Install
$ yarn add @comunica/actor-extract-links-headers
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-extract-links-headers/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:extract-links/actors#headers",
"@type": "ActorExtractLinksHeaders"
"headersRegexes": [
"rel=\"describedby\""
]
}
]
}
Config Parameters
headersRegexes
: An array of regular expressions that will be matched with incoming link headers.