💾 Archived View for rawtext.club › ~sloum › geminilist › 006316.gmi captured on 2023-09-28 at 16:49:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

[tech] gmisub2atom

Luke Emmet luke at marmaladefoo.com

Sat Apr 10 22:27:44 BST 2021

- - - - - - - - - - - - - - - - - - - 

On 10-Apr-2021 21:40, mbays wrote:

I couldn't find an implementation of what is described in the gmisub
spec, i.e. conversion to an atom feed, and I wanted it for use in
newsboat. So I just implemented it myself.
=
gemini://gemini.thegonz.net/gmisub2atom/
Nothing fancy, just a simpleminded C implementation. For the heavy
lifting of parsing gemini and urls, it uses some code from sircmpwn's
gmni and (like gmni) curl, both of which were quite pleasant to use.
Maybe this has already been done and I just couldn't find it?

I made a CGI converter about a year ago before the GMI feed spec became a thing:

https://github.com/LukeEmmet/GMIToAtomFeed

The idea is that you write a GMI feed on your server and then the script serves live Atom XML.

The design is quite simple, but in Rebol, which is not everyone's day to day language. It runs off the same server as the Atom feed is fed from, so it doesnt have the added feature of retrieving an arbitrary 3rd party GMI feed.

Works for me, but I'm glad the GMI feed spec became a companion spec, as that is much more Gemini-native.

- Luke