Submitted by admin on Wed, 02/25/2009 - 12:20.
Sample 3 - Filter Try it!
The following mashup utilizes the Calais Popfly Block to display only those Twitter posts in which Calais identified a URL.
The individual blocks in this mashup are configured as follows:
User Input
Calais Popfly Block
Filter
Note that condition argument. We first ensure that only non-null items are tested (x denotes an item in the list). These non-null items pass the filter if they include the text 'URL -' in their calaisText member. This means Calais identified a URL entity.
RSSList
The results are presented using the RSSList block with the original text in the title and the identified entities in the description.
Result
The image below shows an example of the resulting mashup (after entering the API key and clicking Go):
