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

Use Atom threading extension to indicate entry comment URL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • Comments
    • None
    • blogs.sun.com
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: