💾 Archived View for rawtext.club › ~sloum › geminilist › 002221.gmi captured on 2020-10-31 at 14:24:15. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
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> (andthe associated tags that appear there), and the <BODY> tag itself---it onlyhas 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 dothings.
-spc (Just an idea ... )