Citoid/Zotero's Tech Talk
Context
editOn February 29, 2016 a Tech Talk was hosted about "Automated citations in Wikipedia: Citoid and the technology behind it", presented by Sebastian Karcher (Syracuse University, Zotero).
Here's the summary he provided: <<The talk provides a very brief introduction to Marielle Volz's Citoid, the tool providing Wikipedia's new automated citations.I then focus on the technology underlying Citoid, Zotero translators, and discuss how interested users/developers can help improve that functionality to better serve the Wikipedia community.>>
Slides, video, IRC log
editAbout Sebastian
edit- http://www.sebastiankarcher.com/curriculum-vitae/
- karcher@u.northwestern.edu
Linklist
editCitoid Demo
edithttps://en.wikipedia.org/wiki/User:Sebastiankarcher/sandbox
http://www.nytimes.com/2009/03/29/weekinreview/29cohen.html
http://www.jstor.org/stable/40503515
Citoid Documentation
edithttps://en.wikipedia.org/wiki/Wikipedia:TWL/Citoid#Testing
https://github.com/wikimedia/citoid
Tools/Development Environment
edithttps://www.mozilla.org/en-US/firefox/new/
https://www.zotero.org/download/
https://www.zotero.org/support/dev/translators/scaffold
Sample Translators
editFull list: https://github.com/zotero/translators
Scrape: https://github.com/zotero/translators/blob/master/FAZ.NET.js
Use metadata:https://github.com/zotero/translators/blob/master/PLoS%20Journals.js
Framework (easier to write, but less flexible, not covered)
https://github.com/zotero/translators/blob/master/The%20Atlantic.js
Working on today
edithttp://www.pagina12.com.ar/diario/sociedad/3-268645-2015-03-21.html
http://www.pagina12.com.ar/buscador/resultado.php?q=wikipedia
Help Resources
edit- Automated Tests:
chrome://zotero/content/tools/testTranslators/testTranslators.html
(works only in Firefox) - Documentation: https://www.zotero.org/support/dev/translators/coding
- Help on xpaths (archived): http://archive.oreilly.com/pub/a/perl/excerpts/system-admin-with-perl/ten-minute-xpath-utorial.html (mostly xml)
- javascript: you don’t need much. Codeacademy’s javascript course is good, e.g.
- regular expressions “regex”: e.g. http://regexone.com/ is one option. There are many…
- Zotero developer group: https://groups.google.com/forum/#!forum/zotero-dev(make your code available)
- Or just submit your code as a pull request to https://github.com/zotero/translators/ — we’ll work with you
- After you have created a translator, please file a task against Citoid in Phabricator to request to pull it into Citoid (example).