Closed pvgenuchten closed 5 months ago
Can't default mimetype be set in server config? I can see some servers being optimized for crawling vs. say, serving GeoJSON to R/Python clients. But I don't know how to support default content negotiation for these different cases if Google isn't going to bother to request HTML or JSON-LD before other types.
The json-ld for search engine is embedded in the html response. No need to request json-ld specifically
I tested using this config https://github.com/ksonda/global-river-runner/blob/main/deploy/cloud/latest/pygeoapi.config.yml
(server mimetype set to text/html) and google does indeed retrieve the json response by default still.
see #902
As per RFC4, this Issue has been inactive for 90 days. In order to manage maintenance burden, it will be automatically closed in 7 days.
As per RFC4, this Issue has been closed due to there being no activity for more than 90 days.
i noticed google dataset search does not list any datasets from demo.pygeoapi.io anymore
i wonder if it is related to the fact that rich snippets test finds the json representation
I assume, in case no accept header is given, the json representation is returned by pygeoapi, in my opinion we should return the html representation if no accept header is given (to support this case)