From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: Website implementation Date: Sat, 07 Mar 2015 17:01:58 -0500 Message-ID: <87a8zo4gbt.fsf@fsf.org> References: <74473d9c7d46e51bfa41629c7028c650@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]:36653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUMnJ-0003ta-4R for guix-devel@gnu.org; Sat, 07 Mar 2015 17:02:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUMnH-0006sF-VF for guix-devel@gnu.org; Sat, 07 Mar 2015 17:02:01 -0500 Received: from mail.fsf.org ([208.118.235.13]:51605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUMnH-0006sB-T9 for guix-devel@gnu.org; Sat, 07 Mar 2015 17:01:59 -0500 In-Reply-To: <74473d9c7d46e51bfa41629c7028c650@openmailbox.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: Luis Felipe =?utf-8?Q?L=C3=B3pez?= Acevedo , guix-devel@gnu.org Luis Felipe L=C3=B3pez Acevedo writes: > Regarding the Guilish tool(s) to generate the site statically, I have > these to compare > > - Artanis (GNU Project) Artanis is intended for dynamic web applications, so I don't think it would be particularly useful in this instance. > - Hyde Maybe it's too much work, but it would be best to stick with Guile. I think the work on this project could be used to extract our own static site generator for Guile. > - Skribilo I haven't used Skribilo enough to know if it should be used for this purpose. Ludo? > - tylan's html simple I also have an SXML -> HTML converter in guix-web. [0] > 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 context > and inheritance would be nice to have. Maybe this can be done with > Artanis' template system? 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] Does this help or have I just muddied the waters even more? [0] https://gitorious.org/guix-web/guix-web/source/guix/web/sxml.scm [1] https://gitorious.org/guix-web/guix-web/source/guix/web/view/html.scm#L= 74 -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate