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 2A9E810CB6 for ; Tue, 17 Sep 2013 18:33:24 +0000 (UTC) Received: (qmail 77150 invoked by uid 500); 17 Sep 2013 18:33:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 77110 invoked by uid 500); 17 Sep 2013 18:33:17 -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 77095 invoked by uid 99); 17 Sep 2013 18:33:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 18:33:16 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of siriele2x3@gmail.com designates 209.85.215.179 as permitted sender) Received: from [209.85.215.179] (HELO mail-ea0-f179.google.com) (209.85.215.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 18:33:10 +0000 Received: by mail-ea0-f179.google.com with SMTP id b10so2892573eae.24 for ; Tue, 17 Sep 2013 11:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=M+Dv4KVlky6NyT3puiyNsrGhFt/G7OkOZDrC8WvLzws=; b=F5w1VY4EW2b506fy6CCrsCbU032DyEGAITWttkxs6bkKz5ZyvtskuC19IdWhjjj/ih RKhfHVn1YvK8nCtakkXTTNu6aVADhpo507YLY8s7Mpn6gYLH/0CNUDVHQLlX0ElQ09fO jDI1TU8arM3U2I1FT/8YyeiyN71jzTNhSGug9O/IU8ouEvNNoYhSRft59uVOzmEbNMdK B1NBXqF22E7QbUJXMJ7w7UAAzRknISf3WFQIV2oPrp18SeCgEa/F0pNJfQEvSx2cVEL5 IQoKQmeCaAjeJvMfnBXpJvGxxIcV/0Ga60QWBRGJna9xd9iQ8ArdJY23gaP9/m0ia3kZ ohRQ== MIME-Version: 1.0 X-Received: by 10.15.111.132 with SMTP id cj4mr4850495eeb.56.1379442770273; Tue, 17 Sep 2013 11:32:50 -0700 (PDT) Received: by 10.14.92.9 with HTTP; Tue, 17 Sep 2013 11:32:50 -0700 (PDT) Received: by 10.14.92.9 with HTTP; Tue, 17 Sep 2013 11:32:50 -0700 (PDT) In-Reply-To: <1379442428.82524.YahooMailNeo@web171502.mail.ir2.yahoo.com> References: <1379442428.82524.YahooMailNeo@web171502.mail.ir2.yahoo.com> Date: Tue, 17 Sep 2013 11:32:50 -0700 Message-ID: Subject: Re: Map view From: Stanley Iriele To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=089e0163547c4f96e004e6988cc7 X-Virus-Checked: Checked by ClamAV on apache.org --089e0163547c4f96e004e6988cc7 Content-Type: text/plain; charset=ISO-8859-1 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 > --089e0163547c4f96e004e6988cc7--