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

Proxy Information
Original URL
gemini://gemini.sh0.xyz/log/2023-09-02_re_creating_an_atom_feed_file_to_submit_to_antenna.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
464.599276 milliseconds
Gemini-to-HTML Time
0.456601 milliseconds

This content has been proxied by September (ba2dc).