rome
  1. rome
  2. ROME-150

Content Module: Suggested changes to content:encoded tag

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Other

    • Issuezilla Id:
      150

      Description

      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
      component).

      I am currently using the following mappings:
      title => /rss/channel/item/title
      description => /rss/channel/item/description
      short_snippet => /rss/channel/item/content:encoded[0]
      long_snippet => /rss/channel/item/content:encoded[1]

      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[0] is the short snippet and content:element[1] 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...

      Thanks

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            rome-issues
            Reporter:
            sujitpal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: