Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doriantaylor/p5-json-ld-rdfa
JSON::LD::RDFa - Turn JSON-LD into (X)HTML+RDFa
https://github.com/doriantaylor/p5-json-ld-rdfa
json-ld rdfa
Last synced: about 1 month ago
JSON representation
JSON::LD::RDFa - Turn JSON-LD into (X)HTML+RDFa
- Host: GitHub
- URL: https://github.com/doriantaylor/p5-json-ld-rdfa
- Owner: doriantaylor
- License: apache-2.0
- Created: 2018-06-11T21:13:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T22:57:11.000Z (over 6 years ago)
- Last Synced: 2023-03-12T10:11:35.730Z (almost 2 years ago)
- Topics: json-ld, rdfa
- Language: Perl
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# JSON::LD::RDFa - Turn JSON-LD into (X)HTML+RDFa
## Rationale
The main motivation behind this module is to separate the concerns of
rendering _only_ the semantic content of a Web resource, and rendering
a Web page. In your Web app, you write your response handler code to
produce JSON-LD (or, rather, the JSON-LD
[internal representation](https://json-ld.org/spec/latest/json-ld/#dfn-internal-representation)),
and this module embeds it into (X)HTML+RDFa.A deeper observation, perhaps, is that like (X|HT)ML, JSON-LD is an
(at least partially) ordered tree. This structure can be "borrowed" to
eliminate many of the ambiguities associated with rendering RDF data.
Indeed, the goal of this module is to render a consistent, isomorphic
markup structure for a given JSON-LD input, and provide the ability to
tune that structure enough to produce high-enough quality markup to be
viewed directly for the purpose of development, as well as re-ingested
and further manipulated downstream.## Copyright & License
Copyright (C) 2018 Dorian Taylor
Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may
obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 .Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License.