Sha256: 3427d2c00f546175d3d62d22f99d3701ad07ebd8d2bf05aaf6baeceb04fad49d
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
# Generated via # `rails generate hyrax:work NewspaperArticle` module Hyrax class NewspaperArticlePresenter < Hyrax::WorkShowPresenter include NewspaperWorks::NewspaperCorePresenter include NewspaperWorks::ScannedMediaPresenter include NewspaperWorks::TitleInfoPresenter include NewspaperWorks::IssueInfoPresenter include NewspaperWorks::IiifManifestPresenterBehavior delegate :author, :photographer, :volume, :edition_number, :edition_name, :issue_number, :geographic_coverage, :extent, :genre, to: :solr_document def publication_date solr_document["publication_date_dtsi"] end def page_ids solr_document['page_ids_ssim'] end def page_titles solr_document['page_titles_ssim'] end private def iiif_metadata_fields [:title, :alternative_title, :place_of_publication, :issn, :lccn, :oclcnum, :held_by, :text_direction, :page_number, :section, :genre, :author, :photographer, :volume, :edition, :issue_number, :geographic_coverage, :extent, :publication_date, :resource_type, :creator, :contributor, :description, :license, :rights_statement, :publisher, :subject, :language, :identifier] end end end
Version data entries
3 entries across 3 versions & 1 rubygems