Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 82828 invoked from network); 25 Sep 2010 23:18:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Sep 2010 23:18:12 -0000 Received: (qmail 95557 invoked by uid 500); 25 Sep 2010 23:18:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95498 invoked by uid 500); 25 Sep 2010 23:18:10 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 95484 invoked by uid 99); 25 Sep 2010 23:18:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Sep 2010 23:18:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Sep 2010 23:18:05 +0000 Received: by qyk9 with SMTP id 9so3125567qyk.11 for ; Sat, 25 Sep 2010 16:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=McHWR2PxFb1GMg2EBOzC+Z06W6hr2T5MuPflZqV1wKM=; b=MQNlCuNwUL15Dx2pQRtegaGvf5pgBCiRhzEcg/KnAMRh7flk9Tdj6I2QkpvmYdr9wB 20rrqEa8OYRN7q59xNhTdF5n8NYFstmX4qNFWWlHx1IrjtxntDikf5HjsIhginxx7ARr dNwGHXG1vXpOzkOUOBZ8Base8PbfN+0Pt+hx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=IHpOb5jED+qKj4UVrhMcjtXeBhD4uvHdlUWNGn2cFar3mkddfihlnbP7FwOJloxSn0 lL76p/5oPJh6r6ykx8mk9C+LG4AGXU3FTQmCdf3t3OuIxSL8A7kQJxiSw5A1vZ4RV6NC nIXVpf4PW6nfwqVqZnbRT1Yifia2pfNWBX4/0= MIME-Version: 1.0 Received: by 10.220.47.74 with SMTP id m10mr1601266vcf.242.1285456662081; Sat, 25 Sep 2010 16:17:42 -0700 (PDT) Sender: jchris@gmail.com Received: by 10.220.42.4 with HTTP; Sat, 25 Sep 2010 16:17:42 -0700 (PDT) In-Reply-To: <466FBFC0-E543-41F4-AD11-A8CD217F3C91@gmx.net> References: <466FBFC0-E543-41F4-AD11-A8CD217F3C91@gmx.net> Date: Sat, 25 Sep 2010 16:17:42 -0700 X-Google-Sender-Auth: TkA1BWHg6l3QhHcEnusIQvSnZ7s Message-ID: Subject: Re: Continuous Feed usage with CouchDB From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Sep 22, 2010 at 6:10 AM, Tom Bichay wrote: > Hi, > > I just need a way to invoke a function for each new arriving json. I thought I replied once before, but just in case: try using feed=longpoll, and having your callback function open the connection again. this is much more reliable. also, I can't see how continuous could work with JSONP, even in theory. > > Thanks > Tom > -- > BICHAY IT [bi:shay] > IT | Consulting | Development > Tom Bichay > Freelancer > > Kammachergasse 2 > 89073 Ulm > 0151 - 20669066 > tom@bichay.de | bichay@gmx.net > www.bichay.de > > -- Chris Anderson http://jchrisa.net http://couch.io