Sure, it’s possible to use getResources to generate an RSS feed. Here’s an example:
Create a document, use the blank template, set the content type to XML and paste this in:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>[[*pagetitle]]</title>
<link>[[++site_url]]</link>
<description>[[*description]]</description>
<lastBuildDate>[[!getTime?format=`%a, %d %b %Y %H:%M:%S %z`]]</lastBuildDate>
<language>en-gb</language>
[[!getResources?
&parents=`3`
&limit=`10`
&sortby=`createdon`
&sortdir=`DESC`
&includeTVs=`1`
&includeContent=`1`
&tpl=`rssListing`
]]
</channel>
</rss>
Adjust the &parents value to the container where you’re saving your pages that you wish to be in your RSS feed. You’ll also notice I have a getTime snippet call in there for the lastBuildDate element, that’s just a snippet that returns the current time in a particular format. The snippet content is:
return strftime($scriptProperties['format']);
Then, for the rssListing chunk, I’ve used this:
<item>
<title>[[+pagetitle]]</title>
<link>[[~[[+id]]]]</link>
<guid>[[~[[+id]]]]</guid>
<pubDate>[[+createdon:strtotime:date=`%a, %d %b %Y %H:%M:%S %z`]]</pubDate>
<description><![CDATA[ [[+introtext]] ]]></description>
</item>
That’s all I needed to get a basic RSS feed working on my (in-development) blog site. Hope it helps