Community articleModerating blogs 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 blog content.



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

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

Premoderation
This setting requires that all posts and comments added to all blogs 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 posting or comment 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:
  • Get a list of new entries and comments 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.
  • Get a history of the moderation actions taken on a particular blog posting or comment.

  • Retrieving the Blogs moderation service document
    Before you can manage the entries and comments added to a blog 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 Blogs content
    Using the Atom Publishing Protocol, also known as AtomPub, you can take action on content that is awaiting publication review.

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