[Radiant] Creating an Atom feed in Radiant
Sean Santry
sean at seansantry.com
Thu Dec 14 19:34:12 CST 2006
In case anyone else is interested in generating an Atom feed for
their Radiant site, I've put together an overview at
http://seansantry.com/development/articles/2006/12/15/creating-an-
atom-feed-in-radiant/
For those who want to skip to the punchline, here's the source for my
Atom Feed page. If it's not obvious what you need to replace, read
the above article :-)
- Sean
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us">
<title type="text">Sean Santry</title>
<link rel="self" href="http://seansantry.com<r:url />" />
<link rel="alternate" type="text/html" href="http://
seansantry.com/" />
<id>http://seansantry.com/</id>
<generator uri="http://radiantcms.org/" version="0.5.2">Radiant
CMS</generator>
<author>
<name>Sean Santry</name>
<uri>http://seansantry.com/</uri>
</author>
<updated><r:find url="/articles/"><r:children:each limit="1"
order="desc"><r:date format="%Y-%m-%dT%H:%M:%SZ" /></
r:children:each></r:find></updated>
<r:find url="/articles/">
<r:children:each limit="10" order="desc">
<entry>
<author><name><r:author /></name></author>
<published><r:date format="%Y-%m-%dT%H:%M:%SZ" /></published>
<updated><r:date format="%Y-%m-%dT%H:%M:%SZ" /></updated>
<title><r:title /></title>
<link rel="alternate" type="text/html" href="http://
seansantry.com<r:url />" />
<id>http://seansantry.com<r:url /></id>
<content type="html"><r:escape_html><r:content /></
r:escape_html></content>
</entry>
</r:children:each>
</r:find>
</feed>
More information about the Radiant
mailing list