Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add inbox mapping to metadatawriter config * fix: correct inbox link rel * feat: make LinkTypeParser reuseable to fit all link headers * feat: minor code optimization * feat: cleaned up metadata parser config * feat: further cleanup of metadata parser config * feat: adapted LinkMetadataParser to take a list to be in line with LinkRelMetadataWriter implementation * feat: minor changes to be in line with other classes and code improvements Co-authored-by: Wouter Termont <woutermont@gmail.com>
- Loading branch information
1 parent
ff200e2
commit 759112b
Showing
8 changed files
with
72 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", | ||
"@graph": [ | ||
{ | ||
"comment": "Converts content-type headers into RDF metadata.", | ||
"@id": "urn:solid-server:default:ContentTypeParser", | ||
"@type": "ContentTypeParser" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", | ||
"@graph": [ | ||
{ | ||
"comment": "Converts link headers into RDF metadata.", | ||
"@id": "urn:solid-server:default:LinkRelParser", | ||
"@type": "LinkRelParser", | ||
"linkRelMap": [ | ||
{ | ||
"LinkRelParser:_linkRelMap_key": "type", | ||
"LinkRelParser:_linkRelMap_value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" | ||
}, | ||
{ | ||
"LinkRelParser:_linkRelMap_key": "http://www.w3.org/ns/ldp#inbox", | ||
"LinkRelParser:_linkRelMap_value": "http://www.w3.org/ns/ldp#inbox" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", | ||
"@graph": [ | ||
{ | ||
"comment": "Converts slug headers into RDF metadata.", | ||
"@id": "urn:solid-server:default:SlugParser", | ||
"@type": "SlugParser" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters