PHPackages                             opendatanz/silverstripe-rdfa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. opendatanz/silverstripe-rdfa

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

opendatanz/silverstripe-rdfa
============================

RDFa in SilverStripe CMS for Linked Data

0.1.1(10y ago)1212[3 issues](https://github.com/opendatanz/silverstripe-rdfa/issues)BSD-3-ClausePHP

Since May 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/opendatanz/silverstripe-rdfa)[ Packagist](https://packagist.org/packages/opendatanz/silverstripe-rdfa)[ RSS](/packages/opendatanz-silverstripe-rdfa/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

SilverStripe RDFa
=================

[](#silverstripe-rdfa)

This module adds RDFa content in SilverStripe CMS for Linked Data.

It uses the RDFa Lite 1.1 spec from

Requirements
------------

[](#requirements)

- SilverStripe ^3.1

Installation
------------

[](#installation)

```
composer require opendatanz/silverstripe-rdfa

```

License
-------

[](#license)

See [License](license.md)

Documentation
-------------

[](#documentation)

### Including a vocab and typeof

[](#including-a-vocab-and-typeof)

In your custom template tag, add the following to render the `vocab` and `typeof` attributes.

```

```

You can edit the default vocab or add a vocab prefix including the CURIE (compact URI) by using the SilverStripe Config API.

```
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.

### Setting properties and resources

[](#setting-properties-and-resources)

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:

```
[rdfa,property="name",resource="#jo-bloggs"]Jo Bloggs[/rdfa]

```

TODO
----

[](#todo)

- Auto populate the `typeof` based on the available `vocab`.
- A GUI for the shortcode that auto populates the `property` attribute.
- More control over the template (currently just renders in a ).
- SPARQL endpoint using something like easyrdf library.
- Expand to the full RDFa spec.

Maintainers
-----------

[](#maintainers)

- Cam Findlay

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

See [Contributing](contributing.md)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbecac0d996e80cca97186edd61a8763636c339087ee30e71935dcf01665bac5?d=identicon)[camfindlay](/maintainers/camfindlay)

---

Top Contributors

[![camfindlay](https://avatars.githubusercontent.com/u/367847?v=4)](https://github.com/camfindlay "camfindlay (2 commits)")

---

Tags

silverstripecmsRDFLinked DatardfaData Graph

### Embed Badge

![Health badge](/badges/opendatanz-silverstripe-rdfa/health.svg)

```
[![Health](https://phpackages.com/badges/opendatanz-silverstripe-rdfa/health.svg)](https://phpackages.com/packages/opendatanz-silverstripe-rdfa)
```

###  Alternatives

[easyrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

61631.9M44](/packages/easyrdf-easyrdf)[sweetrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

261.4M12](/packages/sweetrdf-easyrdf)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1726.3k1](/packages/axllent-silverstripe-cms-tweaks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
