From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] website: Convert implementation to SXML. Date: Thu, 07 May 2015 15:07:13 +0200 Message-ID: <87lhh0r0xq.fsf@gnu.org> References: <87r3qt3dqt.fsf@openmailbox.org> <87egmt4rfz.fsf@fsf.org> <87vbg5setw.fsf@gnu.org> <87h9rp2snk.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqLWK-0007u8-F4 for guix-devel@gnu.org; Thu, 07 May 2015 09:07:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqLWG-0001lo-7K for guix-devel@gnu.org; Thu, 07 May 2015 09:07:20 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqLWG-0001le-5D for guix-devel@gnu.org; Thu, 07 May 2015 09:07:16 -0400 In-Reply-To: <87h9rp2snk.fsf@openmailbox.org> (Mathieu Lirzin's message of "Thu, 07 May 2015 01:27:43 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: guix-devel@gnu.org Mathieu Lirzin skribis: > From 3d17099c6ac47adc283372c5f78240df10323d01 Mon Sep 17 00:00:00 2001 > From: Mathieu Lirzin > Date: Wed, 6 May 2015 17:36:01 +0200 > Subject: [PATCH] website: Convert implementation to SXML. Thanks, applied! I added a basic export procedure such that we can simply do: scheme@(guile-user)> ,use(www) scheme@(guile-user)> (export-web-site) If you=E2=80=99re still motivated ;-), the next steps are URL factorization= (as discussed before) and header factorization. For the latter I imagine a procedure like this: (define (html-page-header title) `(head (meta (@ (charset "utf-8"))) (meta (@ (name "author") (content "GuixSD Contributors"))) ;; rest of boilerplate... (title ,title))) Ludo=E2=80=99.