Guides
Tutorials
Pop Tags

RSS Feeds

Create RSS Feeds of your Dynamic Content

Build an RSS feed for a section by creating a .rss file with the same name, and in the same folder as the template which the section is linked with. You can use pop tags to pull dynamic content into the rss file and structure the feed however you like.

For example, the Webpop.com site has a Blog section that's linked to a /blog/index.tpl template. We create an RSS feed for it by adding /blog/index.rss to that same folder.

Here's what the blog/index.rss looks like for the Webpop blog.

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>The Webpop Blog</title>
    <description>News and updates about Webpop</description>
    <link><pop:content.url /></link>
    <atom:link href="<pop:content.url/>.rss" rel="self" type="application/rss+xml" />
    <pop:entries order="created_at DESC" limit="50">
      <item>
        <title>
          <pop:title />
        </title>
        <description>
          <pop:description />
        </description>
        <guid>
          <pop:url />
        </guid>
        <pubDate>
          <pop:created_at format="date" mask="ddd, dd mmm yyyy HH:MM:ss"/> UT
        </pubDate>
        <link>
          <pop:url />
        </link>
      </item>
    </pop:entries>
  </channel>
</rss>
Continue to Custom Field Basics »