Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFs not prioritized for full body text #59

Closed
1 task
ewhanson opened this issue Nov 15, 2024 · 1 comment
Closed
1 task

PDFs not prioritized for full body text #59

ewhanson opened this issue Nov 15, 2024 · 1 comment
Assignees

Comments

@ewhanson
Copy link
Collaborator

ewhanson commented Nov 15, 2024

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 ewhanson self-assigned this Nov 15, 2024
ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
@ewhanson
Copy link
Collaborator Author

ewhanson commented Nov 15, 2024

ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
ewhanson added a commit to ewhanson/jatsTemplate that referenced this issue Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant