You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Tyler Gillies <ty...@pdxbrain.com> on 2010/09/24 14:28:51 UTC

pushing data into list

im trying to post some XML into a list url, its telling me its not valid
JSON. Is there a way to send any type of data besides JSON to a list? (i'm
using it as a callback to catch and act on it)

-- 
http://www.readwriteweb.com/about#tyler

My website: http://list.pdxbrain.com

Re: pushing data into list

Posted by Simon Metson <si...@googlemail.com>.
A list function is applied to a view result. It can be used to make  
XML (or whatever) out of the view's json data structure, but you don't  
really post XML to it. You can send arguments to the list function via  
the request, see http://wiki.apache.org/couchdb/Formatting_with_Show_and_List 
  for more info.
Cheers
Simon

On 24 Sep 2010, at 13:28, Tyler Gillies wrote:

> im trying to post some XML into a list url, its telling me its not  
> valid
> JSON. Is there a way to send any type of data besides JSON to a  
> list? (i'm
> using it as a callback to catch and act on it)
>
> -- 
> http://www.readwriteweb.com/about#tyler
>
> My website: http://list.pdxbrain.com