From commits-return-8376-apmail-couchdb-commits-archive=couchdb.apache.org@couchdb.apache.org Sat Apr 21 06:57:53 2012 Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92FBA968F for ; Sat, 21 Apr 2012 06:57:53 +0000 (UTC) Received: (qmail 60677 invoked by uid 500); 21 Apr 2012 06:57:53 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 60532 invoked by uid 500); 21 Apr 2012 06:57:52 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 60516 invoked by uid 500); 21 Apr 2012 06:57:51 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 60513 invoked by uid 99); 21 Apr 2012 06:57:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2012 06:57:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2012 06:57:46 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 3365D78A; Sat, 21 Apr 2012 06:57:26 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sat, 21 Apr 2012 06:57:26 -0000 Message-ID: <20120421065726.43777.95037@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Trivial_Update_of_=22Generating_HTML_from_Ja?= =?utf-8?q?vascript_shows_and_lists=22_by_MarcelloNuccio?= Auto-Submitted: auto-generated 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 c= hange notification. The "Generating HTML from Javascript shows and lists" page has been changed= by MarcelloNuccio: http://wiki.apache.org/couchdb/Generating%20HTML%20from%20Javascript%20show= s%20and%20lists?action=3Ddiff&rev1=3D8&rev2=3D9 Comment: updated old links <> = =3D Generating HTML from Javascript shows and lists =3D - You can generate output from [[http://books.couchdb.org/relax/design-docu= ments/shows|shows]] and [[http://books.couchdb.org/relax/design-documents/l= ists|lists]]. Typically this would be HTML intended for a browser but any = format can be generated. CouchDB already includes [[http://en.wikipedia.org= /wiki/ECMAScript_for_XML|Javascript support]] for XML derived formats (eg A= tom feeds). It is impractical to output HTML directly so some sort of templ= ating is recommended. + You can generate output from [[http://guide.couchdb.org/draft/show.html|s= hows]] and [[http://guide.couchdb.org/draft/transforming.html|lists]]. Typ= ically this would be HTML intended for a browser but any format can be gene= rated. CouchDB already includes [[http://en.wikipedia.org/wiki/ECMAScript_f= or_XML|Javascript support]] for XML derived formats (eg Atom feeds). It is = impractical to output HTML directly so some sort of templating is recommend= ed. = As of the 0.11 release of CouchDB you can use CommonJS 1.0 modules in you= r show, list, update, and validation functions - see [[CommonJS_Modules]]. =20