[ANN] kiln - a static site generator for Gemini sites

It was thus said that the Great Adnan Maolood once stated:
> On Sun Nov 22, 2020 at 1:04 PM EST, Solderpunk wrote:
> > On Sat Nov 21, 2020 at 6:57 PM CET, wrote:
> > > > I removed support for atom feeds in the last update, but if it's a
> > > > popular request then I can add them back.
> > >
> > > Definitely you should add it back! I don't see Atom feeds going anyway
> > > any time soon, especially since the Gemini feed is only an idea and not
> > > standardized yet. Even when it is, Atom is still useful. I don't see
> > > why there's any need to remove it.
> >
> > This is correct! The new lightweight feed idea is *not* supposed to
> > replace Atom, which is considerably more powerful and flexible. The
> > idea is simply to make it possible to subscribe to even very simple
> > static gemlogs which are maintained by hand, so people are not forced to
> > choose between tedious handwriting of XML, running fragile scripts which
> > attempt to guess a post's timestamp from the filesystem metadata (which
> > is too easily changed by accident) or the filename (which encourages
> > longer, uglier URLs), or running a CMS or static site generator (which
> > they might perceive as over-complicated or over-opinionated), just to
> > make sure people are able to follow their writing.
> >
> > If a site *is* being generated by a CMS or static site generator,
> > there's no reason for it not to provide Atom feeds.
> >
> > Cheers,
> > Solderpunk
> 
> Okay, I will go ahead and re-implement them.
> 
> Question: is it okay for Atom feeds to use relative URLs instead of
> absolute URLs? That would make it easier to have a feed that works over
> Gemini and HTML. It would also make generating the feed simpler.

  Yes, but you can also have multiple <link> elements per entry.  From my
own Atom feed:

	<entry>
	  <id>tag:boston.conman.org,2020-11-22:/2020/11/22.1</id>
	  <title type="text">All I wanted was a surreal email conversation with a 
confused recipient</title>
	  <updated>2020-11-22T03:35:05-05:00</updated>
	  <link rel="alternate" type="text/html"   hreflang="en-US" 
href="http://boston.conman.org/2020/11/22.1" />
	  <link rel="alternate" type="text/gemini" hreflang="en-US" 
href="gemini://gemini.conman.org/boston/2020/11/22.1"  />
	  <link rel="alternate" type="text/plain"  hreflang="en-US" 
href="gopher://gopher.conman.org/0Phlog:/2020/11/22.1" />
	  <content type="html">...</content>
	</entry>

  There can be only one <content> tag, so you'll have to decide if you want
this to contain HTML or plain text (it is also optional).

  -spc

---

Previous in thread (8 of 9): 🗣️ Adnan Maolood (me (a) adnano.co)

View entire thread.