User:Daniel Mietchen/Talks/Wikimania 2012/National Center for Biotechnology Information/JATS-to-MediaWiki

JATS-To-Mediawiki Converter

 * Converts from PubMed Central's XML (also known as NLM DTDs or JATS) to MediaWiki XML
 * Introductory blog post
 * Code on GitHub
 * Example (see below)
 * Resultant wiki page
 * Original on publisher's site / PMC
 * Images and media to come in via the Open Access Media Importer
 * Importing to be automated with a Perl script using MediaWiki::Bot
 * For demo, first paragraph of intro from 10.1371/journal.pone.0001402 could be turned into Polyploidization, or 10.1186/1745-6150-4-43 could be turned into the basis for History of phylogenetic trees

Example steps to convert an article
Example:

# Get the code git clone https://github.com/konrad/JATS-to-Mediawiki.git # Convert an article using its PMID show_art.pl 19917100 | xsltproc --novalid JATS-to-Mediawiki/jats-to-mediawiki.xsl - > 19917100.mw.xml