From user-return-4426-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Apr 15 13:37:28 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 73300 invoked from network); 15 Apr 2009 13:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2009 13:37:28 -0000 Received: (qmail 50346 invoked by uid 500); 15 Apr 2009 13:37:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50264 invoked by uid 500); 15 Apr 2009 13:37:27 -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 50254 invoked by uid 99); 15 Apr 2009 13:37:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 13:37:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kowsik@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 13:37:18 +0000 Received: by wf-out-1314.google.com with SMTP id 28so3319707wfa.29 for ; Wed, 15 Apr 2009 06:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wd5uEr7qZND/lkJ55axE2cuSwthDDNAprbZNYV+V7a4=; b=xqPnreVIb8aEwy/3Bz2yhkx7LUbAOnTRjIX3oUMuMiEUSXRWfDkrAS3ZibzFOIOAby csW3DSkKdcDfq1+Kl/hQ+USxVec3OB4cmeIoi3ckdiSXpbc04gMg1giCL+ce5yy0NKvv COiEHZ9OqWurkRKidrKsSzcB8KJgKVN25q7Jw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=okaRN4ep2pAamsYWSfsmLHFdFUzlq++oZ+SubxMV84SbGf98XhuVWOaEFEmNJD/3bm 7q/wozaPju14YvT/kNHLry+MA1qaqnPpw44F9HONEi+hGMlcC3ICUa1BCb8bm3AJLtB5 Zym3E9q7uIvSxoX6FzIF+iukJiiPXBSOgvgHU= MIME-Version: 1.0 Received: by 10.142.180.20 with SMTP id c20mr314852wff.174.1239802617493; Wed, 15 Apr 2009 06:36:57 -0700 (PDT) In-Reply-To: <49DBD341.2010603@muly.dk> References: <7db9abd30904031143p6686452dk7aa267e2381f354d@mail.gmail.com> <49D6B35F.5080903@michevan.id.au> <7db9abd30904031934r14bbe886o2d39cdd7c42eefb5@mail.gmail.com> <49D70FA9.9010704@muly.dk> <7db9abd30904061536g535d28b7q5c3ebf2fc3d7626c@mail.gmail.com> <49DB135C.2050002@netzmeister-st-pauli.de> <49DBD341.2010603@muly.dk> Date: Wed, 15 Apr 2009 06:36:57 -0700 Message-ID: <7db9abd30904150636v5d43af16ldcf40af8ae72bc3@mail.gmail.com> Subject: Re: Interactive CouchDB From: kowsik To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks to Jan, this is now on GitHub under an Apache license: http://github.com/janl/jscouch/tree/master Enjoy. K. On Tue, Apr 7, 2009 at 3:27 PM, aju wrote: > Andreas Wenk wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> kowsik schrieb: >>> >>> Ok, >>> I've added the query parameters to influences the final result, >>> specifically key and startkey/endkey. >>> >>> http://labs.mudynamics.com/2009/04/03/interactive-couchdb/ >>> >>> Enjoy, >>> >> I allready did ;-) >> >> One thing: choosing the map/reduce tab and then "sorting pictures by use= r" >> I expect to get >> all entry's belonging to bob when I set key to bob ... But the result is >> empty. When I >> write "bob" I get the result ... for sure because that is the correct >> format. >> >> I think most people will put bob and not "bob" into the field. So a hint >> or escaping it >> with "" by default if the value is not =3D~ [0-9] would be really helpfu= ll. >> >> Andy > > > semi-agreed - i always forget the quotes myself, but i think you should > just write a little help text or example text like: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0try and enter "bob" (remember the quotes) > > supposing int the tutotial you wanted to display a fake REST URL matching > the query, it would look odd IMO that the quotes suddenly are there in th= at > displayed URL and not in the input field > > ./allan > > > > > >