Current ROME version: 1.0
Current ROME Content Module version: 0.4
I am using ROME to generate an RSS 2.0 feed to represent a mashup page. Each
component of the mashup needs to have a title, description, a short snippet and
a long snippet (the last 2 are optional, but both can be specified for a given
I am currently using the following mappings:
title => /rss/channel/item/title
description => /rss/channel/item/description
short_snippet => /rss/channel/item/content:encoded
long_snippet => /rss/channel/item/content:encoded
Currently I am relying on convention, ie, I always build two content:encoded
elements per item (it is empty if either or both short_snippet and long_snippet
are not specified) and during parse time, the client would have to /know/ that
content:encoded is the short snippet and content:element is the long snippet.
Would be nice if content:encoded allowed an attribute (the closest equivalent I
could find was Atom content@type attribute, although I would prefer it not
enforce the valid mime type restriction). The attribute could be optional and
would default to current rendering if not specified.
Would this be something that is feasible? I know it involves changing the spec,
which is frozen/unspecified, depending on how you look at it, so it may not be
"correct" to have ROME support something that is not allowed by the spec. But it
would be nice to have...