Daniel, I don't know if Jeremy's answer was detailed enough for you to
get it working. I encountered two hiccups. Here's what I did:
- Update your github working directory (obviously)
- Run scripts/fetch-samples.sh
- Run the xslt against one of the documents with this command (name
the output whatever you want):
xsltproc --novalid jats-to-mediawiki.xsl
samples/PMC3003633/1475-2859-9-89.nxml > PMC3003633.mediawiki
The "--novalid" prevents xsltproc from trying to load the DTD.
- There's a bug in the output, that I pointed out before, but didn't
get fixed. You have to edit it to remove the duplicate xmlns=...
pseudo-attribute on the top-level element. Otherwise, my media
importer complains that it is not valid.
- Import it to your wiki of choice. I imported it to my test wiki,
and you can see it here:
http://chrisbaloney.com/wiki/index.php/Physiological_characteristics_of_the_extreme_thermophile_Caldicellulosiruptor_saccharolyticus:_an_efficient_hydrogen_cell_factory
It looks very nice -- good work, Jeremy!