Co-serving a static site over Gemini

Sean Conner sean at conman.org
Fri Jul 17 07:27:33 BST 2020


It was thus said that the Great ext0l at riseup.net once stated:
> 
> Yeah, I briefly considered starting from the HTML output since that'd
> let me ensure that everything looks the same, but then I'd wind up doing
> a bunch of weird stuff to work with elements of the HTML that shouldn't
> be replicated (having a title link at the top of each page is idiomatic
> HTML, but doesn't seem to be idiomatic Gemtext).

  Each of my blog entries is stored in HTML, but not as a complete page.
Bascially, my HTML parser doesn't have to bother with <HTML>, <HEAD> (and
the associated tags that appear there), and the <BODY> tag itself---it only
has to deal with the tags that I use (<P>, <BLOCKQUOTE>, <DL>, <UL>, etc).
But who's to say you even have to convert everything?  You see a <TITLE>? 
Skip over that.  You can tailor both the parser and the ouput to how you do
things.

  -spc (Just an idea ... )


More information about the Gemini mailing list