The derived namespace


derived is an add-on to RSS 2.0 XML namespace that provides context about the source code for textual media.

At the moment there’s one attribute, used like this in RSS and RDF:

<derived:code type="text/markdown" 
    url="[github repo]/master/content/post/2016/derived.markdown" />

Or inline in HTML:

<meta property="derived:code"
    content="[github repo]/master/content/post/2016/derived.markdown" />

Multiple attributes with different mime-types could be used, though having a single canoncial source is strongly encouraged.


Like many sites, Rubenerd is written in Markdown and pre-rendered for clients in HTML. This link means smart clients could take the original markdown source, and render it for their specific viewport or client.

Facebook have shown with their stories feature that there’s demand for refactoring/optimising content. I want the same ability for the open web using standard RSS and XML.

How is this different from Dave Winer’s source namespace?

Good question. Dave’s source namespace includes the outline attribute, but that carries an implication that the source is an OPML or similar outline. I wanted an attribute that linked directly to the original source, regardless of structure.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.