Closed judell closed 8 years ago
The documents are linked together. When I expand http://europepmc.org/articles/PMC4688937 I do get http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4688937/ amongst other URIs.
But the other way around I don't, because http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4688937/ is a rel-canonical
URI, which we don't expand.
OK.
Some questions:
DC.Identifier
) which references that identifier.2: Good!
3: If they want transitivity, how do they achieve it?
If they want transitivity, how do they achieve it?
At the moment, by neither end using a <link rel=canonical>
.
But that's probably temporary, even if I can't guarantee how long it's "temporary" for. The reason for not expanding queries for <link rel=canonical>
, if you recall, was actually precisely to avoid problems where a site had the same DOI on about 100 pages, and thus we were trying to load 1000s of annotations on a single page, most of which weren't relevant.
Eventually, it should be possible for us to add rules to the database to handle those nasty edge cases, and then perhaps we can turn off the "don't expand a <link rel=canonical>
" behaviour.
The two URLs share these equivalences:
<meta name="dc:identifier" content="info:pmcid/PMC4688937"/> <meta name="citation_doi" content="10.1186/s13036-015-0022-z"/>
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4688937 has 3 private and 1 public annotations
The badge says 4 for both URLs.
The client receives annotations for http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4688937 as expected: 3 in a group, 1 in public.
(Query: https://hypothes.is/api/search?_separate_replies=true&group=__world__&limit=200&offset=0&order=asc&sort=created&uri=http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpmc%2Farticles%2FPMC4688937%2F)
The client receives nothing for http://europepmc.org/articles/PMC4688937.
(Query: https://hypothes.is/api/search?_separate_replies=true&group=__world__&limit=200&offset=0&order=asc&sort=created&uri=http%3A%2F%2Feuropepmc.org%2Farticles%2FPMC4688937%2F)