Figured this out, mostly. The Wordpress RSS feed doesn't have an "author"
tag so a nil value is returned. Not important, I'll leave it out. Changed
the format attribute to "%A, %B %d, &G" and got a nicely formatted date
string.

Working fine for anyone else interested in using it.

On Sat, Aug 14, 2010 at 2:53 PM, Marshal Linfoot <mlinf...@gmail.com> wrote:

> I'm trying to add recent postings from a Wordpress blog onto a page in my
> Radiant site using the feed_reader extension. Everything installs without
> error (Paul Dix's feedzirra gem and dependencies + the feed_reader
> extension), and it displays some of the feed results correctly, but
> <r:author /> is empty and <r:date /> produces "undefined method `strftime'
> for nil:NilClass". I don't see any errors in the production log.
>
> Testing this on Radiant 0.9.1 with the following code in the page:
>
> <r:feed:entries:each url="http://blog.octopusgardenyoga.com/rss";
> limit="5">
>   <div class="feed-entry">
>     <h2><r:link /></h2>
>     <div class="meta">by <r:author /> on <r:date format="%Y-%m-%d"/></div>
>     <div class="summary"><r:summary /></div>
>   </div>
> </r:feed:entries:each>
>
> The docs for feed_reader say it has been tested on 0.7.1 (old!!) but there
> aren't any special db/assets requirements, other than the feedzirra gem (and
> dependencies), so I figure it should work on 0.9.1 as well.
>
> Any thoughts/ideas for getting this to work?
> --
> marshal
>



-- 
marshal

Reply via email to