On Wed, Mar 18, 2020 at 07:36:44AM -0400, Jason McBrayer wrote: > > I've used it to generate a feed for "President Xi, Send The Nukes". Only > issue I notice is that if I pass "-b gemini://carcosa.net/send-the-nukes/" > as the base URL, the feed generates a rel=self for itself of > gemini://carcosa.net/atom.xml, rather than > gemini://carcosa.net/send-the-nukes/atom.xml. The links for all the > other resources are right. Hmm, are you sure you were including a trailing slash with the base URL? If you were giving "-b gemini://carcosa.net/send-the-nukes" then I can see why this would happen, given the standard logic for converting base and relative URLs to an absolute URL. I've just pushed a commit which will add the trailing slash in if it's missing, which would fix that case. But if you really were including the slash, then I'm not sure what's going on... I also fixed the issue with it picking up your index.gmi. If you pull the latest code and regenerate you should at least see that fixed. Thanks for helping me kick the tyres! Cheers, Solderpunk
---
Previous in thread (3 of 5): 🗣️ Jason McBrayer (jmcbray (a) carcosa.net)
Next in thread (5 of 5): 🗣️ solderpunk (solderpunk (a) SDF.ORG)