New project scope wiki page and a question

18 views
Skip to first unread message

Chris Maloney

unread,
May 19, 2012, 7:35:32 PM5/19/12
to jats-to-...@googlegroups.com
I spent some time reviewing background emails and materials for this project, in prep for working on the paper proposal.  This email is just to let you guys know that while doing this, on the GitHub wiki, I added this project scope page:  https://github.com/konrad/JATS-to-Mediawiki/wiki/Initial-Project-Scope, which includes some notes from emails past, regarding approach, deliverables, and tools we can use.

Daniel, this page gives me a permissions error:  http://species-id.net/wiki/Special:Import, but maybe it is not important.  I think the Perl MediaWiki-Bot looks nice, and I have some experience with Perl (but like Jeremy, none in Python).  So if it will take any amount of time to investigate this permission error, unless you think it is something we can really use, it's probably not worth your time to pursue it

Jeremy, I see you pushed a draft XSLT to the code base.  You named it jats-to-mediawiki.xsl.  Is it meant to be a replacement for Konrad's (misspelled) jats-to-mtediawiki.xsl?  Konrad's file was based on the preview stylesheets.  Just from glancing at yours, it seems to be completely from scratch.

Cheers!
Chris


Jeremy Morse

unread,
May 19, 2012, 9:15:39 PM5/19/12
to jats-to-...@googlegroups.com
Yes, I did start from scratch.  Trying the adapt a JATS->HTML transformation didn't seem like the best starting point to me, since I'm structuring the XSLT around what MediaWiki is capable of formatting, then finding the JATS/NLM structures that can feed into that formatting.  Anything beyond that just needs to be dumped into paragraph text with proper whitespace.  HTML is far more robust, so the preview XSLT handles all kinds of cases that we needn't consider.

Chris


--
You received this message because you are subscribed to the Google Groups "JATS-to-MediaWiki" group.
To post to this group, send email to jats-to-...@googlegroups.com.
To unsubscribe from this group, send email to jats-to-mediaw...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jats-to-mediawiki?hl=en.

Konrad Förstner

unread,
May 20, 2012, 3:49:08 AM5/20/12
to jats-to-...@googlegroups.com
On Sat May 19, 2012 at 09:15:39PM -0400, Jeremy Morse wrote:
>Yes, I did start from scratch.  Trying the adapt a JATS->HTML
>transformation didn't seem like the best starting point to me, since
>I'm structuring the XSLT around what MediaWiki is capable of
>formatting, then finding the JATS/NLM structures that can feed into
>that formatting.  Anything beyond that just needs to be dumped into
>paragraph text with proper whitespace.  HTML is far more robust, so
>the preview XSLT handles all kinds of cases that we needn't consider.

I thinks starting from scratch was a good idea. The jpub3-html.xsl
derivative was a quick hack to generate a demonstration for
Daniel. It's also much better to create MediaWiki XML instead of the
native MediaWiki format. I think we can delete the old (and
misspelled) jats-to-mtediawiki.xsl file from the repository.

Cheers

Konrad

Konrad Förstner

unread,
May 20, 2012, 6:32:54 AM5/20/12
to jats-to-...@googlegroups.com
On Sat May 19, 2012 at 07:35:32PM -0400, Chris Maloney wrote:
>I spent some time reviewing background emails and materials for this
>project, in prep for working on the paper proposal.  This email is
>just to let you guys know that while doing this, on the GitHub wiki,
>I added this project scope page:
https://github.com/konrad/JATS-to-Mediawiki/wiki/Initial-Project-Scope,
>which includes some notes from emails past, regarding approach,
>deliverables, and tools we can use.

I linked the "Initial-Project-Scope" page in the README file and moved
the README to README.md to make rendering of simple markup by github
possible. I would like to update it further but have to admit that I
am not quite sure about the official name of the project. Is
"Encyclopedia of Original Research" the official successor of
"COASPedia"? COASPedia seems to have technical trouble at the momment
[1].

Besides that - there is now also a small script in the repository that
downloads the examples which are listed in the "Test Cases" wiki page.

