Replacing RSS author with Dublin Core’s dc:creator

Internet

Photo of Dublin I took in 2010

When Dave Winer introduced RSS 2.0, he included a number of new tags. One of which was author, which is designed for an email address:

<author>123@fakestreet.springfield (Ruben Schade)</author>

This probably made more sense back then than it does now. While it’d be lovely to contact the owner of a feed, it’s mostly just a huge spam target bullseye.

We have four options (probably more). We can use our regular email address here, and hope our increasingly sophisticated spam filters can handle the sudden and inevitable onslaught. We can pollute our metadata with a fake address, or defeat the purpose of the tag with a junk address we’ll probably never check.

A forth option is to take the RDF-spirited approach and import the Dublin Core namespace:

<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/">

With it, we get the lovely dc:creator tag which lets us do this:

<dc:creator>Ruben Schade</dc:creator>

There is some semantic impact to this; an author isn’t the same as a dc:creator. In some ways however, I think it’s superior. Author asserts a person is defined by their email address. dc:creator assumes an author’s unique identifier (if you will) is their name.

It probably comes down to personal preference above all else; I for one prefer the latter. To be fair though, I have an unusual name combination!

Software packages like WordPress have been doing this for years, and I’ve finally decided to implement it myself on the feeds I generate. I try to avoid importing namespaces in RSS 2.0 when I can, but this is a useful addition. Plus then I get all the extra Dublin Core goodies ^_^.

Photo taken by me of the Dublin skyline in 2010. Ireland is so beautiful!

Author bio and support

Me!

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 ☺️.