pkp / jatsTemplate

Basic JATS document template generator plugin for OJS
GNU General Public License v3.0
9 stars 12 forks source link

PDFs not prioritized for full body text #59

Closed ewhanson closed 1 hour ago

ewhanson commented 4 hours ago

Problem

When the full-body text is parsed in OJS, OJS prioritizes HTML file types but does no further sorting for the other file types. This can lead to cases where the next available filetype is technically parseable (i.e. a text file), but not an actual "article text" galley file. We should consider PDFs to be higher priority as they are likely to be the desired full-text galley files.

Solution

Galleys should be sorted according to the following hierarchy:

  1. HTML files
  2. PDF files
  3. All other file types

TODO

ewhanson commented 3 hours ago

PRs: