incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: RSS/Atom feed show/list function
Date Fri, 21 Sep 2012 16:26:02 GMT

On Sep 20, 2012, at 11:53 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:

> https://github.com/refuge/refuge.blog/blob/master/lists/rss_feed.js

Two potential issues with this, from quick inspection:

(1) The date is emitted from the template just using "<pubDate>{{created_at}}</pubDate>”.
It’s not clear whether the created_at field has the correct date format for RSS 2.0.

(2) The XML is generated by calling Mustache.to_html. Does Mustache realize it’s generating
XML not HTML? Otherwise it might for instance generate HTML escapes (like "&eacute;")
that aren’t defined in raw XML.

—Jens
Mime
View raw message