From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Luis_Felipe_L=C3=B3pez_Acevedo?= Subject: Re: Website implementation Date: Sat, 07 Mar 2015 17:43:41 -0500 Message-ID: <73c66aeb8fc0410ec54b651e69a7ca51@openmailbox.org> References: <74473d9c7d46e51bfa41629c7028c650@openmailbox.org> <87a8zo4gbt.fsf@fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUNRn-0006ad-FD for guix-devel@gnu.org; Sat, 07 Mar 2015 17:43:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUNRk-0000qJ-9b for guix-devel@gnu.org; Sat, 07 Mar 2015 17:43:51 -0500 Received: from mail2.openmailbox.org ([62.4.1.33]:45841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUNRk-0000qE-0a for guix-devel@gnu.org; Sat, 07 Mar 2015 17:43:48 -0500 In-Reply-To: <87a8zo4gbt.fsf@fsf.org> 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: David Thompson Cc: guix-devel@gnu.org On 2015-03-07 17:01, David Thompson wrote: > Luis Felipe L=C3=B3pez Acevedo writes: >=20 >> Regarding the Guilish tool(s) to generate the site statically, I have >> these to compare >>=20 >> - Artanis (GNU Project) >=20 > Artanis is intended for dynamic web applications, so I don't think it > would be particularly useful in this instance. I thought that its template mechanism could be used independently as I=20 use Django's to generate my blog statically... [...] >> - tylan's html simple >=20 > I also have an SXML -> HTML converter in guix-web. [0] >=20 >> I still need to get familiar with the fundamentals of Scheme/Guile to >> decide what tool to use. Personally, I'd like to find a way to write >> HTML templates and let a program build the final site. Template=20 >> context >> and inheritance would be nice to have. Maybe this can be done with >> Artanis' template system? >=20 > Lisps have built-in templating via quasiqoute, so you can do any > transformations you'd like on the resulting s-expression. SXML is a > popular way of writing XML/HTML templates in Lisp. See guix-web for > examples. [1] >=20 > Does this help or have I just muddied the waters even more? The Guile world is a completely new world for me, but I'll check=20 guix-web to see how templating works. thanks. > [0] https://gitorious.org/guix-web/guix-web/source/guix/web/sxml.scm > [1]=20 > https://gitorious.org/guix-web/guix-web/source/guix/web/view/html.scm#L= 74 >=20 > -- > David Thompson > Web Developer - Free Software Foundation - http://fsf.org > GPG Key: 0FF1D807 > Support the FSF: https://fsf.org/donate --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.org/