Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7500110E26 for ; Tue, 17 Sep 2013 18:49:36 +0000 (UTC) Received: (qmail 31764 invoked by uid 500); 17 Sep 2013 18:49:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 31663 invoked by uid 500); 17 Sep 2013 18:49:29 -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 31578 invoked by uid 99); 17 Sep 2013 18:49:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 18:49:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fiatjaf@gmail.com designates 209.85.216.177 as permitted sender) Received: from [209.85.216.177] (HELO mail-qc0-f177.google.com) (209.85.216.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 18:49:22 +0000 Received: by mail-qc0-f177.google.com with SMTP id x12so3875212qcv.36 for ; Tue, 17 Sep 2013 11:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=m+spzkfECQJMJfyQX0iUsBOMTrTriTLrIkwLJ/0zmRQ=; b=TUPF4zPpE97Kh3vUwIzCu8tYkBl9xqGtkXmfssOpjyUjrXRll2nHGj8OICk7nea2MV oe7tP9JMddMUqt3PAA35W9PR699kDAWR+OfjEj9Pub776X80yueq/14hR7zKJpF41aT1 dkfyR5h/fVDxI2jfQr4T3w7Y9mGg5CGXTHQycVheNlOQBPm9I2qm8ce1QUU5fLYD3vis q3ogyK2u3rBTHH+qclV3zv1E3/fKmO6cXxFN/xCiF1d3dkEpN8qBrYT+rOLevSGxt1wH /b9sPL8NsoGqVjyis1Td0cIezmG6gr/Z9/7fc8upMPMaryWM2C6m4bdnujf5AwLsDgKT wG/g== X-Received: by 10.224.169.6 with SMTP id w6mr9167626qay.23.1379443741915; Tue, 17 Sep 2013 11:49:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.25.111 with HTTP; Tue, 17 Sep 2013 11:48:41 -0700 (PDT) Reply-To: fiatjaf@gmail.com In-Reply-To: References: <1379442428.82524.YahooMailNeo@web171502.mail.ir2.yahoo.com> From: Giovanni P Date: Tue, 17 Sep 2013 15:48:41 -0300 Message-ID: Subject: Re: Map view To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=089e0160c23039820804e698c6d3 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160c23039820804e698c6d3 Content-Type: text/plain; charset=UTF-8 what "code (script)"? from where? try jquery-couch: http://daleharvey.github.io/jquery.couch.js-docs/symbols/ On Tue, Sep 17, 2013 at 3:32 PM, Stanley Iriele wrote: > How are you trying to access couch dB?.. All you have to do is use and http > client in whatever language you use and make the request.... Also you > should look at the http view api > On Sep 17, 2013 2:28 PM, "Rana Bunnni" wrote: > > > Hi guys, > > Please , i need help : > > I have the following map view : > > > > function(doc) { > > if(doc.type === "course"){ > > for(var i in doc.week){ > > emit(doc._id,[{courseName:doc.course_name,week:doc.week[i]}]); > > }}} > > > > > > And via RestFullApi can i get all the weeks number. But the problem i > > don't know how can i get these information by code(script). I don't know > > how can i write the script for that url to get all information. > > Please help me. > > > > Best regards > > Rana > > > --089e0160c23039820804e698c6d3--