Citoid/Zotero's Tech Talk

Slides

 * File:Translators-citoid.pdf

Talk

 * http://www.youtube.com/watch?v=ltEL-kPURKs

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

wik

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

http://tecnologia.elpais.com/tecnologia/2016/01/15/actualidad/1452854593_728014.html

Help Resources

 * Automated Tests:
 * Documentation: https://www.zotero.org/support/dev/translators/coding
 * Help on xpaths: 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