getResources. In the new MODX site here’s how we’re implementing them.
[*] Use a blank template
[*] Make the Content Type RSS with Inline Disposition
[*] Put the following in the content, replacing the relevant bits, like the &parents=`` param ... you could also leave out the TVs since we are using a custom date for sorting (porting over older blog entries)
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>[[*pagetitle]]</title>
<link>[[~[[*id]]? &scheme=`full`]]</link>
<description>[[*pagetitle:cdata]]</description>
<language>[[++cultureKey]]</language>
<ttl>120</ttl>
<atom:link href="[[~[[*id]]? &scheme=`full`]]" rel="self" type="application/rss+xml" />
[[!getResources?
&tpl=`rssItem`
&parents=`51`
&limit=`10`
&includeContent=`1`
&includeTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&cache=`0`
&sortbyTV=`article_date`
]]
</channel>
</rss>
And our Chunk:
<item>
<title>[[+pagetitle]]</title>
<link>[[++site_url]][[~[[+id]]]]</link>
<description>
[[+tv.article_source:is=``:then=`[[+content:cdata]]`:else=`[[+introtext:cdata:default=`[[+content]]`]]`]]
</description>
<pubDate>[[+tv.article_date:strtotime:date=`%a, %d %b %Y %H:%M:%S -0600`]]</pubDate>
[[+tv.tags:notempty=`<category>[[+tv.tags]]</category>`]]
<guid isPermaLink="false">[[++site_url]][[~[[+id]]]]</guid>
<dc:creator>[[+tv.article_source:default=`[[+tv.blog.AuthorID:userinfo=`fullname`]]`]]</dc:creator>
</item>