Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Status

Proposed

Target Release

4.1

Issue

ROL-1576

Original Authors

Dave Johnson

Abstract

Make Enhance Roller's existing AtomPub support to make it possible for an AtomPub client application to create, retrieve update and delete comments for each weblog entries.

Requirements

  • CRUD Create, retrieve, update and delete on weblog entry comments
  • Build on the Atom Threading Extension, hereinafter referer referred to as ATE

Issues

...

TBD: no issues raised yet.

Design

In summary: we will model Comments as Atom Entries. Each Weblog Entry will provide a link to it's Comment collection and each Comment will contain a link back to it's entry. In addition, Weblog Entry <entry> elements will include extension elements to indicate if/when comments are allowed and Comment <entry> elements will include extension elements to indicate approval/spam status.

New comment

...

collections

Currently, these URIs are supported for entries collections:

...

Code Block
/roller-services/app/[weblog-handle]/entry/[id]/comments
Comments collection for entry with id

/roller-services/app/[weblog-handle]/entry/[id]/comments/[offset]
Comments collection for entry with id, with offset

/roller-services/app/[weblog-handle]/entry/[id]/comment/[id]
Individual comment

...

Code Block
<rol:comment-status>SPAM</rol:comment-status>

That's all, folks.

Comments

Please comment on the Roller dev mailing list.