Jump to content

Wikipedia:OCLC/API

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ocaasi (talk | contribs) at 22:17, 24 August 2013 (Desired behavior: add detail). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Desired behavior

  • User installs javascript-based userscript in their common.js page on Wikipedia, opting in with full disclosure to limited sharing of ip information with OCLC and their University Institution
  • Article page loads on Wikipedia
  • Userscript parses the page for reference tags which use citation templates
  • Defined citation template fields will be mapped to an open url request passed to the OCLC OpenURL Gateway API
  • The OCLC API will pair that request with the editor's IP address (university affiliated) and return with links to any available online free full text resources,
  • The article page will be layered with a link to that full text available source next to that reference in the article
  • If the editor clicks on the link, they will go directly to the full text source through their university, with no additional login required

See also