Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1287

Use Atom threading extension to indicate entry comment URL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Comments
    • Labels:
      None
    • Customer(s):
      blogs.sun.com
    • Level of effort:
      Couple of hours at most.

      Description

      In RSS 2.0 feeds we use the <comment> element to indicate where one can post comments in response to an entry.

      <comments>$utils.textToHTML($entry.commentLink)</comments>

      In Atom, there's no standard element to do that, but there is a standard extension: the Atom Threading Extension. Let's use it. Here's the spec: http://www.ietf.org/rfc/rfc4685.txt. And here's what it would look like in a Roller feed.

      <?xml version='1.0' encoding='UTF-8'?>
      <feed xmlns='http://www.w3.org/2005/Atom'
      xmlns:thr='http://purl.org/syndication/thread/1.0'>
      ...
      <entry>
      <link rel='replies' thr:count='2' type='application/xhtml+xml' href='Startup-Camp#comments' />
      ...
      </entry>
      </feed>

        Attachments

          Activity

            People

            • Assignee:
              roller_unassigned Roller Unassigned
              Reporter:
              djohnson David Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: