all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: "Luis Felipe López Acevedo" <felipe.lopez@openmailbox.org>,
	guix-devel@gnu.org
Subject: Re: Website implementation
Date: Sat, 07 Mar 2015 17:01:58 -0500	[thread overview]
Message-ID: <87a8zo4gbt.fsf@fsf.org> (raw)
In-Reply-To: <74473d9c7d46e51bfa41629c7028c650@openmailbox.org>

Luis Felipe López Acevedo <felipe.lopez@openmailbox.org> writes:

> Regarding the Guilish tool(s) to generate the site statically, I have
> these to compare
>
>      - Artanis <http://www.gnu.org/s/artanis/> (GNU Project)

Artanis is intended for dynamic web applications, so I don't think it
would be particularly useful in this instance.

>      - Hyde <http://wiki.call-cc.org/eggref/4/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 <http://www.nongnu.org/skribilo/>

I haven't used Skribilo enough to know if it should be used for this
purpose.  Ludo?

>      - tylan's html simple <https://gitorious.org/taylan-guile/html/>

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#L74

--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

  reply	other threads:[~2015-03-07 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 21:45 Website implementation Luis Felipe López Acevedo
2015-03-07 22:01 ` David Thompson [this message]
2015-03-07 22:43   ` Luis Felipe López Acevedo
2015-03-07 23:00     ` David Thompson
2015-03-09  9:30   ` Ludovic Courtès
2015-03-07 23:01 ` Taylan Ulrich Bayırlı/Kammer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8zo4gbt.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=felipe.lopez@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.