You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Reese, Nathan" <nr...@integrity-apps.com> on 2010/07/06 17:59:52 UTC

CouchDB with RSS or Atom feed

Can CouchDB be configured to return RSS or Atom XML for HTML GETs?

Nathan

Re: CouchDB with RSS or Atom feed

Posted by Paul Bonser <mi...@gmail.com>.
Yep, just use a list function:
http://wiki.apache.org/couchdb/Formatting_with_Show_and_List

On Tue, Jul 6, 2010 at 10:59 AM, Reese, Nathan
<nr...@integrity-apps.com> wrote:
>
> Can CouchDB be configured to return RSS or Atom XML for HTML GETs?
>
> Nathan
>



-- 
Paul Bonser
http://probablyprogramming.com

Re: CouchDB with RSS or Atom feed

Posted by Sebastian Cohnen <se...@googlemail.com>.
Hey Nathan,

no, it cannot be "configured" to do that.

But you can write a _list function, that can return anything you want. Have a look at the wiki http://wiki.apache.org/couchdb/Formatting_with_Show_and_List or the book http://books.couchdb.org/relax/design-documents/lists. Sofa, the couchapp-based blog, has RSS output, IIRC: http://github.com/jchris/sofa

best,

sebastian

On 06.07.2010, at 17:59, Reese, Nathan wrote:

> 
> Can CouchDB be configured to return RSS or Atom XML for HTML GETs?
> 
> Nathan