> Has anyone used Radiant to produce Atom feeds? If so what code did  
> you use?

Long answer:

        http://seansantry.com/development/articles/2006/12/15/creating-an- 
atom-feed-in-radiant/

Short answer:

<?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>

_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to