vikanezrimayaaaronpk: well, I kinda have to move domains within the next two months, so I can be a guinea pig once I migrate and until the old domain expires~
GWGI found a new reverse geolocation provider that is lightweight enough for me to host local lookup and then fallback when needed to commercial. And now I am trying to fix some limitations in the data
ax5623, strugee_, JoshuaMorris, k3can819, troojg, barnaby, CrimeWave, JadedBlueEyes15, lecaseus, chish, chish_, DenMcH, [Mike] and Saige_Leah joined the channel
GWGI'm just, in between other things, trying to figure out self-hosting reverse geocoding and venue lookup for my local region. aaronpk's compass update got me thinking about things, and I now have tools that can do the data comparison for me.
GWGSo, that led me to do an analysis on simple fixes to the OSM data files I was downloading, and then using that to write a processing script called geogrist that adds administrative boundaries to the files, filters out information the geocoder doesn't use, and regenerates on a scheduled basis
GWGAnd I just think I figured out how to extract some venues from the OSM data and have a local venue service with fallover if needed to a commercial one.
vikanezrimayauuh oops apparently webmention.io doesn't have any client metadata nor h-app markup, so kittybox bailed out, not knowing how to show its identity
vikanezrimayai guess i should show a fallback interface with a bare client id and a warning (I already do synthetic CIMD for h-app markup so it would slot in nicely) instead of bailing out
vikanezrimayaoh, you did? Then why did Kittybox not find it? let's debug… lemme open the code so I remember what I'm talking about, I haven't touched that part in quite a while
vikanezrimayaand since I get HTTP, I try to fall back on h-app markup, with no success because it's not there. Ergo, either your CIMD is not published at the URL of the Client ID, or I'm missing something
vikanezrimayait doesn't seem to respect quality values in the Accept header, and `text/html` always takes priority even if `application/json` is the first
vikanezrimayaI believe my metadata fetching is fully compliant with RFC9110's `Accept` semantics, and it matches the spirit of IndieAuth §4.2.1 note: "authorization servers may wish to continue to support [`h-app` markup served from `client_id`] for backwards compatibility"
vikanezrimayaaaronpk: ok your Client ID is actually correct (I didn't notice the `id` after the slash), so it's purely my backwards compatibility measures being messed up by the Accept semantics on your side
vikanezrimayaWell, I *should* be sending a lower quality value for HTML — I don't currently do that — but it won't help in this particular case. Let me see how this weird HTML fallback works on your side…
vikanezrimayahttps://github.com/aaronpk/webmention.io/blob/php/src/Http/JsonResponder.php <- `respond()` calls `$request->acceptHtml()` which naively checks for `text/html` in `Accept`! This seems to violate the semantics of the `Accept` header, as I clearly indicate I accept JSON, and since JSON is the canonical response format, shouldn't it be preferred?
vikanezrimayaoh, really? that must be a really old version of the spec, because when I got into the IndieWeb, IndieAuth already had metadata discovery from h-app
vikanezrimayagRegor: which is exactly what I'm doing, except I wanted to be clever and save myself an HTTP roundtrip by using content negotiation. Standards exist to be used, after all!