Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 49835 invoked from network); 23 Apr 2008 07:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 07:33:01 -0000 Received: (qmail 34950 invoked by uid 500); 23 Apr 2008 07:33:03 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 34926 invoked by uid 500); 23 Apr 2008 07:33:03 -0000 Mailing-List: contact couchdb-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-commits@incubator.apache.org Received: (qmail 34914 invoked by uid 99); 23 Apr 2008 07:33:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 00:33:03 -0700 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 07:32:18 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 09A4ED2D5 for ; Wed, 23 Apr 2008 07:32:39 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: couchdb-commits@incubator.apache.org Date: Wed, 23 Apr 2008 07:32:38 -0000 Message-ID: <20080423073238.4396.73227@eos.apache.org> Subject: [Couchdb Wiki] Update of "ServingAppsFromCouchDb" by JanLehnardt X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by JanLehnardt: http://wiki.apache.org/couchdb/ServingAppsFromCouchDb ------------------------------------------------------------------------------ This is a quick'n'dirty hack. All you need to do is fill the {{{$files}}} array with entries of {{{$file}}} arrays that contain the filename and content-type of that file. Run with: - $ curl -X PUT http://server:5984/database/document -d "`upload.php`" + $ curl -X PUT http://server:5984/database/document -d "\`php upload.php\`" {{{