In the "Initial-Project-Scope" it is suggested to use GPL3. I
personally would use minimal restrictions i.e. Public Domain for the
code. Any opinions on that?

[1] http://www.science3point0.com/coaspedia/index.php/Welcome

Cheers

Konrad

Chris Maloney

unread,
May 20, 2012, 9:16:31 AM5/20/12
to jats-to-...@googlegroups.com
Very nice, Jeremy and Konrad!

I tried out the download script, and it works fine.  I then tried running one through the xslt, and I had to make one change to that stylesheet to get it to work with xsltproc.  I removed the <xsl:attribute name='xmlns:xsi'> constructor. I think it is not right -- "xmlns:xsi" is not an attribute, but a namespace node.  The xslt processor will add this automatically because of the "xsl:schemaLocation" attribute.  At least, xsltproc works that way.


Jeremy Morse

unread,
May 20, 2012, 9:37:07 AM5/20/12
to jats-to-...@googlegroups.com

This is why I had asked previously what processor you'd be using ;)   I will test against xsltproc from now on.

Chris Maloney

unread,
May 20, 2012, 10:19:02 AM5/20/12
to jats-to-...@googlegroups.com
No worries.  I hope you don't mind that I fixed it.  I see that Saxon just gives a warning, rather than an error.  

This one is also wrong, <xsl:attribute name="xmlns">.  It is superfluous -- can be just removed.  It seems that xsltproc produces and extra xmlns='...' pseudo-attribute, and that saxon just ignores it.

daniel.mietchen

unread,
May 20, 2012, 6:29:01 PM5/20/12
to JATS-to-MediaWiki
Sorry for that, but I had replied to the best of my knowledge (which
is near zero on that issue).

daniel.mietchen

unread,
May 20, 2012, 6:31:59 PM5/20/12
to JATS-to-MediaWiki
On May 20, 12:32 pm, Konrad Förstner <kon...@foerstner.org> wrote:
> Is
> "Encyclopedia of Original Research" the official successor of
> "COASPedia"?
Kind of. Never made it official, though.

> COASPedia seems to have technical trouble at the momment
> [1].
COASPedia was meant as a demonstrator to be run for a year, and it
went down for some technical reason shortly after that, just when work
on EOR intensified.

Daniel

daniel.mietchen

unread,
May 20, 2012, 6:37:30 PM5/20/12
to JATS-to-MediaWiki
On May 20, 1:35 am, Chris Maloney <voldr...@gmail.com> wrote:
> Daniel, this page gives me a permissions error:http://species-id.net/wiki/Special:Import, but maybe it is not important.
That page can be used by admins to import pages into the wiki. It
seems you don't even have an account there yet, so that won't work for
you right now.

Daniel

Konrad Förstner

unread,
May 21, 2012, 2:45:27 AM5/21/12
to jats-to-...@googlegroups.com
Okay. It is still linked on the front page of Science 3.0 [1]. Maybe
they should be informed about that.

Cheers

Konrad

[1] http://www.science3point0.com/

Daniel Mietchen

unread,
May 21, 2012, 3:20:24 AM5/21/12
to jats-to-...@googlegroups.com
Mark knows it but has other priorities now - FigShare has taken off
like a rocket.
d.

On Mon, May 21, 2012 at 8:45 AM, Konrad Förstner <kon...@foerstner.org> wrote:
>>> COASPedia seems to have technical trouble at the momment

Konrad Förstner

unread,
May 21, 2012, 3:45:47 AM5/21/12
to jats-to-...@googlegroups.com
On Mon May 21, 2012 at 09:20:24AM +0200, Daniel Mietchen wrote:
>Mark knows it but has other priorities now - FigShare has taken off
>like a rocket.

Okay.

>On Mon, May 21, 2012 at 8:45 AM, Konrad Förstner <kon...@foerstner.org> wrote:
>>>> COASPedia seems to have technical trouble at the momment
>> Okay. It is still linked on the front page of Science 3.0 [1]. Maybe
>> they should be informed about that.
>
Reply all
Reply to author
Forward
0 new messages