Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 96719 invoked from network); 10 Aug 2010 17:56:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 17:56:57 -0000 Received: (qmail 89491 invoked by uid 500); 10 Aug 2010 17:56:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 89443 invoked by uid 500); 10 Aug 2010 17:56:55 -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 89435 invoked by uid 99); 10 Aug 2010 17:56:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 17:56:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 Whimsica@aol.com designates 64.12.206.41 as permitted sender) Received: from [64.12.206.41] (HELO imr-ma03.mx.aol.com) (64.12.206.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 17:56:44 +0000 Received: from imo-da02.mx.aol.com (imo-da02.mx.aol.com [205.188.169.200]) by imr-ma03.mx.aol.com (8.14.1/8.14.1) with ESMTP id o7AHto3E026095 for ; Tue, 10 Aug 2010 13:55:52 -0400 Received: from Whimsica@aol.com by imo-da02.mx.aol.com (mail_out_v42.9.) id o.d03.7aa5e313 (37143) for ; Tue, 10 Aug 2010 13:55:49 -0400 (EDT) Received: from smtprly-me03.mx.aol.com (smtprly-me03.mx.aol.com [64.12.95.104]) by cia-ma03.mx.aol.com (v129.4) with ESMTP id MAILCIAMA035-b30d4c619299170; Tue, 10 Aug 2010 13:55:42 -0400 Received: from webmail-d053 (webmail-d053.sim.aol.com [205.188.170.229]) by smtprly-me03.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYME035-b30d4c619299170; Tue, 10 Aug 2010 13:55:37 -0400 References: <8CD06C6EAA13C18-1504-13C@webmail-d053.sysops.aol.com> To: user@couchdb.apache.org Subject: Re: definitive guide show examples don't work Date: Tue, 10 Aug 2010 13:55:37 -0400 X-AOL-IP: 75.17.117.178 In-Reply-To: X-MB-Message-Source: WebUI MIME-Version: 1.0 From: whimsica@aol.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CD06CC5F785C2D_1504_1546_webmail-d053.sysops.aol.com" X-Mailer: AOL Webmail 32360-STANDARD Received: from 75.17.117.178 by webmail-d053.sysops.aol.com (205.188.170.229) with HTTP (WebMailUI); Tue, 10 Aug 2010 13:55:37 -0400 Message-Id: <8CD06CC5F713804-1504-945@webmail-d053.sysops.aol.com> X-AOL-SENDER: Whimsica@aol.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO ----------MB_8CD06CC5F785C2D_1504_1546_webmail-d053.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" okay worked if i changed all the double quotes to single quotes. =20 =20 =20 -----Original Message----- From: Randall Leeds To: user@couchdb.apache.org Sent: Tue, Aug 10, 2010 10:37 am Subject: Re: definitive guide show examples don't work Put it in quotes? On Aug 10, 2010 10:17 AM, wrote: In the definitive guide I am supposed to be able to paste this in for a show function(doc, req) { return { base64 : ["iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAsV", "BMVEUAAAD////////////////////////5ur3rEBn////////////////wDBL/", "AADuBAe9EB3IEBz/7+//X1/qBQn2AgP/f3/ilpzsDxfpChDtDhXeCA76AQH/v7", "/84eLyWV/uc3bJPEf/Dw/uw8bRWmP1h4zxSlD6YGHuQ0f6g4XyQkXvCA36MDH6", "wMH/z8/yAwX64ODeh47BHiv/Ly/20dLQLTj98PDXWmP/Pz//39/wGyJ7Iy9JAA", "AADHRSTlMAbw8vf08/bz+Pv19jK/W3AAAAg0lEQVR4Xp3LRQ4DQRBD0QqTm4Y5", "zMxw/4OleiJlHeUtv2X6RbNO1Uqj9g0RMCuQO0vBIg4vMFeOpCWIWmDOw82fZx", "vaND1c8OG4vrdOqD8YwgpDYDxRgkSm5rwu0nQVBJuMg++pLXZyr5jnc1BaH4GT", "LvEliY253nA3pVhQqdPt0f/erJkMGMB8xucAAAAASUVORK5CYII=3D"].join(''), headers : { "Content-Type" : "image/png" } }; } But it says invalid json string and won't accept it. How do I get this to work? Dan =20 ----------MB_8CD06CC5F785C2D_1504_1546_webmail-d053.sysops.aol.com--