Chapter

Truncate Module

Truncate Module

The Truncate Module will return X items (where X is the number you specify) from the top of a feed. It limits the output to the first X items.

http://mlb.mlb.com/partnerxml/gen/news/rss/mlb.xml

Lets take our same MLB feed from the Tail Module example, and limit it to the first 5 results.

Truncate Module

All we have to do is enter the number “5” in the Truncate Module “Truncate feed after” field.

Truncate Module

Before the Truncate Module:

Truncate Module

After the Truncate Module:

Truncate Module

0 Comments ↓

No comments yet.

Leave a Reply