Open berezovskyi opened 3 years ago
Hi @berezovskyi,
A few years ago, I was exactly in the same situation of not having an active endpoint for getting info (in RDF) of mime-types. Thus, we created https://w3id.org/spar/mediatype. Using that service, hosted on the SPAR Ontologies website which is up and running, you can retrieve information about mime-types easily, accessing them using the URL https://w3id.org/spar/mediatype/[mime-type]
, e.g. https://w3id.org/spar/mediatype/text/turtle. Indeed, the content negotiation is active, thus you can get data in RDF/XML, Turtle, JSON-LD and HTML.
If there is a plan to have a system available in a different location, you can find the RDF of all the media types at https://github.com/SPAROntologies/sparontologies.github.io/tree/master/mediatype. All of these have been generated by applying an XSLT I developed a few years ago against the XML describing the media types (that I think I have downloaded from the IANA website).
Thank you, @essepuntato!
@essepuntato , I stumbled across this issue when checking for liveness of Dublin Core references to MIME types. I see the purl URLs now resolve to a resource provided by sparontologies.net, while it didn't seem they were resolving at all earlier this week. Thank you for restoring the resource resolution. It looks reasonable to close this ticket.
Currently, I'm noticing these URLS ...
... ultimately redirect to this URL:
The https://
service of sparontologies.net does not appear to function currently. Do you have a way to enable TLS on that server?
I respect this is a scope-creep of this ticket, and I am happy to shift discussion of TLS to another ticket if anyone notes on which tracker I should do so.
Hi @ajnelson-nist,
Yep, I confirm that https
is not yet set for the SPAR ontologies. However, we will migrate the website to another server later this year, which will include TLS.
It seems server https://conneg.info/ is now also disappeared, breaking https://w3id.org/mediatype/text/html aka https://github.com/perma-id/w3id.org/tree/master/mediatype
Could we just make a static set of files on Github Pages or so? I am most tempted to use https://www.iana.org/assignments/media-types/text/html etc now but unfortunately IANA has not made subpages for every type, so say https://www.iana.org/assignments/media-types/text/plain does not work.
Hello Nicholas,
I came here from https://gist.github.com/stain/4635250 after having a problem with http://purl.org/NET/mediatypes/text/html. Some endpoints that are down:
The only kind of URI up as of now is https://www.iana.org/assignments/media-types/text/html as I learned from #1. Is there something we can do to help bring some of those endpoints back up? Esp. PURL or W3ID one.
From https://mediatypes.conneg.info/ I assume you don't have control over the PURL destination redirect? This is what I can see from https://archive.org/services/purl/domain/NET_mediatypes:
Maybe @davidshotton or @essepuntato (guessing from http://www.sparontologies.net/about) can still point to the right people who can help bring the endpoint back?
Best regards, Andrew