Open qjhart opened 4 years ago
This could work, but I worry that the people who manage the DNS records or the websites of organizations aren't necessarily capable of doing this. Support for an extension to ROR is probably not high on the priority list for most such orgs...
These are pretty equivalent to how google or other orgs to site-verification (fior stuff like analytics). It's a fairly standard bar for verifing you control a domain ( and in our case then an ROR id)
One important component of the ror-extension, is to allow for there to be an official authority for this file. There have been an number of proposals for this, including both active uploads, and adding pointers in the ROR record for a link to an external file. I propose that instead, we take our cues from the SEO community and make this a locally published mechanism, and use DNS as our means of authority.
The idea would be this: Given a record; For example UC Davis;
We use the
links
tag to discover any official extension records. In order to allow for multiple different setups, I think we should allow for multiple methodologies. For example we could do the followingWhere the DNS txt file would follow rfc1464 and look something like:
If the DNS TXT record doesn't exist, then make the HEAD Request to LINK
Search the
link
head request, and look for a link ofrel="ror.org"
and follow that linkeIf the the HEAD request doesn't have an appropriate
link
record, then tryLINK/[rorid]
and 'LINK/[rorid].jsonld' , For example look forhttp://ucdavis.edu/05rrcem69
and thenhttp://ucdavis.edu/o5rrcem69.jsonld
Regardless of the method used to discover the authority link, the link itself MUST allow a
Content-type: application/ld+json
tag. Other formats can be included as well.