Community articleModerating forum content programmatically
Added by IBM contributorIBM on December 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Use the Atom Publishing Protocol, also known as AtomPub, to moderate forum content.



Use the Atom Publishing Protocol, also known as AtomPub, to moderate forum content.

Using the WebSphere® Application Server Integrated Solutions Console, you can define one or more moderators who can control the content that is published in the Forums application in the following ways:

Premoderation

This setting requires that all forum entries and replies be approved by the moderator before they are published.

Post-moderation

This setting enables users to flag published content as inappropriate. Flagged content is then reviewed by the moderator, who determines what to do with the entry or reply in question.

The moderator cannot be defined programmatically; see Roles for more information about how to add people to the moderator role. Additionally, you cannot configure which types of moderation to use programmatically; see Managing content moderation and flagged content for information about how to enable moderation.

All users can do the following things programmatically:

  • Flag content as inappropriate.
  • Get a list of inappropriate content flag types.

Moderators can do the following things programmatically:

Retrieving the Forums moderation service document
Before you can manage the entries and replies added to a forum or flagged as inappropriate, you must retrieve the moderation service document. You can use the links that it provides to locate the resources that await moderation approval.

Moderating Forums content
Using the Atom Publishing Protocol, also known as AtomPub, you can take action on content that is awaiting publication review.

Managing flagged Forums content
Using the Atom Publishing Protocol, also known as AtomPub, you can determine what to do with content that has been flagged as inappropriate.

  • Get a list of new entries and replies that need to be reviewed before they can be published.
  • Take action on pending content.
  • Get a list of published content that has been flagged as inappropriate and needs to be reviewed.
  • Take action on flagged content.