newspaper_works 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.fcrepo_wrapper +4 -0
- data/.gitignore +43 -0
- data/.rubocop.yml +143 -0
- data/.solr_wrapper +8 -0
- data/.travis.yml +50 -0
- data/Gemfile +47 -0
- data/LICENSE +203 -0
- data/README.md +159 -0
- data/Rakefile +38 -0
- data/app/actors/hyrax/actors/newspaper_article_actor.rb +8 -0
- data/app/actors/hyrax/actors/newspaper_container_actor.rb +8 -0
- data/app/actors/hyrax/actors/newspaper_issue_actor.rb +8 -0
- data/app/actors/hyrax/actors/newspaper_page_actor.rb +8 -0
- data/app/actors/hyrax/actors/newspaper_title_actor.rb +8 -0
- data/app/actors/newspaper_works/actors/newspaper_works_upload_actor.rb +88 -0
- data/app/assets/config/newspaper_works_manifest.js +2 -0
- data/app/assets/images/newspaper_works/.keep +0 -0
- data/app/assets/javascripts/newspaper_works/autocomplete_fix.js +33 -0
- data/app/assets/javascripts/newspaper_works/ocr_search.js.erb +6 -0
- data/app/assets/javascripts/newspaper_works/thumbnail_highlights.js.erb +102 -0
- data/app/assets/javascripts/newspaper_works.js +4 -0
- data/app/assets/stylesheets/newspaper_works/_issue_search.scss +13 -0
- data/app/assets/stylesheets/newspaper_works/_issues_calendar.scss +18 -0
- data/app/assets/stylesheets/newspaper_works/_newspaper_works.scss +4 -0
- data/app/assets/stylesheets/newspaper_works/_newspapers_search.scss +38 -0
- data/app/assets/stylesheets/newspaper_works/_search_results.scss +12 -0
- data/app/controllers/hyrax/newspaper_articles_controller.rb +14 -0
- data/app/controllers/hyrax/newspaper_containers_controller.rb +14 -0
- data/app/controllers/hyrax/newspaper_issues_controller.rb +14 -0
- data/app/controllers/hyrax/newspaper_pages_controller.rb +14 -0
- data/app/controllers/hyrax/newspaper_titles_controller.rb +13 -0
- data/app/controllers/newspaper_works/newspapers_controller.rb +117 -0
- data/app/controllers/newspaper_works/newspapers_search_controller.rb +26 -0
- data/app/forms/hyrax/newspaper_article_form.rb +11 -0
- data/app/forms/hyrax/newspaper_container_form.rb +11 -0
- data/app/forms/hyrax/newspaper_issue_form.rb +11 -0
- data/app/forms/hyrax/newspaper_page_form.rb +15 -0
- data/app/forms/hyrax/newspaper_title_form.rb +12 -0
- data/app/forms/newspaper_works/newspaper_core_form_data.rb +17 -0
- data/app/helpers/hyrax/newspaper_articles_helper.rb +5 -0
- data/app/helpers/hyrax/newspaper_containers_helper.rb +5 -0
- data/app/helpers/hyrax/newspaper_issues_helper.rb +5 -0
- data/app/helpers/hyrax/newspaper_pages_helper.rb +5 -0
- data/app/helpers/newspaper_works/application_helper.rb +5 -0
- data/app/helpers/newspaper_works/breadcrumb_helper.rb +92 -0
- data/app/helpers/newspaper_works/newspaper_works_helper_behavior.rb +103 -0
- data/app/helpers/newspaper_works/newspapers_helper.rb +5 -0
- data/app/indexers/concerns/newspaper_works/indexes_full_text.rb +17 -0
- data/app/indexers/concerns/newspaper_works/indexes_place_of_publication.rb +67 -0
- data/app/indexers/concerns/newspaper_works/indexes_publication_date_range.rb +35 -0
- data/app/indexers/concerns/newspaper_works/indexes_relationships.rb +125 -0
- data/app/indexers/newspaper_article_indexer.rb +16 -0
- data/app/indexers/newspaper_container_indexer.rb +18 -0
- data/app/indexers/newspaper_issue_indexer.rb +26 -0
- data/app/indexers/newspaper_page_indexer.rb +9 -0
- data/app/indexers/newspaper_title_indexer.rb +19 -0
- data/app/indexers/newspaper_works/newspaper_core_indexer.rb +21 -0
- data/app/jobs/newspaper_works/application_job.rb +4 -0
- data/app/jobs/newspaper_works/compose_issue_pdf_job.rb +13 -0
- data/app/jobs/newspaper_works/create_issue_pages_job.rb +19 -0
- data/app/mailers/newspaper_works/application_mailer.rb +8 -0
- data/app/models/concerns/newspaper_works/blacklight_iiif_search/annotation_behavior.rb +82 -0
- data/app/models/concerns/newspaper_works/blacklight_iiif_search/search_behavior.rb +27 -0
- data/app/models/concerns/newspaper_works/newspaper_core_metadata.rb +67 -0
- data/app/models/concerns/newspaper_works/place_of_publication_behavior.rb +15 -0
- data/app/models/concerns/newspaper_works/scanned_media_metadata.rb +43 -0
- data/app/models/concerns/newspaper_works/solr/document.rb +25 -0
- data/app/models/file_set.rb +10 -0
- data/app/models/newspaper_article.rb +158 -0
- data/app/models/newspaper_container.rb +86 -0
- data/app/models/newspaper_issue.rb +115 -0
- data/app/models/newspaper_page.rb +70 -0
- data/app/models/newspaper_title.rb +111 -0
- data/app/models/newspaper_works/application_record.rb +6 -0
- data/app/models/newspaper_works/derivative_attachment.rb +8 -0
- data/app/models/newspaper_works/ingest_file_relation.rb +14 -0
- data/app/presenters/hyrax/newspaper_article_presenter.rb +38 -0
- data/app/presenters/hyrax/newspaper_container_presenter.rb +11 -0
- data/app/presenters/hyrax/newspaper_issue_presenter.rb +62 -0
- data/app/presenters/hyrax/newspaper_page_presenter.rb +72 -0
- data/app/presenters/hyrax/newspaper_title_presenter.rb +86 -0
- data/app/presenters/newspaper_works/iiif_manifest_presenter_behavior.rb +29 -0
- data/app/presenters/newspaper_works/issue_info_presenter.rb +29 -0
- data/app/presenters/newspaper_works/newspaper_core_presenter.rb +9 -0
- data/app/presenters/newspaper_works/persistent_url_presenter_behavior.rb +16 -0
- data/app/presenters/newspaper_works/place_of_publication_presenter_behavior.rb +8 -0
- data/app/presenters/newspaper_works/scanned_media_presenter.rb +7 -0
- data/app/presenters/newspaper_works/title_info_presenter.rb +13 -0
- data/app/search_builders/concerns/newspaper_works/exclude_models.rb +16 -0
- data/app/search_builders/concerns/newspaper_works/highlight_search_params.rb +14 -0
- data/app/search_builders/newspaper_works/newspapers_search_builder.rb +26 -0
- data/app/services/hyrax/article_genre_service.rb +9 -0
- data/app/services/newspaper_works/jp2_derivative_service.rb +120 -0
- data/app/services/newspaper_works/newspaper_page_derivative_service.rb +91 -0
- data/app/services/newspaper_works/pdf_derivative_service.rb +45 -0
- data/app/services/newspaper_works/pluggable_derivative_service.rb +114 -0
- data/app/services/newspaper_works/text_extraction_derivative_service.rb +56 -0
- data/app/services/newspaper_works/text_formats_from_alto_service.rb +77 -0
- data/app/services/newspaper_works/tiff_derivative_service.rb +54 -0
- data/app/validators/newspaper_works/publication_date_start_end_validator.rb +48 -0
- data/app/validators/newspaper_works/publication_date_validator.rb +16 -0
- data/app/views/catalog/_index_gallery_newspaper_article_wrapper.html.erb +9 -0
- data/app/views/catalog/_index_gallery_newspaper_page_wrapper.html.erb +9 -0
- data/app/views/catalog/_index_header_gallery_newspaper_article.html.erb +23 -0
- data/app/views/catalog/_index_header_gallery_newspaper_page.html.erb +23 -0
- data/app/views/catalog/_index_header_list_newspaper_article.html.erb +7 -0
- data/app/views/catalog/_index_header_list_newspaper_page.html.erb +7 -0
- data/app/views/catalog/_snippets_more.html.erb +16 -0
- data/app/views/catalog/_thumbnail_list_newspaper_article.html.erb +6 -0
- data/app/views/catalog/_thumbnail_list_newspaper_page.html.erb +6 -0
- data/app/views/hyrax/file_sets/_actions.html.erb +45 -0
- data/app/views/hyrax/newspaper_articles/_newspaper_article.html.erb +2 -0
- data/app/views/hyrax/newspaper_articles/show.html.erb +1 -0
- data/app/views/hyrax/newspaper_containers/_newspaper_container.html.erb +2 -0
- data/app/views/hyrax/newspaper_containers/show.html.erb +1 -0
- data/app/views/hyrax/newspaper_issues/_newspaper_issue.html.erb +2 -0
- data/app/views/hyrax/newspaper_issues/show.html.erb +1 -0
- data/app/views/hyrax/newspaper_pages/_newspaper_page.html.erb +2 -0
- data/app/views/hyrax/newspaper_pages/show.html.erb +1 -0
- data/app/views/hyrax/newspaper_titles/_all_front_pages_form.html.erb +5 -0
- data/app/views/hyrax/newspaper_titles/_issue_search_form.html.erb +33 -0
- data/app/views/hyrax/newspaper_titles/_issues_calendar.html.erb +63 -0
- data/app/views/hyrax/newspaper_titles/_newspaper_title.html.erb +2 -0
- data/app/views/hyrax/newspaper_titles/show.html.erb +54 -0
- data/app/views/newspaper_works/base/_attribute_rows.html.erb +42 -0
- data/app/views/newspaper_works/base/_attributes.html.erb +16 -0
- data/app/views/newspaper_works/base/_metadata.html.erb +6 -0
- data/app/views/newspaper_works/base/_newspaper_hierarchy.html.erb +14 -0
- data/app/views/newspaper_works/base/_persistent_url.html.erb +1 -0
- data/app/views/newspaper_works/base/_show.html.erb +45 -0
- data/app/views/newspaper_works/newspapers_search/_date_fields.html.erb +29 -0
- data/app/views/newspaper_works/newspapers_search/_facet_layout.html.erb +8 -0
- data/app/views/newspaper_works/newspapers_search/_facet_limit.html.erb +17 -0
- data/app/views/newspaper_works/newspapers_search/_front_pages_input.html.erb +5 -0
- data/app/views/newspaper_works/newspapers_search/_keyword_input.html.erb +18 -0
- data/app/views/newspaper_works/newspapers_search/_newspapers_facets.html.erb +5 -0
- data/app/views/newspaper_works/newspapers_search/_newspapers_search_form.html.erb +13 -0
- data/app/views/newspaper_works/newspapers_search/_newspapers_search_help.html.erb +8 -0
- data/app/views/newspaper_works/newspapers_search/search.html.erb +13 -0
- data/app/views/records/edit_fields/_alternate_title.html.erb +4 -0
- data/app/views/records/edit_fields/_genre.html.erb +4 -0
- data/app/views/records/edit_fields/_place_of_publication.html.erb +14 -0
- data/app/views/records/edit_fields/_subtitle.html.erb +4 -0
- data/bin/rails +13 -0
- data/config/fcrepo_wrapper_test.yml +5 -0
- data/config/initializers/assets.rb +2 -0
- data/config/locales/newspaper_article.de.yml +12 -0
- data/config/locales/newspaper_article.en.yml +12 -0
- data/config/locales/newspaper_article.es.yml +12 -0
- data/config/locales/newspaper_article.fr.yml +12 -0
- data/config/locales/newspaper_article.it.yml +12 -0
- data/config/locales/newspaper_article.pt-BR.yml +12 -0
- data/config/locales/newspaper_article.zh.yml +12 -0
- data/config/locales/newspaper_container.de.yml +8 -0
- data/config/locales/newspaper_container.en.yml +8 -0
- data/config/locales/newspaper_container.es.yml +8 -0
- data/config/locales/newspaper_container.fr.yml +8 -0
- data/config/locales/newspaper_container.it.yml +8 -0
- data/config/locales/newspaper_container.pt-BR.yml +8 -0
- data/config/locales/newspaper_container.zh.yml +8 -0
- data/config/locales/newspaper_issue.de.yml +8 -0
- data/config/locales/newspaper_issue.en.yml +8 -0
- data/config/locales/newspaper_issue.es.yml +8 -0
- data/config/locales/newspaper_issue.fr.yml +8 -0
- data/config/locales/newspaper_issue.it.yml +8 -0
- data/config/locales/newspaper_issue.pt-BR.yml +8 -0
- data/config/locales/newspaper_issue.zh.yml +8 -0
- data/config/locales/newspaper_page.de.yml +15 -0
- data/config/locales/newspaper_page.en.yml +15 -0
- data/config/locales/newspaper_page.es.yml +15 -0
- data/config/locales/newspaper_page.fr.yml +15 -0
- data/config/locales/newspaper_page.it.yml +15 -0
- data/config/locales/newspaper_page.pt-BR.yml +15 -0
- data/config/locales/newspaper_page.zh.yml +15 -0
- data/config/locales/newspaper_title.de.yml +8 -0
- data/config/locales/newspaper_title.en.yml +8 -0
- data/config/locales/newspaper_title.es.yml +8 -0
- data/config/locales/newspaper_title.fr.yml +8 -0
- data/config/locales/newspaper_title.it.yml +8 -0
- data/config/locales/newspaper_title.pt-BR.yml +8 -0
- data/config/locales/newspaper_title.zh.yml +8 -0
- data/config/locales/newspaper_works.de.yml +50 -0
- data/config/locales/newspaper_works.en.yml +52 -0
- data/config/locales/newspaper_works.es.yml +52 -0
- data/config/locales/newspaper_works.fr.yml +52 -0
- data/config/locales/newspaper_works.it.yml +52 -0
- data/config/locales/newspaper_works.pt-BR.yml +52 -0
- data/config/locales/newspaper_works.zh.yml +52 -0
- data/config/routes.rb +9 -0
- data/config/solr_wrapper_test.yml +9 -0
- data/config/test-fixture/solr-config/_rest_managed.json +3 -0
- data/config/test-fixture/solr-config/admin-extra.html +31 -0
- data/config/test-fixture/solr-config/elevate.xml +36 -0
- data/config/test-fixture/solr-config/mapping-ISOLatin1Accent.txt +246 -0
- data/config/test-fixture/solr-config/protwords.txt +21 -0
- data/config/test-fixture/solr-config/schema.xml +366 -0
- data/config/test-fixture/solr-config/scripts.conf +24 -0
- data/config/test-fixture/solr-config/solrconfig.xml +322 -0
- data/config/test-fixture/solr-config/spellings.txt +2 -0
- data/config/test-fixture/solr-config/stopwords.txt +58 -0
- data/config/test-fixture/solr-config/stopwords_en.txt +58 -0
- data/config/test-fixture/solr-config/synonyms.txt +31 -0
- data/config/test-fixture/solr-config/xslt/example.xsl +132 -0
- data/config/test-fixture/solr-config/xslt/example_atom.xsl +67 -0
- data/config/test-fixture/solr-config/xslt/example_rss.xsl +66 -0
- data/config/test-fixture/solr-config/xslt/luke.xsl +337 -0
- data/config/vendor/imagemagick-6-policy.xml +76 -0
- data/db/migrate/20181214181358_create_newspaper_works_derivative_attachments.rb +12 -0
- data/db/migrate/20190107165909_create_newspaper_works_ingest_file_relations.rb +11 -0
- data/lib/generators/newspaper_works/assets_generator.rb +29 -0
- data/lib/generators/newspaper_works/blacklight_advanced_search_generator.rb +44 -0
- data/lib/generators/newspaper_works/blacklight_iiif_search_generator.rb +41 -0
- data/lib/generators/newspaper_works/catalog_controller_generator.rb +60 -0
- data/lib/generators/newspaper_works/install_generator.rb +97 -0
- data/lib/generators/newspaper_works/templates/annotation_behavior.rb +6 -0
- data/lib/generators/newspaper_works/templates/config/authorities/newspaper_article_genres.yml +86 -0
- data/lib/generators/newspaper_works/templates/config/initializers/newspaper_works.rb +12 -0
- data/lib/generators/newspaper_works/templates/config/initializers/patch_blacklight_advanced_search.rb +74 -0
- data/lib/generators/newspaper_works/templates/custom_search_builder.rb +23 -0
- data/lib/generators/newspaper_works/templates/newspaper_works.scss +1 -0
- data/lib/generators/newspaper_works/templates/newspaper_works_helper.rb +3 -0
- data/lib/generators/newspaper_works/templates/search_behavior.rb +6 -0
- data/lib/newspaper_works/configuration.rb +14 -0
- data/lib/newspaper_works/data/fileset_helper.rb +25 -0
- data/lib/newspaper_works/data/path_helper.rb +40 -0
- data/lib/newspaper_works/data/work_derivatives.rb +314 -0
- data/lib/newspaper_works/data/work_file.rb +92 -0
- data/lib/newspaper_works/data/work_files.rb +181 -0
- data/lib/newspaper_works/data.rb +35 -0
- data/lib/newspaper_works/engine.rb +42 -0
- data/lib/newspaper_works/errors.rb +14 -0
- data/lib/newspaper_works/ingest/base_ingest.rb +69 -0
- data/lib/newspaper_works/ingest/base_publication_info.rb +35 -0
- data/lib/newspaper_works/ingest/batch_ingest_helper.rb +44 -0
- data/lib/newspaper_works/ingest/batch_issue_ingester.rb +129 -0
- data/lib/newspaper_works/ingest/chronam_publication_info.rb +133 -0
- data/lib/newspaper_works/ingest/from_command.rb +52 -0
- data/lib/newspaper_works/ingest/image_ingest_issues.rb +43 -0
- data/lib/newspaper_works/ingest/issue_images.rb +51 -0
- data/lib/newspaper_works/ingest/lc_publication_info.rb +144 -0
- data/lib/newspaper_works/ingest/named_issue_metadata.rb +60 -0
- data/lib/newspaper_works/ingest/ndnp/batch_ingester.rb +64 -0
- data/lib/newspaper_works/ingest/ndnp/batch_xml_ingest.rb +72 -0
- data/lib/newspaper_works/ingest/ndnp/container_ingest.rb +99 -0
- data/lib/newspaper_works/ingest/ndnp/container_ingester.rb +84 -0
- data/lib/newspaper_works/ingest/ndnp/container_metadata.rb +87 -0
- data/lib/newspaper_works/ingest/ndnp/issue_ingest.rb +81 -0
- data/lib/newspaper_works/ingest/ndnp/issue_ingester.rb +101 -0
- data/lib/newspaper_works/ingest/ndnp/issue_metadata.rb +96 -0
- data/lib/newspaper_works/ingest/ndnp/ndnp_asset_helper.rb +20 -0
- data/lib/newspaper_works/ingest/ndnp/ndnp_mets_helper.rb +70 -0
- data/lib/newspaper_works/ingest/ndnp/page_ingest.rb +47 -0
- data/lib/newspaper_works/ingest/ndnp/page_ingester.rb +157 -0
- data/lib/newspaper_works/ingest/ndnp/page_metadata.rb +112 -0
- data/lib/newspaper_works/ingest/ndnp.rb +21 -0
- data/lib/newspaper_works/ingest/newspaper_issue_ingest.rb +56 -0
- data/lib/newspaper_works/ingest/newspaper_page_ingest.rb +6 -0
- data/lib/newspaper_works/ingest/page_image.rb +52 -0
- data/lib/newspaper_works/ingest/path_enumeration.rb +52 -0
- data/lib/newspaper_works/ingest/pdf_images.rb +85 -0
- data/lib/newspaper_works/ingest/pdf_issue.rb +20 -0
- data/lib/newspaper_works/ingest/pdf_issues.rb +39 -0
- data/lib/newspaper_works/ingest/pdf_pages.rb +114 -0
- data/lib/newspaper_works/ingest/pub_finder.rb +89 -0
- data/lib/newspaper_works/ingest/publication_info.rb +44 -0
- data/lib/newspaper_works/ingest.rb +90 -0
- data/lib/newspaper_works/issue_pdf_composer.rb +111 -0
- data/lib/newspaper_works/logging.rb +54 -0
- data/lib/newspaper_works/page_finder.rb +62 -0
- data/lib/newspaper_works/resource_fetcher.rb +78 -0
- data/lib/newspaper_works/text_extraction/alto_reader.rb +122 -0
- data/lib/newspaper_works/text_extraction/page_ocr.rb +100 -0
- data/lib/newspaper_works/text_extraction/render_alto.rb +84 -0
- data/lib/newspaper_works/text_extraction/word_coords_builder.rb +30 -0
- data/lib/newspaper_works/text_extraction.rb +10 -0
- data/lib/newspaper_works/version.rb +3 -0
- data/lib/newspaper_works.rb +19 -0
- data/lib/tasks/newspaper_works_tasks.rake +39 -0
- data/newspaper_works.gemspec +49 -0
- data/spec/.keep.txt +1 -0
- data/spec/actors/newspaper_works/actors/newspaper_works_upload_actor_spec.rb +69 -0
- data/spec/controllers/catalog_controller_spec.rb +63 -0
- data/spec/controllers/newspaper_works/newspapers_controller_spec.rb +114 -0
- data/spec/controllers/newspaper_works/newspapers_search_controller_spec.rb +21 -0
- data/spec/factories/ability.rb +6 -0
- data/spec/factories/newspaper_issue.rb +7 -0
- data/spec/factories/newspaper_issue_ingest.rb +6 -0
- data/spec/factories/newspaper_page.rb +7 -0
- data/spec/factories/newspaper_page_ingest.rb +6 -0
- data/spec/factories/newspaper_page_solr_document.rb +12 -0
- data/spec/factories/newspaper_title.rb +8 -0
- data/spec/factories/uploaded_pdf_file.rb +9 -0
- data/spec/factories/user.rb +13 -0
- data/spec/features/front_pages_for_title_spec.rb +19 -0
- data/spec/features/newspaper_title_search_spec.rb +30 -0
- data/spec/features/newspapers_search_spec.rb +49 -0
- data/spec/features/search_results_thumbnail_highlights_spec.rb +33 -0
- data/spec/features_shared.rb +71 -0
- data/spec/fixtures/files/4.1.07.jp2 +0 -0
- data/spec/fixtures/files/4.1.07.tiff +0 -0
- data/spec/fixtures/files/README.md +7 -0
- data/spec/fixtures/files/alto-2-0.xsd +714 -0
- data/spec/fixtures/files/broken-truncated.pdf +0 -0
- data/spec/fixtures/files/credits.md +16 -0
- data/spec/fixtures/files/lowres-gray-via-ndnp-sample.tiff +0 -0
- data/spec/fixtures/files/minimal-1-page.pdf +0 -0
- data/spec/fixtures/files/minimal-2-page.pdf +0 -0
- data/spec/fixtures/files/minimal-alto.xml +31 -0
- data/spec/fixtures/files/ndnp-alto-sample.xml +24 -0
- data/spec/fixtures/files/ndnp-sample1-json.json +1 -0
- data/spec/fixtures/files/ndnp-sample1-txt.txt +1 -0
- data/spec/fixtures/files/ndnp-sample1.pdf +0 -0
- data/spec/fixtures/files/ocr_alto.xml +202 -0
- data/spec/fixtures/files/ocr_alto_scaled_4pts_per_px.xml +202 -0
- data/spec/fixtures/files/ocr_color.tiff +0 -0
- data/spec/fixtures/files/ocr_gray.jp2 +0 -0
- data/spec/fixtures/files/ocr_gray.tiff +0 -0
- data/spec/fixtures/files/ocr_mono.tiff +0 -0
- data/spec/fixtures/files/page1.tiff +0 -0
- data/spec/fixtures/files/resource_mocks/chronam/http404-expected +0 -0
- data/spec/fixtures/files/resource_mocks/chronam/sn84038814.rdf +1028 -0
- data/spec/fixtures/files/resource_mocks/chronam/sn93059126.rdf +36 -0
- data/spec/fixtures/files/resource_mocks/chronam/sn94051019.rdf +37 -0
- data/spec/fixtures/files/resource_mocks/geonames/Chicopee +1104 -0
- data/spec/fixtures/files/resource_mocks/geonames/Denver +1104 -0
- data/spec/fixtures/files/resource_mocks/geonames/Marysville +279 -0
- data/spec/fixtures/files/resource_mocks/geonames/Marysville2 +279 -0
- data/spec/fixtures/files/resource_mocks/geonames/SLC +1104 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn2099999999 +1 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn82014496 +2 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn83020109 +1 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn83021453 +2 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn83045396 +2 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn84038814 +2 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn93059126 +1 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn94051019 +1 -0
- data/spec/fixtures/files/resource_mocks/lccn/sn99999999 +1 -0
- data/spec/fixtures/files/resource_mocks/urls.json +82 -0
- data/spec/fixtures/files/sample-4page-issue.pdf +0 -0
- data/spec/fixtures/files/sample-color-newsletter.pdf +0 -0
- data/spec/fixtures/files/thumbnail.jpg +0 -0
- data/spec/forms/hyrax/newspaper_article_form_spec.rb +33 -0
- data/spec/forms/hyrax/newspaper_container_form_spec.rb +30 -0
- data/spec/forms/hyrax/newspaper_issue_form_spec.rb +31 -0
- data/spec/forms/hyrax/newspaper_page_form_spec.rb +28 -0
- data/spec/forms/hyrax/newspaper_title_form_spec.rb +31 -0
- data/spec/forms/newspaper_works/newspaper_core_form_data_spec.rb +12 -0
- data/spec/helpers/newspaper_works/breadcrumb_helper_spec.rb +82 -0
- data/spec/helpers/newspaper_works_helper_spec.rb +57 -0
- data/spec/indexers/concerns/newspaper_works/indexes_full_text_spec.rb +31 -0
- data/spec/indexers/concerns/newspaper_works/indexes_place_of_publication_spec.rb +53 -0
- data/spec/indexers/concerns/newspaper_works/indexes_publication_date_range_spec.rb +39 -0
- data/spec/indexers/concerns/newspaper_works/indexes_relationships_spec.rb +86 -0
- data/spec/indexers/newspaper_article_indexer_spec.rb +29 -0
- data/spec/indexers/newspaper_issue_indexer_spec.rb +19 -0
- data/spec/indexers/newspaper_title_indexer_spec.rb +22 -0
- data/spec/indexers/newspaper_works/newspaper_core_indexer_spec.rb +23 -0
- data/spec/lib/newspaper_works/configuration_spec.rb +18 -0
- data/spec/lib/newspaper_works/data/work_derivatives_spec.rb +245 -0
- data/spec/lib/newspaper_works/data/work_file_spec.rb +99 -0
- data/spec/lib/newspaper_works/data/work_files_spec.rb +224 -0
- data/spec/lib/newspaper_works/ingest/batch_issue_ingester_spec.rb +158 -0
- data/spec/lib/newspaper_works/ingest/chronam_publication_info_spec.rb +35 -0
- data/spec/lib/newspaper_works/ingest/from_command_spec.rb +75 -0
- data/spec/lib/newspaper_works/ingest/image_ingest_issues_spec.rb +62 -0
- data/spec/lib/newspaper_works/ingest/ingest_shared.rb +75 -0
- data/spec/lib/newspaper_works/ingest/issue_images_spec.rb +65 -0
- data/spec/lib/newspaper_works/ingest/lc_publication_info_spec.rb +34 -0
- data/spec/lib/newspaper_works/ingest/ndnp/batch_ingester_spec.rb +131 -0
- data/spec/lib/newspaper_works/ingest/ndnp/batch_xml_ingest_spec.rb +64 -0
- data/spec/lib/newspaper_works/ingest/ndnp/container_ingest_spec.rb +44 -0
- data/spec/lib/newspaper_works/ingest/ndnp/container_ingester_spec.rb +126 -0
- data/spec/lib/newspaper_works/ingest/ndnp/container_metadata_spec.rb +36 -0
- data/spec/lib/newspaper_works/ingest/ndnp/issue_ingest_spec.rb +108 -0
- data/spec/lib/newspaper_works/ingest/ndnp/issue_ingester_spec.rb +155 -0
- data/spec/lib/newspaper_works/ingest/ndnp/issue_metadata_spec.rb +84 -0
- data/spec/lib/newspaper_works/ingest/ndnp/page_ingest_spec.rb +79 -0
- data/spec/lib/newspaper_works/ingest/ndnp/page_ingester_spec.rb +184 -0
- data/spec/lib/newspaper_works/ingest/ndnp/page_metadata_spec.rb +85 -0
- data/spec/lib/newspaper_works/ingest/newspaper_issue_ingest_spec.rb +83 -0
- data/spec/lib/newspaper_works/ingest/newspaper_page_ingest_spec.rb +77 -0
- data/spec/lib/newspaper_works/ingest/page_image_spec.rb +29 -0
- data/spec/lib/newspaper_works/ingest/pdf_images_spec.rb +32 -0
- data/spec/lib/newspaper_works/ingest/pdf_issue_spec.rb +29 -0
- data/spec/lib/newspaper_works/ingest/pdf_issues_spec.rb +62 -0
- data/spec/lib/newspaper_works/ingest/pdf_pages_spec.rb +110 -0
- data/spec/lib/newspaper_works/ingest/pub_finder_spec.rb +58 -0
- data/spec/lib/newspaper_works/ingest/publication_info_spec.rb +61 -0
- data/spec/lib/newspaper_works/ingest_spec.rb +45 -0
- data/spec/lib/newspaper_works/issue_pdf_composer_spec.rb +101 -0
- data/spec/lib/newspaper_works/logging_spec.rb +53 -0
- data/spec/lib/newspaper_works/page_finder_spec.rb +53 -0
- data/spec/lib/newspaper_works/resource_fetcher_spec.rb +65 -0
- data/spec/lib/newspaper_works/text_extraction/alto_reader_spec.rb +49 -0
- data/spec/lib/newspaper_works/text_extraction/page_ocr_spec.rb +84 -0
- data/spec/lib/newspaper_works/text_extraction/render_alto_spec.rb +54 -0
- data/spec/lib/newspaper_works/text_extraction/word_coords_builder_spec.rb +30 -0
- data/spec/lib/tasks/newspaper_works_rake_spec.rb +124 -0
- data/spec/misc_shared.rb +109 -0
- data/spec/model_shared.rb +134 -0
- data/spec/models/concerns/newspaper_works/blacklight_iiif_search/annotation_behavior_spec.rb +45 -0
- data/spec/models/concerns/newspaper_works/blacklight_iiif_search/search_behavior_spec.rb +27 -0
- data/spec/models/concerns/newspaper_works/newspaper_core_metadata_spec.rb +45 -0
- data/spec/models/concerns/newspaper_works/place_of_publication_behavior_spec.rb +17 -0
- data/spec/models/concerns/newspaper_works/scanned_media_metadata_spec.rb +35 -0
- data/spec/models/newspaper_article_spec.rb +73 -0
- data/spec/models/newspaper_container_spec.rb +111 -0
- data/spec/models/newspaper_issue_spec.rb +91 -0
- data/spec/models/newspaper_page_spec.rb +44 -0
- data/spec/models/newspaper_title_spec.rb +116 -0
- data/spec/models/newspaper_works/derivative_attachment_spec.rb +37 -0
- data/spec/models/newspaper_works/ingest_file_relation_spec.rb +56 -0
- data/spec/models/solr_document_spec.rb +14 -0
- data/spec/ndnp_shared.rb +48 -0
- data/spec/presenters/hyrax/newspaper_article_presenter_spec.rb +53 -0
- data/spec/presenters/hyrax/newspaper_container_presenter_spec.rb +20 -0
- data/spec/presenters/hyrax/newspaper_issue_presenter_spec.rb +65 -0
- data/spec/presenters/hyrax/newspaper_page_presenter_spec.rb +75 -0
- data/spec/presenters/hyrax/newspaper_title_presenter_spec.rb +153 -0
- data/spec/presenters/newspaper_works/iiif_manifest_presenter_behavior_spec.rb +32 -0
- data/spec/presenters/newspaper_works/issue_info_presenter_spec.rb +51 -0
- data/spec/presenters/newspaper_works/newspaper_core_presenter_spec.rb +22 -0
- data/spec/presenters/newspaper_works/persistent_url_presenter_behavior_spec.rb +24 -0
- data/spec/presenters/newspaper_works/place_of_publication_presenter_behavior_spec.rb +17 -0
- data/spec/presenters/newspaper_works/scanned_media_presenter_spec.rb +18 -0
- data/spec/presenters/newspaper_works/title_info_presenter_spec.rb +23 -0
- data/spec/routing/route_spec.rb +52 -0
- data/spec/search_builders/custom_search_builder_spec.rb +34 -0
- data/spec/search_builders/newspaper_works/newspapers_search_builder_spec.rb +33 -0
- data/spec/services/hyrax/article_genre_service_spec.rb +12 -0
- data/spec/services/hyrax/resource_types_service_spec.rb +12 -0
- data/spec/services/newspaper_works/jp2_derivative_service_spec.rb +62 -0
- data/spec/services/newspaper_works/newspaper_page_derivative_service_spec.rb +125 -0
- data/spec/services/newspaper_works/pdf_derivative_service_spec.rb +62 -0
- data/spec/services/newspaper_works/pluggable_derivative_service_spec.rb +204 -0
- data/spec/services/newspaper_works/text_extraction_derivative_service_spec.rb +82 -0
- data/spec/services/newspaper_works/text_formats_from_alto_service_spec.rb +129 -0
- data/spec/services/newspaper_works/tiff_derivative_service_spec.rb +58 -0
- data/spec/spec_helper.rb +261 -0
- data/spec/support/controller_level_helpers.rb +28 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +22 -0
- data/spec/views/catalog/_index_gallery_newspaper_page_wrapper.html.erb_spec.rb +36 -0
- data/spec/views/catalog/_index_header_list_newspaper_page.html.erb_spec.rb +26 -0
- data/spec/views/catalog/_thumbnail_list_newspaper_page.html.erb_spec.rb +35 -0
- data/spec/views/hyrax/newspaper_titles/_all_front_pages_form.html.erb_spec.rb +16 -0
- data/spec/views/hyrax/newspaper_titles/_issue_search_form.html.erb_spec.rb +33 -0
- data/spec/views/hyrax/newspaper_titles/_issues_calendar.html.erb_spec.rb +37 -0
- data/spec/views/hyrax/newspaper_titles/show.html.erb_spec.rb +87 -0
- data/spec/views/newspaper_works/base/_attribute_rows.html.erb_spec.rb +60 -0
- data/spec/views/newspaper_works/base/_newspaper_hierarchy.html.erb_spec.rb +80 -0
- data/spec/views/newspaper_works/base/_show.html.erb_spec.rb +78 -0
- data/spec/views/newspaper_works/newspapers_search/search.html.erb_spec.rb +54 -0
- data/spec/views/records/edit_fields/_place_of_publication.html.erb_spec.rb +26 -0
- data/tasks/newspaperworks_dev.rake +26 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/lib/generators/newspaper_works/install_generator_test.rb +16 -0
- data/test/newspaper_works_test.rb +7 -0
- data/test/test_helper.rb +17 -0
- data/tmp/.keep +0 -0
- metadata +1037 -0
data/bin/rails
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
+
# installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
6
|
+
ENGINE_PATH = File.expand_path('../../lib/newspaper_works/engine', __FILE__)
|
7
|
+
|
8
|
+
# Set up gems listed in the Gemfile.
|
9
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
10
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
11
|
+
|
12
|
+
require 'rails/all'
|
13
|
+
require 'rails/engine/commands'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
es:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_article: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_article:
|
7
|
+
name: "Artículo de periódico"
|
8
|
+
description: "Trabajos de artículos periodísticos"
|
9
|
+
simple_form:
|
10
|
+
labels:
|
11
|
+
newspaper_article:
|
12
|
+
alternative_title: "Subtitular"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
fr:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_article: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_article:
|
7
|
+
name: "Article de journal"
|
8
|
+
description: "Article de journal fonctionne"
|
9
|
+
simple_form:
|
10
|
+
labels:
|
11
|
+
newspaper_article:
|
12
|
+
alternative_title: "Sous-titre"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
it:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_article: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_article:
|
7
|
+
name: "Articolo di giornale"
|
8
|
+
description: "Articoli per articoli di giornale"
|
9
|
+
simple_form:
|
10
|
+
labels:
|
11
|
+
newspaper_article:
|
12
|
+
alternative_title: "Sottotitolo"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
pt-BR:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_article: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_article:
|
7
|
+
name: "Artigo de jornal"
|
8
|
+
description: "Trabalhos de artigo de jornal"
|
9
|
+
simple_form:
|
10
|
+
labels:
|
11
|
+
newspaper_article:
|
12
|
+
alternative_title: "Subtítulo"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
de:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Zeitungsseite"
|
8
|
+
description: "Zeitungsseite funktioniert"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'Bisherige'
|
11
|
+
next_page: 'Nächster'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "Etikette"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
en:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Newspaper Page"
|
8
|
+
description: "Newspaper page works"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'Previous'
|
11
|
+
next_page: 'Next'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "Label"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
es:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Página del periódico"
|
8
|
+
description: "Página de periódico funciona"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'Anterior'
|
11
|
+
next_page: 'Siguiente'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "Siguiente"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
fr:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Page de journal"
|
8
|
+
description: "La page de journal fonctionne"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'précédente'
|
11
|
+
next_page: 'suivante'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "étiquette"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
it:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Pagina dei giornali"
|
8
|
+
description: "Pagina del giornale funziona"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'Precedente'
|
11
|
+
next_page: 'Il prossimo'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "Etichetta"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
pt-BR:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "Página de jornal"
|
8
|
+
description: "Trabalhos de página de jornal"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: 'Anterior'
|
11
|
+
next_page: 'Próxima'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "Rótulo"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
zh:
|
2
|
+
hyrax:
|
3
|
+
icons:
|
4
|
+
newspaper_page: 'fa fa-newspaper-o'
|
5
|
+
select_type:
|
6
|
+
newspaper_page:
|
7
|
+
name: "报纸页面"
|
8
|
+
description: "报纸页面有效"
|
9
|
+
newspaper_page:
|
10
|
+
previous_page: '以前'
|
11
|
+
next_page: '下一个'
|
12
|
+
simple_form:
|
13
|
+
labels:
|
14
|
+
newspaper_page:
|
15
|
+
title: "标签"
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
de:
|
3
|
+
newspaper_works:
|
4
|
+
attributes:
|
5
|
+
place_of_publication:
|
6
|
+
label: 'Ort der veröffentlichung'
|
7
|
+
newspapers_search:
|
8
|
+
title: 'Suche nach Zeitungen'
|
9
|
+
text: 'Verwenden Sie dieses Formular für die Suche nach Zeitungsinhalten im Volltext.'
|
10
|
+
help:
|
11
|
+
title: 'Suchtipps für Zeitungen:'
|
12
|
+
tips:
|
13
|
+
open_date_range: 'Lassen Sie für ein unbefristetes Datumsbereichslimit (z. B. vor 1850, nach 1900 usw.) entweder das Feld "Start" oder "Ende" im Abschnitt "Datumsbereich" leer.'
|
14
|
+
undated_items: 'Wenn ein Datumsbereich in das Formular im Abschnitt "Datumsbereich" eingegeben wird, werden undatierte Elemente nicht in die Suchergebnisse aufgenommen.'
|
15
|
+
limiters: 'Wenn im Feldbegrenzungsbereich keine Kontrollkästchen aktiviert sind, werden alle Werte eingeschlossen.'
|
16
|
+
quotation_marks: 'Verwenden Sie Anführungszeichen, um nach einem Ausdruck zu suchen.'
|
17
|
+
boolean: 'Verwenden Sie "OR", "AND" und "NOT" im Schlüsselwortfeld, um eine komplexe boolesche Logik zu erstellen. Sie können auch Klammern verwenden.'
|
18
|
+
plus: 'Verwenden Sie "+" vor einem Begriff, um ihn erforderlich zu machen.'
|
19
|
+
minus: 'Verwenden Sie "-" vor einem Wort oder einer Phrase, um es auszuschließen.'
|
20
|
+
fields:
|
21
|
+
date_end: 'Ende des Jahres'
|
22
|
+
date_range: 'Datumsbereich'
|
23
|
+
date_start: 'Beginnen Sie das Jahr'
|
24
|
+
front_pages: 'Suche auf Titelseiten beschränken'
|
25
|
+
keyword: 'Schlüsselwörter'
|
26
|
+
|
27
|
+
title_search_form:
|
28
|
+
label: 'Suche in dieser Zeitung'
|
29
|
+
placeholder: 'Suche in dieser Zeitung...'
|
30
|
+
front_pages_link: 'Alle Titelseiten anzeigen'
|
31
|
+
|
32
|
+
simple_form:
|
33
|
+
labels:
|
34
|
+
defaults:
|
35
|
+
held_by: 'Halteort'
|
36
|
+
identifier: 'Kennung (lokal)'
|
37
|
+
issn: 'ISSN'
|
38
|
+
lccn: 'LCCN'
|
39
|
+
oclcnum: 'OCLC #'
|
40
|
+
publication_date_end: 'Erscheinungsdatum (Ende)'
|
41
|
+
publication_date_start: 'Erscheinungsdatum (Beginn)'
|
42
|
+
|
43
|
+
blacklight:
|
44
|
+
search:
|
45
|
+
fields:
|
46
|
+
all_text_tsimv: 'Keyword-Übereinstimmungen'
|
47
|
+
results:
|
48
|
+
snippets:
|
49
|
+
less: '<< weniger'
|
50
|
+
more: 'mehr >>'
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
en:
|
3
|
+
newspaper_works:
|
4
|
+
attributes:
|
5
|
+
place_of_publication:
|
6
|
+
label: 'Place of publication'
|
7
|
+
publication_title:
|
8
|
+
label: 'Publication'
|
9
|
+
newspapers_search:
|
10
|
+
title: 'Search Newspapers'
|
11
|
+
text: 'Use this form to search for full-text newspaper content.'
|
12
|
+
help:
|
13
|
+
title: 'Newspapers search tips:'
|
14
|
+
tips:
|
15
|
+
open_date_range: 'For an open-ended date range limit (e.g. before 1850, after 1900, etc.) leave either the "Start" or "End" field blank in the "Date Range" section.'
|
16
|
+
undated_items: 'If a date range is entered in the form in the "Date Range" section, undated items will not be included in the search results.'
|
17
|
+
limiters: 'If no boxes are checked in the field limit section, all values will be included.'
|
18
|
+
quotation_marks: 'Use quotation marks to search as a phrase.'
|
19
|
+
boolean: 'Use "OR", "AND", and "NOT" within the keyword field to create complex boolean logic. You can also use parentheses.'
|
20
|
+
plus: 'Use "+" before a term to make it required.'
|
21
|
+
minus: 'Use "-" before a word or phrase to exclude it.'
|
22
|
+
fields:
|
23
|
+
date_end: 'End year'
|
24
|
+
date_range: 'Date range'
|
25
|
+
date_start: 'Start year'
|
26
|
+
front_pages: 'Limit search to front pages'
|
27
|
+
keyword: 'Keywords'
|
28
|
+
|
29
|
+
title_search_form:
|
30
|
+
label: 'Search within this newspaper'
|
31
|
+
placeholder: 'Search within this newspaper...'
|
32
|
+
front_pages_link: 'View all front pages'
|
33
|
+
|
34
|
+
simple_form:
|
35
|
+
labels:
|
36
|
+
defaults:
|
37
|
+
held_by: 'Holding location'
|
38
|
+
identifier: 'Identifier (local)'
|
39
|
+
issn: 'ISSN'
|
40
|
+
lccn: 'LCCN'
|
41
|
+
oclcnum: 'OCLC #'
|
42
|
+
publication_date_end: 'Publication date (end)'
|
43
|
+
publication_date_start: 'Publication date (start)'
|
44
|
+
|
45
|
+
blacklight:
|
46
|
+
search:
|
47
|
+
fields:
|
48
|
+
all_text_tsimv: 'Keyword matches'
|
49
|
+
results:
|
50
|
+
snippets:
|
51
|
+
less: '<< less'
|
52
|
+
more: 'more >>'
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
es:
|
3
|
+
newspaper_works:
|
4
|
+
attributes:
|
5
|
+
place_of_publication:
|
6
|
+
label: 'Lugar de publicacion'
|
7
|
+
publication_title:
|
8
|
+
label: 'Publicacion'
|
9
|
+
newspapers_search:
|
10
|
+
title: 'Búsqueda de periódicos'
|
11
|
+
text: 'Utilice este formulario para buscar contenido de periódico de texto completo.'
|
12
|
+
help:
|
13
|
+
title: 'Consejos de búsqueda de periódicos:'
|
14
|
+
tips:
|
15
|
+
open_date_range: 'Para un límite de rango de fecha abierto (por ejemplo, antes de 1850, después de 1900, etc.) deje el campo "Inicio" o "Fin" en blanco en la sección "Rango de fechas".'
|
16
|
+
undated_items: 'Si se ingresa un rango de fechas en el formulario en la sección "Rango de fechas", los elementos sin fecha no se incluirán en los resultados de la búsqueda.'
|
17
|
+
limiters: 'Si no se marca ninguna casilla en la sección de límite de campo, se incluirán todos los valores.'
|
18
|
+
quotation_marks: 'Utilice comillas para buscar como una frase.'
|
19
|
+
boolean: 'Utilice "OR", "AND" y "NOT" dentro del campo de palabra clave para crear una lógica booleana compleja. También puedes usar paréntesis.'
|
20
|
+
plus: 'Use "+" antes de un término para hacerlo requerido.'
|
21
|
+
minus: 'Use "-" antes de una palabra o frase para excluirla.'
|
22
|
+
fields:
|
23
|
+
date_end: 'Año final'
|
24
|
+
date_range: 'Rango de fechas'
|
25
|
+
date_start: 'Año de inicio'
|
26
|
+
front_pages: 'Limitar la búsqueda a portadas'
|
27
|
+
keyword: 'Palabras clave'
|
28
|
+
|
29
|
+
title_search_form:
|
30
|
+
label: 'Buscar dentro de este periódico'
|
31
|
+
placeholder: 'Buscar dentro de este periódico...'
|
32
|
+
front_pages_link: 'Ver todas las portadas'
|
33
|
+
|
34
|
+
simple_form:
|
35
|
+
labels:
|
36
|
+
defaults:
|
37
|
+
held_by: 'Ubicación de retención'
|
38
|
+
identifier: 'Identificador (local)'
|
39
|
+
issn: 'ISSN'
|
40
|
+
lccn: 'LCCN'
|
41
|
+
oclcnum: 'OCLC #'
|
42
|
+
publication_date_end: 'Fecha de publicación (final)'
|
43
|
+
publication_date_start: 'Fecha de publicación (inicio)'
|
44
|
+
|
45
|
+
blacklight:
|
46
|
+
search:
|
47
|
+
fields:
|
48
|
+
all_text_tsimv: 'Coincidencias de palabras clave'
|
49
|
+
results:
|
50
|
+
snippets:
|
51
|
+
less: '<< menos'
|
52
|
+
more: 'más >>'
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
fr:
|
3
|
+
newspaper_works:
|
4
|
+
attributes:
|
5
|
+
place_of_publication:
|
6
|
+
label: 'Place de publication'
|
7
|
+
publication_title:
|
8
|
+
label: 'Publication'
|
9
|
+
newspapers_search:
|
10
|
+
title: 'Rechercher dans les journaux'
|
11
|
+
text: 'Utilisez ce formulaire pour rechercher un contenu de journal en texte intégral.'
|
12
|
+
help:
|
13
|
+
title: 'Conseils de recherche dans les journaux:'
|
14
|
+
tips:
|
15
|
+
open_date_range: 'Pour une plage de dates ouverte (par exemple, avant 1850, après 1900, etc.), laissez le champ "Début" ou "Fin" vide dans la section "Période".'
|
16
|
+
undated_items: 'Si une plage de dates est entrée dans le formulaire dans la section "Plage de dates", les éléments non datés ne seront pas inclus dans les résultats de la recherche.'
|
17
|
+
limiters: "Si aucune case n'est cochée dans la section Limite de champs, toutes les valeurs seront incluses."
|
18
|
+
quotation_marks: 'Utilisez des guillemets pour rechercher une phrase.'
|
19
|
+
boolean: 'Utilisez "OU", "AND" et "NOT" dans le champ du mot clé pour créer une logique booléenne complexe. Vous pouvez également utiliser des parenthèses.'
|
20
|
+
plus: "Utilisez \"+\" avant un terme pour le rendre obligatoire."
|
21
|
+
minus: "Utilisez \"-\" avant un mot ou une phrase pour l'exclure."
|
22
|
+
fields:
|
23
|
+
date_end: "Fin d'année"
|
24
|
+
date_range: 'Plage de dates'
|
25
|
+
date_start: 'Année de début'
|
26
|
+
front_pages: 'Limiter la recherche aux premières pages'
|
27
|
+
keyword: 'Mots clés'
|
28
|
+
|
29
|
+
title_search_form:
|
30
|
+
label: 'Rechercher dans ce journal'
|
31
|
+
placeholder: 'Rechercher dans ce journal...'
|
32
|
+
front_pages_link: 'Voir toutes les premières pages'
|
33
|
+
|
34
|
+
simple_form:
|
35
|
+
labels:
|
36
|
+
defaults:
|
37
|
+
held_by: 'Lieu de détention'
|
38
|
+
identifier: 'Identifiant (local)'
|
39
|
+
issn: 'ISSN'
|
40
|
+
lccn: 'LCCN'
|
41
|
+
oclcnum: 'OCLC #'
|
42
|
+
publication_date_end: 'Date de publication (fin)'
|
43
|
+
publication_date_start: 'Date de publication (début)'
|
44
|
+
|
45
|
+
blacklight:
|
46
|
+
search:
|
47
|
+
fields:
|
48
|
+
all_text_tsimv: 'Correspondances de mots clés'
|
49
|
+
results:
|
50
|
+
snippets:
|
51
|
+
less: '<< moins'
|
52
|
+
more: 'plus >>'
|