Samples in script

Name Description Groovy script Link
Aggregate feeds Aggregates Yahoo! and CNN feeds. source
Sort feed entries Sort entries of the aggregated feed from Yahoo! and CNN by title in ascending order. source
Filter feed entries by keywords, render by Atom view Filter the entries of the aggregated feed from Yahoo! and CNN by keywords 'U.S.'. Then render with Zero Atom view support. source
Filter feed entries by expression in Groovy closure Filter the entries of the aggregated feed from Yahoo! and CNN whose entry summary contains 'U.S.'. source
Truncate feed entries Return the first latest 10 entries from an sorted feed from Yahoo! and CNN. Then render String of feed content directly. source
Render feed in RSS format As same as "truncate feed entries" sample in data but render result in RSS2.0 format. source
Render feed over Groovy template Demonstrate accessing feed over DOM API in a ready Groovy template. source template
Render feed by custom view Demonstrate accessing feed and rendering result over Groovy's XMLSlurper. source
Group feed entries Count feed entries of each publishing company in Yahoo! news feed. source
Track Search

Search track from Last.fm by track name Believe, the result will be returned in XML format.

Note:

In order to play with some samples invoking Last.fm Web service, you need to configure your API key so that the zero.flow.demo module can access Last.fm on your behalf. This is accomplished by adding an entry to your config/zero.config file. The entry looks like the following example:

/config/lastfm/apiKey="xyxyxyxyxyxyxyxyxyxy"
				
source