New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EM appears to prefer `og:description` to `DC.Description` #1761

Open
adam3smith opened this Issue Oct 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@zuphilip

This comment has been minimized.

Show comment
Hide comment
@zuphilip

zuphilip Oct 9, 2018

Collaborator

Prefering og:description over dc:description seems to be part of RDF translator for a long time now, see

translators/RDF.js

Lines 1095 to 1096 in 3ebf896

newItem.abstractNote = getFirstResults(node, [n.eprints+"abstract", n.prism+"teaser", n.prism2_0+"teaser", n.prism2_1+"teaser", n.og+"description",
n.bibo+"abstract", n.dcterms+"abstract", n.dc+"description.abstract", n.dcterms+"description.abstract", n.dc1_0+"description", n.so+"description"], true);

The changes observed in the latest commit seems not come from changing any translator code, but I guess rather that they changed their webpage slightly.

Collaborator

zuphilip commented Oct 9, 2018

Prefering og:description over dc:description seems to be part of RDF translator for a long time now, see

translators/RDF.js

Lines 1095 to 1096 in 3ebf896

newItem.abstractNote = getFirstResults(node, [n.eprints+"abstract", n.prism+"teaser", n.prism2_0+"teaser", n.prism2_1+"teaser", n.og+"description",
n.bibo+"abstract", n.dcterms+"abstract", n.dc+"description.abstract", n.dcterms+"description.abstract", n.dc1_0+"description", n.so+"description"], true);

The changes observed in the latest commit seems not come from changing any translator code, but I guess rather that they changed their webpage slightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment