Midnight Pub

midnight pub and miniflux

~beefox

I realized recently that i can subscribe to the midnight pub feed, amazing! However it doesn't work out of the box because it is designed for gemini. So here is my code to get it working as much as i can:

scraper rules:

body > *:not(.reply, form, a:first-of-type) 

url rewrite rules:

rewrite("gemini:\/\/(.*)"|"https://$1")

Fetch Original Content: true

This isn't perfect, and i don't think it will fetch comments (well, it won't, i had it ignore all comments because they don't cause the feed to update), and the external link button doesn't respect the url rewrite (miniflux bug), but it works enough to go look at the post if its interesting.