Re: [Radiant] Atom Feeds

2007-03-07 Thread Gabriel Lamounier
this by default :) Be Radiant! Gabriel Message: 1 Date: Mon, 05 Mar 2007 14:20:07 -0500 From: John W. Long [EMAIL PROTECTED] Subject: [Radiant] Atom Feeds To: radiant@lists.radiantcms.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Has anyone used

Re: [Radiant] Atom Feeds

2007-03-07 Thread Sean Santry
Sean Santry technique (http://seansantry.com/development/articles/2006/12/15creating-an- atom-feed-in-radiant/) is fine, but not quite right. #1 - It uses the r:date tag for the updated field, but this tag only displays the published_at date. Agreed, this is a limitation. I just never got

Re: [Radiant] Atom Feeds

2007-03-07 Thread John W. Long
Gabriel Lamounier wrote: r:date parameter name=created_at / r:date parameter name=updated_at / r:date parameter name=published_at / I like it. How about this format: r:date for=updated_at format=foobar / I'll accept a unit tested patch for this. By default the for attribute should be set to

Re: [Radiant] Atom Feeds

2007-03-05 Thread Sean Santry
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

Re: [Radiant] Atom Feeds

2007-03-05 Thread John W. Long
Sean Santry wrote: 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/ Thanks Sean. That's about what I worked out on my own. -- John Long

Re: [Radiant] Atom Feeds

2007-03-05 Thread Daniel Sheppard
Has anyone used Radiant to produce Atom feeds? If so what code did you use? I've got a Page type that exposes all the data needed for an atom feed. http://soxbox.no-ip.org/radiant/svn/extensions/x_groggy/app/models/atom_page.rb There's a few hard-coded things in there - Specifically in the

Re: [Radiant] Atom Feeds

2007-03-05 Thread Daniel Sheppard
content type=htmlr:escape_htmlr:content // r:escape_html/content Your content tag should have mode=escaped if it's going to contain escaped html. Dan. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: