Introduction
What are we doing here?
Plone 3 adds a new feature called Content Rules. Through Plone's Site Setup, administrators can create rules which are then assigned to one or more folders and trigger when content in a given folder is added, removed or changed. A content rule is composed of a series of conditions followed by a sequence of actions that are executed if the conditions are true.
The standard conditions can check aspects such as content type or workflow state. In this tutorial, we will show how to create a new condition that checks for keywords on the content item in question. Although the example shows how to create a new type of condition, the process for creating a new type of action is very similar. We will aim to illustrate differences between the two where they occur.
We will assume that you are already familiar with how to use content rules through the Plone user interface, and how to create and install new egg-based add-on products in Plone 3.
