On 2025-09-22 03:10, Sébastien Gendre wrote:
Alexis Praga <[email protected]> writes:
I don't know how others do it but a quick way to start can be to use static
hosting, like sourcehut, and point a custom domain there.
A custom domain cost. But, since your e-mail, I started to think about a
solution that is static and could be simple to do.
First, a script that combine multiple RSS/Atom feeds into one RSS
feed. Then, a second script that take the combined RSS feed and generate
a static web page from it.
Could be a nice project to explore Scheme programming. But I couldn't
find a lib to parse and generate RSS/Atom feed, or a template system.
I'm very new to Scheme, I usually code in Python and C.
The planet softwares I have found are very old, and no more maintained. Some
from a very loooong time.
I can share how I would do it!
Guile has SXML and you can use that for parsing any XML, which includes
Atom and RSS!
I in fact have a small website generator (pretty bad, actually but
works) that creates atom feeds and simple one-page static websites based
on some general rules. Same rules for all, they are just evaluated to
different results.
https://git.elenq.tech/guile-simple-site-builder/tree/
Honestly, there were many other ways to architect this, but I wanted to
try to evaluate some code injecting different modules to it.
Maybe you can steal some ideas from there on how to create an `atom`
file from Guile. The code here has no 3 party dependencies, only uses
the Guile standard library.
Good luck! It's indeed a good project to start working with Guile.
Also python and guile are similar to a large degree.
If you want to get some context about scheme and its implementations and
write some, I recommend this "book": The Adventures of a Pythonista in
Schemeland.
http://www.phyast.pitt.edu/~micheles/scheme/
Best,
Ekaitz