Photo of Dublin I took in 2010

Can you spot the syntax error in my RDF-generating Liquid markup?

<item rdf:about="{{ site.baseurl }}{{ post.url }}">
  <title>{{ post.title }}</title>
  <link>{{ site.baseurl }}{{ post.url }}</link>
  <dc:creator>{{ }}</dc:creator>
  <dc:date>{{ | date_to_xml_schema }}</dc:date>

Catch it? No? Well, what if I did this:

  <dc:date>{{ | date_to_xmlschema }}</dc:date>

That’s right, it turns out my RDF/RSS 1.0 feed wasn’t showing the correct value in my Dublin Core date attribute because I had one too many underscores. In my own defense, the use of underscores between each word had me believing they were supposed to appear with each and every word. A textbook definition of assumptions contradicting documentation.

For the dozen or so people still subscribed to my RDF/RSS 1.0 feed, you have excellent taste. Also, I apologise for not spotting this error sooner.

Feeds without timestamps

As an aside, I’m rather intruiged by how different parsers and blog aggregators would handle [malformed] feeds without timestamps. Would they gracefully degrade and assign a date based on when the feed was last polled, or would they attach the current time, or would they just drop the post? I might have to try this; albeit on a specific test feed not my primary blog!

And yes, the photo above is one I took during our trip to Dublin in 2010. The Dublin Core of the city, if you will. Thought I’d just throw that in there.