Wallogit.com
2017 © Pedro Peláez
RDFa in SilverStripe CMS for Linked Data
This module adds RDFa content in SilverStripe CMS for Linked Data., (*1)
It uses the RDFa Lite 1.1 spec from https://www.w3.org/TR/rdfa-lite/, (*2)
composer require opendatanz/silverstripe-rdfa
See License, (*3)
In your custom template , (*4)
tag, add the following to render thevocab and typeof attributes.
<% include RDFaVocab %>
You can edit the default vocab or add a vocab prefix including the CURIE (compact URI) by using the SilverStripe Config API., (*5)
Page: rdfa_vocab: 'http://some-other-vocab.org/' rdfa_prefix: 'ov: http://open.vocab.org/terms/'
Set the typeof attribute on a per page basis in the CMS unber the RDFa tab., (*6)
A shortcode is available in order to add new property and resource attributes, it wraps the content in a tag and can be used in the CMS content editor using the following shortcode format:, (*7)
[rdfa,property="name",resource="#jo-bloggs"]Jo Bloggs[/rdfa]
typeof based on the available vocab.property attribute.Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique., (*8)
If the issue does look like a new bug:, (*9)
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker., (*10)
See Contributing, (*11)