Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 28F386329E4 for ; Thu, 19 Mar 2009 18:06:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 40506-08 for ; Thu, 19 Mar 2009 18:06:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by mail.postgresql.org (Postfix) with ESMTP id 03A776326A6 for ; Thu, 19 Mar 2009 18:06:38 -0300 (ADT) Received: by ti-out-0910.google.com with SMTP id w4so476209tib.5 for ; Thu, 19 Mar 2009 14:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KvU7NL2pvo4upeQTbjM178gZG44I8AhrZwNNnHAu/Dw=; b=DVpm2VIJtK7vrqalEMZpApNp+KtemFX6aozfAPRSz6oIwdk8E89vpcVeaKqjQXQVxi QLMiMu4qhQsvLSRixcaOiheITcEvn7NvqhQpV5dE83gCOUzdxHGXiYg+LkOZhU4bV0t3 zR80fu1SoPcvo7ZUdmUanw7i/aYWbj50KuyGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MMaA7DySmyTS4U3i3vGVrUPGFdLPjSQOAYvgr26/0h3X9Z3salpBXyN+SUjdThDLso ye0JspXYe8XYM485IBbomQkYQVp8CIwxZaHd6wQkydClb5IrvxYk9LQPIPaeY59FN4yV cn59Rgefj7ONaksCepS63onfqPGB3J4GbhZt0= MIME-Version: 1.0 Received: by 10.110.43.18 with SMTP id q18mr4611889tiq.33.1237496795668; Thu, 19 Mar 2009 14:06:35 -0700 (PDT) In-Reply-To: <20090319204508.GP8874@alvh.no-ip.org> References: <49C25806.9030505@gmx.net> <37ed240d0903190841p46e9e2f4k7a9915a3ccf76fc9@mail.gmail.com> <20090319154500.GH8874@alvh.no-ip.org> <200903192152.57646.peter_e@gmx.net> <20090319204508.GP8874@alvh.no-ip.org> Date: Fri, 20 Mar 2009 08:06:35 +1100 Message-ID: <37ed240d0903191406t72480feay95518a7bdee03808@mail.gmail.com> Subject: Re: Code snippet hosting? From: Brendan Jurd To: Alvaro Herrera Cc: Peter Eisentraut , pgsql-www@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/171 X-Sequence-Number: 16825 On Fri, Mar 20, 2009 at 7:45 AM, Alvaro Herrera wrote: > Peter Eisentraut escribi=F3: > >> Alright: >> >> http://wiki.postgresql.org/wiki/Snippets >> http://wiki.postgresql.org/wiki/Snippets/Mandelbrot_set >> > Okay, Stefan was kind enough to install the syntax highlighter > extension. =A0I gave it a try and it seems to work great -- thanks, Stefa= n. Nice. It does a good job of highlighting the SQL. I took the liberty of adding the results of the Mandelbrot query to the page while I was there =3D) We could also make a template for a snippet "infobox" that appears floated to one side and shows some pertinent attributes of the snippet, such as what language it's in and which version of Postgres it works with, any dependencies, etc. > > I don't know how to create an index of subpages in the superpage, but I > added category tags so you can see the snippet index here: > http://wiki.postgresql.org/wiki/Category:Snippets Probably relying on the category index is the right way to go ... the superpage could just give an intro explaining what snippets are, and maybe how to go about adding them, and link to the category page. Cheers, BJ