Wikipedia:OCLC/API
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 the University Institution
- Some related resources:
- Maybe reuse the feedback script for this, some work was also done to ask user permissions: Gerrit change
- A reference model perhaps, in this reference tooltip script: User:Yair_rand/ReferenceTooltips.js
- Citation tools: Citation tools
- Article page loads on Wikipedia
- Userscript parses the page for reference tags
- Start with citation templates or html
- Use COinS span tags (class attribute Z3988) as the starting point to exercise path to and from the OCLC E-Switch API?
- Using Parsoid or ProveIt
- Can Parsoid provide JSONP?
- Do we need a Parsoid instance running on labs?
- Start with citation templates or html
- Defined citation template fields are mapped to an open url request passed to the OCLC 'E-switch' API
- Using OCLC OpenURL Gateway API?
- Send OCLC a batch API request for better performance
- 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
- Cache the result locally for better performance
- 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
- Documentation
- World Cat e-resource fulfillment: API (login: WikiLibrary, password: Wikimedia2013)
- World Cat KnowledgeBase: API
- World Cat KnowledgeBase: request-types
- World Cat KnowledgeBase: openurl-request
- World Cat KnowledgeBase: openurl-response
- World Cat KnowledgeBase: rest-request
- World Cat KnowledgeBase: rest-response
- Related
- Project
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.