💾 Archived View for gemi.dev › gemini-mailing-list › 000697.gmi captured on 2024-03-21 at 17:59:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Convert Gemini files to HTML

1. devel (a) datenbrei.de (devel (a) datenbrei.de)

Hi Gemininauts,

I built a converter tool chain for Gemini files to html. Whole directory 
trees can be converted to html and then be served by a normal http server.

95% of the awk code had been programmed by Omar Polo and some snippets 
had been included from dracometallium's gmi2html.awk, especially the 
html header stuff and the correct conversion of linked .gmi-files. See 
more in my posts.

EN: gemini://hubbz.de/en/floss/2021-02-13-convert-gemini-text-to-html.gmi
DE: 
gemini://hubbz.de/de/floss/2021-02-13-gemini-text-format-nach-html-umwandeln.gmi

Original source from Omar - with many thanks:

gemini://gemini.omarpolo.com/post/text-gemini-to-html-with-awk.gmi

If you see improvements, I'd be happy to integrate them.

Martin

Link to individual message.

---

Previous Thread: Medium.com proxy

Next Thread: Trying to learn CGI, please help, total newbie lost