Re: Creating an atom feed file to submit to antenna

Original Post

While I like the idea of gemlog format and could submit my index page to Antenna, I thought the cgi route would be fun. I've posted about it in the past but seeing as others are looking at generating the same type of file I thought I might as well toss it back out there for inspiration.

The script is fairly simple, written in python3. Reads through a directory, scrapes a few attributes to put in publish times and tags, title from the first heading, etc. Nothing too crazy but very helpful in automating the process.

atom.xml.py

Copy the file to your cgi-bin directory, drop the `.py` and tweak the variables to match your setup. You can see mine in action here.

atom.xml Live

$ published: 2023-09-02 13:47 $

$ tags: #gemini, #programming $

-- CC-BY-4.0 jecxjo 2023-09-02

Comments?

back

Proxied content from gemini://gemini.sh0.xyz/log/2023-09-02_re_creating_an_atom_feed_file_to_submit_to_antenna.gmi

Gemini request details:

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

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