wpoa / JATS-to-Mediawiki

A PubMed Central to MediaWiki converter
4 stars 1 forks source link

Backmatter sections not handled properly #14

Closed Klortho closed 10 years ago

Klortho commented 10 years ago

See https://github.com/Daniel-Mietchen/OA-signalling/issues/66. There, Daniel is just complaining about missing titles from appendices, but in fact, the backmatter sections are not being properly dispatched.

Sample article:

Here's what the structure of the source looks like:

  <body>
   ....
    <sec sec-type="supplementary-material">
      <title>Supplementary Material</title>
      <supplementary-material id="zookeys.324.5827-treatment1" content-type="local-data">
        ...
      </supplementary-material>
      ...
    </sec>
  </body>
  <back>
    <ack>
      <title>Acknowledgments</title>
      ...
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="B1">...</ref>
    </ref-list>
    <app-group>
      <app id="APP1">
        <title>Appendix 1</title>
        <sec sec-type="Morphometry">
          <title>Morphometry</title>
          ...
        </sec>
      </app>
      <app id="APP2">
        <title>Appendix 2</title>
        ...
      </app>
    </app-group>
  </back>
Klortho commented 10 years ago

See https://en.wikisource.org/w/index.php?title=User:Klortho/Tax&oldid=4906907. This is the product of the transformation, after importing it into my private mediawiki instance, and then copying it to WikiSource.

Daniel-Mietchen commented 10 years ago

Still not all fixed - e.g. https://en.wikisource.org/wiki/Wikisource:WikiProject_Open_Access/Programmatic_import_from_PubMed_Central/Reef_Fishes_of_Saba_Bank_Netherlands_Antilles_Assemblage_Structure_across_a_Gradient_of_Habitat_Types#Supporting_Information .