-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hey there. Gemini spec says about return code 52:
The resource requested is no longer available and will not be available again. Search engines and similar tools should remove this resource from their indices. Content aggregators should stop requesting the resource and convey to their human users that the subscribed resource is gone.
Now, implementing this with gmid seems cumbersome to me, as the only possibility I see is for a location block matching all gone files to then block return 52 [...]. I don't think this either scales well nor is the intended use of the location directive.
What about adding an option where there is a section in gmid.conf, similar to types where you list files or locations that when accessed return 52.
Something like:
goners {
/that-post-i-didnt-like.gmi
/posts-that-i-didnt-like/*
include /path/to/file/with/posts/i/didnt/like.txt
}
What do you think? Then, it would be easy to either edit gmid.conf or the included "gonerfile" and then reload with SIGHUP.