💾 Archived View for gemi.dev › gemini-mailing-list › 000860.gmi captured on 2024-03-21 at 18:09:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

[tech] gmisub2atom

1. mbays (mbays (a) sdf.org)

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?

Link to individual message.

2. Luke Emmet (luke (a) marmaladefoo.com)

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

Link to individual message.

---

Previous Thread: A new human language in Gemini: galician

Next Thread: [tech] can git email commit also be archived in mail list?