Citoid/Zotero's Tech Talk

Context
On 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: <>

Slides, video, IRC log

 * File:Translators-citoid.pdf
 * http://www.youtube.com/watch?v=ltEL-kPURKs
 * IRC log

About Sebastian

 * http://www.sebastiankarcher.com/curriculum-vitae/
 * karcher@u.northwestern.edu

Citoid Demo
https://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
https://en.wikipedia.org/wiki/Wikipedia:TWL/Citoid#Testing

https://github.com/wikimedia/citoid

Tools/Development Environment
https://www.mozilla.org/en-US/firefox/new/

https://www.zotero.org/download/

https://www.zotero.org/support/dev/translators/scaffold

Sample Translators
Full 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
http://www.pagina12.com.ar/diario/sociedad/3-268645-2015-03-21.html

http://www.pagina12.com.ar/buscador/resultado.php?q=wikipedia

Help Resources

 * Automated Tests: (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).