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 around to creating a patch to add an updated_at tag.

#2 - It uses the same id for every post, but the atom spec asks for a
unique id for each one.

Hmmm, I'm not sure why you say that. Each post uses its URL for its ID, and that's guaranteed to be unique:


  <r:find url="/articles/">
  <r:children:each limit="10" order="desc">
    <entry>

<!-- snip . . . -->

      <id>http://seansantry.com<r:url /></id>

<!-- snip . . .-->

    </entry>
  </r:children:each>
  </r:find>



- Sean



_______________________________________________
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