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

create pdf content type #785

Closed
Natkeeran opened this issue Jan 26, 2018 · 0 comments
Closed

create pdf content type #785

Natkeeran opened this issue Jan 26, 2018 · 0 comments

Comments

@Natkeeran
Copy link
Contributor

Natkeeran commented Jan 26, 2018

In the January 24, 2018 CLAW meeting, pdf was suggested as an example content type for people to learn about content modelling in CLAW.

Scope

Islandora 1.7.x supports the following datastreams: RELS-EXT, MODS, DC, OBJ, TECHMD, TN, PREVIEW, FULL_TEXT.

RELS-EXT is not relevant in the CLAW context. MODS and DC depend on the out come of the metadata discussions and the development of application profiles. The user always has the option to add metadata fields they need directly into the content type. TECHMD is also an optional datastream.

Thus, OBJ -> pdf_file, TN, PREVIEW, FULL_TEXT media types are needed.

Drupal currently has several pdf viewers. The promising one seem to be https://www.drupal.org/project/pdf.

Code

Using the above viewer, a test module has been created here: https://github.com/Natkeeran/islandora_pdf

Documentation

ToDO

  • Add TN field
  • Create PREVIEW media bundle, then PREVIEW field to the pdf content type (can be reused for other content types)
  • Create FULL_TEXT media bundle, then FULL_TEXT field to the pdf content type (can be reused for all content types that need OCR)

@bryjbrown
@dannylamb

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