Dabbling in CGI

I've always been more of a CGI guy. Output of pages are exactly what gets displayed, no pages with a single div and no content when i examine source. Kind of an odd thing to say as a full stack developer. Within Gemini there isn't any other option for dynamic data so I feel right at home.

I started down the path of automating the generation of my log's atom feed but I currently dont have a great solution for fixing the entry date and time. So for the time being the feed is a manually edited file. Each entry needs a UUID so I created a simple generator based on the file URL.

URL UUID Generator

Finally decided to go with a cgi based feed that reads the date/time from the file itself. I did find a bug, not sure if its with molly brown or amfora but if the feed being provided has a non xml extension that it is not registered as a feed. Even when the status line is `20 text/xml`. Its not the prettiest python code but it works.

$ published: 2022-09-27 11:18 $

$ updated: 2022-10-01 00:33 $

$ tags: programming, gemini $

--- CC-BY-4.0 jecxjo 2022-09-27

Comments?

back

Proxied content from gemini://gemini.sh0.xyz/log/2022-09-27.gmi

Gemini request details:

Original URL
gemini://gemini.sh0.xyz/log/2022-09-27.gmi
Status code
Success
Meta
text/gemini
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.