Feeds Tag

The Feeds tag is the primary tag that you will use to display the aggregated RSS feeds.

Example

Let's look at a basic Feeds tag example. View a live demo.

Parameters

feeds

feeds="http://www.example.com/rss.xml|http://www.anotherexample.com/rss.xml"

Required This parameter specifies the RSS feeds to aggregate. You can specify multiple RSS feeds using pipe "|" as a delimiter.

orderby

orderby="rss_pub_date"

The "orderby" parameter sets the display order of the items.

Possible Values

  • orderby="rss_pub_date" (default)
  • orderby="rss_title"

order

order="asc"

The "order" parameter sets the display order of the items.

Possible Values

  • order="desc" (default)
  • order="asc"

limit

limit="3"

The "limit" parameter sets a limit on the number of items returned.

pub_date_format

pub_date_format="m-d-Y H:i:s"

The "pub_date_format" parameter formats the date returned for each item using PHP's date() function.

Single Variables

rss_pub_date

{rss_pub_date}

The publication date of the feed item.

rss_title

{rss_title}

The title of the feed item.

rss_url

{rss_url}

The url to the full article.

rss_description

{rss_description}

A description of the item.

rss_channel_title

{rss_channel_title}

The title of the RSS channel.

rss_channel_description

{rss_channel_description}

A description of the RSS channel.