bolognese 0.4.3 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/build.yml +9 -0
- data/.github/workflows/changelog.yml +36 -0
- data/.github/workflows/ci.yml +22 -0
- data/.github/workflows/pull-request.yml +9 -0
- data/.github/workflows/release.yml +32 -0
- data/.gitignore +4 -0
- data/.rubocop.yml +658 -0
- data/CHANGELOG.md +1864 -0
- data/CITATION +17 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +250 -98
- data/README.md +963 -21
- data/Rakefile +1 -0
- data/bin/bolognese +5 -1
- data/bolognese.gemspec +33 -21
- data/lib/bolognese/array.rb +13 -0
- data/lib/bolognese/author_utils.rb +147 -33
- data/lib/bolognese/citeproc_extensions.rb +48 -0
- data/lib/bolognese/cli.rb +28 -21
- data/lib/bolognese/datacite_utils.rb +292 -104
- data/lib/bolognese/doi_utils.rb +44 -20
- data/lib/bolognese/metadata.rb +249 -23
- data/lib/bolognese/metadata_utils.rb +228 -0
- data/lib/bolognese/pubmed.rb +2 -0
- data/lib/bolognese/readers/bibtex_reader.rb +100 -0
- data/lib/bolognese/readers/citeproc_reader.rb +125 -0
- data/lib/bolognese/readers/codemeta_reader.rb +108 -0
- data/lib/bolognese/readers/crosscite_reader.rb +17 -0
- data/lib/bolognese/readers/crossref_reader.rb +413 -0
- data/lib/bolognese/readers/datacite_json_reader.rb +17 -0
- data/lib/bolognese/readers/datacite_reader.rb +341 -0
- data/lib/bolognese/readers/npm_reader.rb +115 -0
- data/lib/bolognese/readers/ris_reader.rb +114 -0
- data/lib/bolognese/readers/schema_org_reader.rb +264 -0
- data/lib/bolognese/string.rb +3 -1
- data/lib/bolognese/utils.rb +1463 -25
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/whitelist_scrubber.rb +47 -0
- data/lib/bolognese/writers/bibtex_writer.rb +32 -0
- data/lib/bolognese/writers/citation_writer.rb +14 -0
- data/lib/bolognese/writers/citeproc_writer.rb +11 -0
- data/lib/bolognese/writers/codemeta_writer.rb +29 -0
- data/lib/bolognese/writers/crosscite_writer.rb +11 -0
- data/lib/bolognese/writers/crossref_writer.rb +11 -0
- data/lib/bolognese/writers/csv_writer.rb +24 -0
- data/lib/bolognese/writers/datacite_json_writer.rb +13 -0
- data/lib/bolognese/writers/datacite_writer.rb +12 -0
- data/lib/bolognese/writers/jats_writer.rb +137 -0
- data/lib/bolognese/writers/rdf_xml_writer.rb +11 -0
- data/lib/bolognese/writers/ris_writer.rb +29 -0
- data/lib/bolognese/writers/schema_org_writer.rb +55 -0
- data/lib/bolognese/writers/turtle_writer.rb +11 -0
- data/lib/bolognese.rb +19 -5
- data/package.json +12 -0
- data/resources/2008/09/xsd.xsl +997 -0
- data/resources/datacite-contributorType-v4.xsd +35 -0
- data/resources/datacite-dateType-v4.xsd +25 -0
- data/resources/datacite-descriptionType-v4.xsd +19 -0
- data/resources/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/datacite-nameType-v4.xsd +10 -0
- data/resources/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/datacite-relationType-v4.xsd +49 -0
- data/resources/datacite-resourceType-v4.xsd +28 -0
- data/resources/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-2.1/include/datacite-contributorType-v1.1.xsd +22 -0
- data/resources/kernel-2.1/include/datacite-contributorType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-dateType-v1.1.xsd +31 -0
- data/resources/kernel-2.1/include/datacite-dateType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-descriptionType-v1.1.xsd +14 -0
- data/resources/kernel-2.1/include/datacite-descriptionType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-relatedIdentifierType-v1.1.xsd +24 -0
- data/resources/kernel-2.1/include/datacite-relatedIdentifierType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-relationType-v1.1.xsd +29 -0
- data/resources/kernel-2.1/include/datacite-relationType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-resourceType-v1.1.xsd +22 -0
- data/resources/kernel-2.1/include/datacite-resourceType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-titleType-v1.1.xsd +11 -0
- data/resources/kernel-2.1/include/datacite-titleType-v2.xsd +3 -0
- data/resources/kernel-2.1/metadata.xsd +315 -0
- data/resources/kernel-2.2/include/datacite-contributorType-v2.xsd +29 -0
- data/resources/kernel-2.2/include/datacite-dateType-v2.xsd +21 -0
- data/resources/kernel-2.2/include/datacite-descriptionType-v2.xsd +15 -0
- data/resources/kernel-2.2/include/datacite-relatedIdentifierType-v2.xsd +25 -0
- data/resources/kernel-2.2/include/datacite-relationType-v2.xsd +29 -0
- data/resources/kernel-2.2/include/datacite-resourceType-v2.xsd +23 -0
- data/resources/kernel-2.2/include/datacite-titleType-v2.xsd +10 -0
- data/resources/kernel-2.2/metadata.xsd +316 -0
- data/resources/kernel-3/include/datacite-contributorType-v3.1.xsd +35 -0
- data/resources/kernel-3/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3/include/datacite-relatedIdentifierType-v3.1.xsd +30 -0
- data/resources/kernel-3/include/datacite-relationType-v3.1.xsd +38 -0
- data/resources/kernel-3/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3/include/xml.xsd +286 -0
- data/resources/kernel-3/metadata.xsd +380 -0
- data/resources/kernel-3.0/include/datacite-contributorType-v3.xsd +33 -0
- data/resources/kernel-3.0/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3.0/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3.0/include/datacite-relatedIdentifierType-v3.xsd +27 -0
- data/resources/kernel-3.0/include/datacite-relationType-v3.xsd +33 -0
- data/resources/kernel-3.0/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3.0/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3.0/include/xml.xsd +286 -0
- data/resources/kernel-3.0/metadata.xsd +377 -0
- data/resources/kernel-3.1/include/datacite-contributorType-v3.1.xsd +35 -0
- data/resources/kernel-3.1/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3.1/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3.1/include/datacite-relatedIdentifierType-v3.1.xsd +30 -0
- data/resources/kernel-3.1/include/datacite-relationType-v3.1.xsd +38 -0
- data/resources/kernel-3.1/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3.1/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3.1/include/xml.xsd +286 -0
- data/resources/kernel-3.1/metadata.xsd +380 -0
- data/resources/kernel-4/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd +39 -0
- data/resources/kernel-4/include/datacite-relationType-v4.xsd +59 -0
- data/resources/kernel-4/include/datacite-resourceType-v4.xsd +52 -0
- data/resources/kernel-4/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4/include/xml.xsd +286 -0
- data/resources/kernel-4/metadata.xsd +715 -0
- data/resources/kernel-4.0/include/datacite-contributorType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-dateType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-descriptionType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-funderIdentifierType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-relatedIdentifierType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-relationType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-resourceType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/datacite-titleType-v4.xsd +1 -1
- data/resources/kernel-4.0/include/xml.xsd +286 -0
- data/resources/kernel-4.0/metadata.xsd +2 -2
- data/resources/kernel-4.1/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.1/include/datacite-dateType-v4.1.xsd +23 -0
- data/resources/kernel-4.1/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.1/include/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/kernel-4.1/include/datacite-nameType-v4.1.xsd +10 -0
- data/resources/kernel-4.1/include/datacite-relatedIdentifierType-v4.xsd +32 -0
- data/resources/kernel-4.1/include/datacite-relationType-v4.1.xsd +46 -0
- data/resources/kernel-4.1/include/datacite-resourceType-v4.1.xsd +28 -0
- data/resources/kernel-4.1/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.1/include/xml.xsd +286 -0
- data/resources/kernel-4.1/metadata.xsd +483 -0
- data/resources/kernel-4.2/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.2/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.2/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.2/include/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/kernel-4.2/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.2/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.2/include/datacite-relationType-v4.xsd +49 -0
- data/resources/kernel-4.2/include/datacite-resourceType-v4.xsd +28 -0
- data/resources/kernel-4.2/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.2/include/xml.xsd +286 -0
- data/resources/kernel-4.2/metadata.xsd +479 -0
- data/resources/kernel-4.3/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.3/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.3/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.3/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.3/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.3/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.3/include/datacite-relationType-v4.xsd +49 -0
- data/resources/kernel-4.3/include/datacite-resourceType-v4.xsd +28 -0
- data/resources/kernel-4.3/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.3/include/xml.xsd +286 -0
- data/resources/kernel-4.3/metadata.xsd +515 -0
- data/resources/kernel-4.4/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.4/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.4/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.4/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.4/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.4/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.4/include/datacite-relationType-v4.xsd +51 -0
- data/resources/kernel-4.4/include/datacite-resourceType-v4.xsd +43 -0
- data/resources/kernel-4.4/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.4/include/xml.xsd +286 -0
- data/resources/kernel-4.4/metadata.xsd +707 -0
- data/resources/kernel-4.5/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.5/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.5/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.5/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.5/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.5/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.5/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.5/include/datacite-relationType-v4.xsd +53 -0
- data/resources/kernel-4.5/include/datacite-resourceType-v4.xsd +45 -0
- data/resources/kernel-4.5/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.5/include/xml.xsd +286 -0
- data/resources/kernel-4.5/metadata.xsd +711 -0
- data/resources/kernel-4.6/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4.6/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4.6/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.6/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.6/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.6/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.6/include/datacite-relatedIdentifierType-v4.xsd +37 -0
- data/resources/kernel-4.6/include/datacite-relationType-v4.xsd +57 -0
- data/resources/kernel-4.6/include/datacite-resourceType-v4.xsd +49 -0
- data/resources/kernel-4.6/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.6/include/xml.xsd +286 -0
- data/resources/kernel-4.6/metadata.xsd +712 -0
- data/resources/kernel-4.7/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4.7/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4.7/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.7/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.7/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.7/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.7/include/datacite-relatedIdentifierType-v4.xsd +39 -0
- data/resources/kernel-4.7/include/datacite-relationType-v4.xsd +59 -0
- data/resources/kernel-4.7/include/datacite-resourceType-v4.xsd +52 -0
- data/resources/kernel-4.7/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.7/include/xml.xsd +286 -0
- data/resources/kernel-4.7/metadata.xsd +715 -0
- data/resources/oecd/dfg-mappings.json +1866 -0
- data/resources/oecd/for-mappings.json +1101 -0
- data/resources/oecd/fos-mappings.json +198 -0
- data/resources/schema_org/jsonldcontext.json +7477 -0
- data/resources/spdx/licenses.json +5297 -0
- data/resources/xml.xsd +286 -0
- metadata +466 -179
- data/.travis.yml +0 -23
- data/lib/bolognese/crossref.rb +0 -233
- data/lib/bolognese/datacite.rb +0 -176
- data/lib/bolognese/date_utils.rb +0 -48
- data/lib/bolognese/github.rb +0 -106
- data/lib/bolognese/orcid.rb +0 -24
- data/lib/bolognese/schema_org.rb +0 -170
- data/spec/cli_spec.rb +0 -56
- data/spec/crossref_spec.rb +0 -190
- data/spec/datacite_spec.rb +0 -93
- data/spec/datacite_utils_spec.rb +0 -159
- data/spec/doi_utils_spec.rb +0 -89
- data/spec/fixtures/crossref.xml +0 -742
- data/spec/fixtures/datacite.xml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/crossref/as_crossref.yml +0 -760
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/crossref/as_datacite.yml +0 -1476
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/crossref/as_schema_org.yml +0 -1476
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/datacite/as_datacite.yml +0 -214
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/datacite/as_schema_org.yml +0 -384
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/schema_org/as_datacite.yml +0 -653
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/schema_org/as_schema_org.yml +0 -653
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/crossref.yml +0 -971
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/datacite.yml +0 -971
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/medra.yml +0 -971
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/not_found.yml +0 -971
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_ORCID_ID.yml +0 -506
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +0 -214
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +0 -901
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +0 -305
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +0 -1080
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +0 -183
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +0 -389
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_ORCID_ID.yml +0 -506
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/DOI_with_data_citation.yml +0 -901
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_ORCID_ID.yml +0 -366
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_data_citation.yml +0 -719
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_datacite_xml/with_editor.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata_as_string/DOI_with_data_citation.yml +0 -719
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/SICI_doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_from_url_without_doi_proxy.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_too_long.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_prefix_with_string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/doi_with_protocol.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/dx_doi_org_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/https_url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_doi/not_valid_doi_prefix.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_ids/url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/doi.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/normalize_url/url.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/array.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/hash.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/nil.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attribute/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/array.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/hash.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/nil.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/parse_attributes/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/DOI.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/URL.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/validate_url/string.yml +0 -930
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/BlogPosting.yml +0 -477
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Dataset.yml +0 -1925
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Date.yml +0 -458
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata_as_string/Dataset.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_alternate_identifiers/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_contributors/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_contributors/none.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_creators/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_dates/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_descriptions/insert.yml +0 -155
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_identifier/doi.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_given_and_family_name.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_person/creator_only_name.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publication_year/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_publisher/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/get_related_identifier_type.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/get_related_identifier_type_DOI.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/get_related_identifier_type_URL.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_related_identifiers/rel_identifiers.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_resource_type/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_rights_list/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_subjects/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_titles/doi.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_titles/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/insert_version/insert.yml +0 -173
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref_doi_not_url.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite_doi_http.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/orcid.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/BlogPosting.yml +0 -632
- data/spec/fixtures/vcr_cassettes/Bolognese_SchemaOrg/get_metadata/not_found_error.yml +0 -93
- data/spec/metadata_spec.rb +0 -41
- data/spec/orcid_spec.rb +0 -23
- data/spec/schema_org_spec.rb +0 -33
- data/spec/spec_helper.rb +0 -88
- data/spec/utils_spec.rb +0 -107
|
@@ -1,477 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://doi.org/10.5438/4k3m-nyvg
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Maremma - https://github.com/datacite/maremma
|
|
12
|
-
Accept:
|
|
13
|
-
- application/vnd.datacite.datacite+xml
|
|
14
|
-
response:
|
|
15
|
-
status:
|
|
16
|
-
code: 303
|
|
17
|
-
message: ''
|
|
18
|
-
headers:
|
|
19
|
-
Server:
|
|
20
|
-
- Apache-Coyote/1.1
|
|
21
|
-
Vary:
|
|
22
|
-
- Accept
|
|
23
|
-
Location:
|
|
24
|
-
- http://data.datacite.org/10.5438%2F4k3m-nyvg
|
|
25
|
-
Expires:
|
|
26
|
-
- Sat, 18 Feb 2017 08:28:49 GMT
|
|
27
|
-
Content-Type:
|
|
28
|
-
- text/html;charset=utf-8
|
|
29
|
-
Content-Length:
|
|
30
|
-
- '173'
|
|
31
|
-
Date:
|
|
32
|
-
- Sat, 18 Feb 2017 08:06:03 GMT
|
|
33
|
-
body:
|
|
34
|
-
encoding: UTF-8
|
|
35
|
-
string: |-
|
|
36
|
-
<html><head><title>Handle Redirect</title></head>
|
|
37
|
-
<body><a href="http://data.datacite.org/10.5438%2F4k3m-nyvg">http://data.datacite.org/10.5438%2F4k3m-nyvg</a></body></html>
|
|
38
|
-
http_version:
|
|
39
|
-
recorded_at: Sat, 18 Feb 2017 08:06:03 GMT
|
|
40
|
-
- request:
|
|
41
|
-
method: get
|
|
42
|
-
uri: http://data.datacite.org/10.5438%2F4k3m-nyvg
|
|
43
|
-
body:
|
|
44
|
-
encoding: US-ASCII
|
|
45
|
-
string: ''
|
|
46
|
-
headers:
|
|
47
|
-
User-Agent:
|
|
48
|
-
- Maremma - https://github.com/datacite/maremma
|
|
49
|
-
Accept:
|
|
50
|
-
- application/vnd.datacite.datacite+xml
|
|
51
|
-
response:
|
|
52
|
-
status:
|
|
53
|
-
code: 301
|
|
54
|
-
message: ''
|
|
55
|
-
headers:
|
|
56
|
-
Server:
|
|
57
|
-
- openresty/1.11.2.2
|
|
58
|
-
Date:
|
|
59
|
-
- Sat, 18 Feb 2017 08:06:04 GMT
|
|
60
|
-
Content-Type:
|
|
61
|
-
- text/html
|
|
62
|
-
Content-Length:
|
|
63
|
-
- '191'
|
|
64
|
-
Connection:
|
|
65
|
-
- keep-alive
|
|
66
|
-
Location:
|
|
67
|
-
- https://data.datacite.org/10.5438%2F4k3m-nyvg
|
|
68
|
-
body:
|
|
69
|
-
encoding: UTF-8
|
|
70
|
-
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
|
71
|
-
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
|
72
|
-
http_version:
|
|
73
|
-
recorded_at: Sat, 18 Feb 2017 08:06:04 GMT
|
|
74
|
-
- request:
|
|
75
|
-
method: get
|
|
76
|
-
uri: https://data.datacite.org/10.5438%2F4k3m-nyvg
|
|
77
|
-
body:
|
|
78
|
-
encoding: US-ASCII
|
|
79
|
-
string: ''
|
|
80
|
-
headers:
|
|
81
|
-
User-Agent:
|
|
82
|
-
- Maremma - https://github.com/datacite/maremma
|
|
83
|
-
Accept:
|
|
84
|
-
- application/vnd.datacite.datacite+xml
|
|
85
|
-
response:
|
|
86
|
-
status:
|
|
87
|
-
code: 200
|
|
88
|
-
message: ''
|
|
89
|
-
headers:
|
|
90
|
-
Server:
|
|
91
|
-
- openresty/1.11.2.2
|
|
92
|
-
Date:
|
|
93
|
-
- Sat, 18 Feb 2017 08:06:04 GMT
|
|
94
|
-
Content-Type:
|
|
95
|
-
- application/vnd.datacite.datacite+xml
|
|
96
|
-
Content-Length:
|
|
97
|
-
- '2045'
|
|
98
|
-
Connection:
|
|
99
|
-
- keep-alive
|
|
100
|
-
Cache-Control:
|
|
101
|
-
- no-transform, max-age=3600
|
|
102
|
-
Last-Modified:
|
|
103
|
-
- Mon, 09 Jan 2017 13:53:11 GMT
|
|
104
|
-
Vary:
|
|
105
|
-
- Accept
|
|
106
|
-
Access-Control-Allow-Origin:
|
|
107
|
-
- "*"
|
|
108
|
-
Access-Control-Allow-Methods:
|
|
109
|
-
- GET, POST, OPTIONS
|
|
110
|
-
body:
|
|
111
|
-
encoding: UTF-8
|
|
112
|
-
string: |
|
|
113
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
114
|
-
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
|
|
115
|
-
<identifier identifierType="DOI">10.5438/4K3M-NYVG</identifier>
|
|
116
|
-
<creators>
|
|
117
|
-
<creator>
|
|
118
|
-
<creatorName>Fenner, Martin</creatorName>
|
|
119
|
-
<givenName>Martin</givenName>
|
|
120
|
-
<familyName>Fenner</familyName>
|
|
121
|
-
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1419-2405</nameIdentifier>
|
|
122
|
-
</creator>
|
|
123
|
-
</creators>
|
|
124
|
-
<titles>
|
|
125
|
-
<title>Eating your own Dog Food</title>
|
|
126
|
-
</titles>
|
|
127
|
-
<publisher>DataCite</publisher>
|
|
128
|
-
<publicationYear>2016</publicationYear>
|
|
129
|
-
<resourceType resourceTypeGeneral="Text">BlogPosting</resourceType>
|
|
130
|
-
<alternateIdentifiers>
|
|
131
|
-
<alternateIdentifier alternateIdentifierType="Local accession number">MS-49-3632-5083</alternateIdentifier>
|
|
132
|
-
</alternateIdentifiers>
|
|
133
|
-
<subjects>
|
|
134
|
-
<subject>datacite</subject>
|
|
135
|
-
<subject>doi</subject>
|
|
136
|
-
<subject>metadata</subject>
|
|
137
|
-
</subjects>
|
|
138
|
-
<dates>
|
|
139
|
-
<date dateType="Created">2016-12-20</date>
|
|
140
|
-
<date dateType="Issued">2016-12-20</date>
|
|
141
|
-
<date dateType="Updated">2016-12-20</date>
|
|
142
|
-
</dates>
|
|
143
|
-
<relatedIdentifiers>
|
|
144
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/0012</relatedIdentifier>
|
|
145
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="References">10.5438/55E5-T5C0</relatedIdentifier>
|
|
146
|
-
<relatedIdentifier relatedIdentifierType="DOI" relationType="IsPartOf">10.5438/0000-00SS</relatedIdentifier>
|
|
147
|
-
</relatedIdentifiers>
|
|
148
|
-
<version>1.0</version>
|
|
149
|
-
<descriptions>
|
|
150
|
-
<description descriptionType="Abstract">Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...</description>
|
|
151
|
-
</descriptions>
|
|
152
|
-
</resource>
|
|
153
|
-
http_version:
|
|
154
|
-
recorded_at: Sat, 18 Feb 2017 08:06:04 GMT
|
|
155
|
-
- request:
|
|
156
|
-
method: get
|
|
157
|
-
uri: https://doi.org/10.5438/4k3m-nyvg
|
|
158
|
-
body:
|
|
159
|
-
encoding: US-ASCII
|
|
160
|
-
string: ''
|
|
161
|
-
headers:
|
|
162
|
-
User-Agent:
|
|
163
|
-
- Maremma - https://github.com/datacite/maremma
|
|
164
|
-
Accept:
|
|
165
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
166
|
-
response:
|
|
167
|
-
status:
|
|
168
|
-
code: 303
|
|
169
|
-
message: ''
|
|
170
|
-
headers:
|
|
171
|
-
Server:
|
|
172
|
-
- Apache-Coyote/1.1
|
|
173
|
-
Vary:
|
|
174
|
-
- Accept
|
|
175
|
-
Location:
|
|
176
|
-
- https://blog.datacite.org/eating-your-own-dog-food/
|
|
177
|
-
Expires:
|
|
178
|
-
- Sat, 18 Feb 2017 08:28:49 GMT
|
|
179
|
-
Content-Type:
|
|
180
|
-
- text/html;charset=utf-8
|
|
181
|
-
Content-Length:
|
|
182
|
-
- '187'
|
|
183
|
-
Date:
|
|
184
|
-
- Sat, 18 Feb 2017 08:06:04 GMT
|
|
185
|
-
body:
|
|
186
|
-
encoding: UTF-8
|
|
187
|
-
string: |-
|
|
188
|
-
<html><head><title>Handle Redirect</title></head>
|
|
189
|
-
<body><a href="https://blog.datacite.org/eating-your-own-dog-food/">https://blog.datacite.org/eating-your-own-dog-food/</a></body></html>
|
|
190
|
-
http_version:
|
|
191
|
-
recorded_at: Sat, 18 Feb 2017 08:06:04 GMT
|
|
192
|
-
- request:
|
|
193
|
-
method: get
|
|
194
|
-
uri: https://blog.datacite.org/eating-your-own-dog-food/
|
|
195
|
-
body:
|
|
196
|
-
encoding: US-ASCII
|
|
197
|
-
string: ''
|
|
198
|
-
headers:
|
|
199
|
-
User-Agent:
|
|
200
|
-
- Maremma - https://github.com/datacite/maremma
|
|
201
|
-
Accept:
|
|
202
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
203
|
-
response:
|
|
204
|
-
status:
|
|
205
|
-
code: 301
|
|
206
|
-
message: ''
|
|
207
|
-
headers:
|
|
208
|
-
Server:
|
|
209
|
-
- openresty/1.11.2.2
|
|
210
|
-
Date:
|
|
211
|
-
- Sat, 18 Feb 2017 08:06:04 GMT
|
|
212
|
-
Content-Type:
|
|
213
|
-
- text/html
|
|
214
|
-
Content-Length:
|
|
215
|
-
- '191'
|
|
216
|
-
Location:
|
|
217
|
-
- https://doi.org/eating-your-own-dog-food
|
|
218
|
-
Connection:
|
|
219
|
-
- keep-alive
|
|
220
|
-
body:
|
|
221
|
-
encoding: UTF-8
|
|
222
|
-
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
|
223
|
-
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
|
224
|
-
http_version:
|
|
225
|
-
recorded_at: Sat, 18 Feb 2017 08:06:04 GMT
|
|
226
|
-
- request:
|
|
227
|
-
method: get
|
|
228
|
-
uri: https://doi.org/eating-your-own-dog-food
|
|
229
|
-
body:
|
|
230
|
-
encoding: US-ASCII
|
|
231
|
-
string: ''
|
|
232
|
-
headers:
|
|
233
|
-
User-Agent:
|
|
234
|
-
- Maremma - https://github.com/datacite/maremma
|
|
235
|
-
Accept:
|
|
236
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
237
|
-
response:
|
|
238
|
-
status:
|
|
239
|
-
code: 404
|
|
240
|
-
message: ''
|
|
241
|
-
headers:
|
|
242
|
-
Server:
|
|
243
|
-
- Apache-Coyote/1.1
|
|
244
|
-
Content-Type:
|
|
245
|
-
- text/html;charset=utf-8
|
|
246
|
-
Content-Length:
|
|
247
|
-
- '5002'
|
|
248
|
-
Date:
|
|
249
|
-
- Sat, 18 Feb 2017 08:06:05 GMT
|
|
250
|
-
body:
|
|
251
|
-
encoding: UTF-8
|
|
252
|
-
string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n
|
|
253
|
-
\ \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n<head>\n<title>Error:
|
|
254
|
-
DOI Not Found</title>\n\n<meta http-equiv=\"Content-Type\" content=\"text/html;
|
|
255
|
-
charset=UTF-8\" />\n\n<link rel=\"icon\" href=\"/static/img/favicon.png\"
|
|
256
|
-
/>\n<link rel=\"shortcut icon\" href=\"/static/favicon.ico\" type=\"image/x-icon\"
|
|
257
|
-
/> \n<link href=\"/static/style/new-style2.css\" rel=\"stylesheet\" type=\"text/css\"
|
|
258
|
-
/>\n</head>\n\n<body>\n\n\n<div style=\"background:#fcb426\">\n<img src=\"/static/img/banner-413.gif\"
|
|
259
|
-
alt=\"Logo\" width=\"620\" height=\"137\" border=\"0\" />\n</div>\n\n<div
|
|
260
|
-
style=\"height:1px;background:#000000\"></div>\n<div style=\"height:1px;background:#54524f\"></div>\n<div
|
|
261
|
-
style=\"height:1px;background:#f6911e\"></div>\n\n\n<!-- TABLE FOR NAVIGATION
|
|
262
|
-
BAR -->\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
|
|
263
|
-
id=\"navtable\" align=\"center\">\n<tr>\n <td width=\"34\" height=\"26\"
|
|
264
|
-
bgcolor=\"#231f20\"><img src=\"/static/img/transparent.gif\" alt=\"\" width=\"1\"
|
|
265
|
-
height=\"1\" /></td>\n \n <td height=\"26\" bgcolor=\"#231f20\" class=\"navtext\">\n
|
|
266
|
-
\ <a href=\"http://www.doi.org/index.html\">HOME</a> | <a href=\"http://www.doi.org/hb.html\">HANDBOOK</a>
|
|
267
|
-
| <a href=\"http://www.doi.org/factsheets.html\">FACTSHEETS</a>
|
|
268
|
-
| <a href=\"http://www.doi.org/faq.html\">FAQs</a> |
|
|
269
|
-
<a href=\"http://www.doi.org/resources.html\">RESOURCES</a> | <a
|
|
270
|
-
href=\"http://www.doi.org/users.html\">USERS</a> | <a href=\"http://www.doi.org/announce.html\">NEWS</a>
|
|
271
|
-
| <a href=\"http://www.doi.org/idf-members/index.html\">MEMBERS
|
|
272
|
-
AREA</a>\n </td> \n </tr>\n</table>\n<!-- END TABLE FOR NAVIGATION
|
|
273
|
-
BAR -->\n\n<div style=\"height:1px;background:#e3a44d\"></div>\n<div style=\"height:3px;background:#4d4942\"></div>\n\n\n\n<!--
|
|
274
|
-
TABLE FOR CONTENT --> \n<table width=\"100%\" border=\"0\" cellpadding=\"0\"
|
|
275
|
-
cellspacing=\"0\" bgcolor=\"#ffffff\">\n<tr>\n<td colspan=\"6\">\n<img src=\"/static/img/transparent.gif\"
|
|
276
|
-
alt=\"\" width=\"100\" height=\"20\" border=\"0\" />\n</td>\n</tr>\n\n<tr>\n\n<td
|
|
277
|
-
valign=\"top\">\n\n<h2>DOI Not Found</h2>\n\n<div class=\"divider\"> </div>\n\n\n\n<h3>10/eating-your-own-dog-food</h3>\n\n<div
|
|
278
|
-
class=\"divider\"> </div>\n\n\n\n\n<p>This DOI cannot be found in the
|
|
279
|
-
DOI System. Possible reasons are:</p>\n\n\n<ul>\n\n<li style=\"padding-bottom:
|
|
280
|
-
.5em;\">The DOI is incorrect in your source. Search for the item by name,
|
|
281
|
-
title, or other metadata using a search engine.</li>\n\n<li style=\"padding-bottom:
|
|
282
|
-
.5em;\">The DOI was copied incorrectly. Check to see that the string includes
|
|
283
|
-
all the characters before and after the slash and no sentence punctuation
|
|
284
|
-
marks.</li>\n\n<li style=\"padding-bottom: .5em;\">The DOI has not been activated
|
|
285
|
-
yet. Please try again later, and report the problem if the error continues.</li>\n\n</ul>\n\n\n\n<div
|
|
286
|
-
class=\"divider\"> </div>\n\n<p>You may report this error to the responsible
|
|
287
|
-
DOI Registration Agency using the form below. Include your email address
|
|
288
|
-
to receive confirmation and feedback.</p>\n\n<div style=\"padding-left: 4em;\">\n\n<form
|
|
289
|
-
action=\"/notfound\" method=\"post\" enctype=\"application/x-www-form-urlencoded\"
|
|
290
|
-
name=\"notFoundForm\">\n\n\n<table border=\"0\" cellspacing=\"3\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>\n\n<table
|
|
291
|
-
border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"3\">\n<tbody><tr>\n<th
|
|
292
|
-
\ align=\"right\" scope=\"row\"><label>DOI:</label></th>\n<td><input name=\"missingHandle\"
|
|
293
|
-
type=\"text\" value=\"10/eating-your-own-dog-food\" size=\"42\" readonly=\"readonly\"
|
|
294
|
-
/></td>\n</tr>\n<tr>\n<th align=\"right\" scope=\"row\"><label>URL of Web
|
|
295
|
-
Page Listing the DOI:</label></th>\n<td><input name=\"referringPage\" type=\"text\"
|
|
296
|
-
value=\"\" size=\"42\" readonly=\"readonly\" /></td>\n</tr>\n<tr>\n<th align=\"right\"
|
|
297
|
-
scope=\"row\">Your Email Address:</th>\n<td><input name=\"userEmailAddress\"
|
|
298
|
-
type=\"text\" value=\"Please enter your email address\" size=\"42\" /></td>\n</tr>\n<tr>\n<th
|
|
299
|
-
align=\"right\" scope=\"row\" valign=\"top\">Additional Information About
|
|
300
|
-
the Error:</th>\n<td><textarea name=\"comments\" cols=\"30\" rows=\"6\"></textarea></td>\n</tr>\n</tbody>\n</table>\n\n</td>\n</tr>\n<tr>\n\n<td
|
|
301
|
-
align=\"right\"><p><input name=\"send\" type=\"submit\" value=\"Submit Error
|
|
302
|
-
Report\" /></p></td>\n</tr>\n</tbody>\n</table>\n\n</form>\n</div>\n\n\n\n\n</td>\n<td><img
|
|
303
|
-
src=\"/static/img/transparent.gif\" alt=\"\" width=\"20\" height=\"20\" border=\"0\"
|
|
304
|
-
/></td>\n</tr>\n</table>\n\n<div class=\"divider-full\"> </div>\n\n<!--
|
|
305
|
-
TABLE FOR FOOTER -->\n\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
|
|
306
|
-
align=\"center\">\n\n<tr>\n<td align=\"center\" colspan=\"2\">\n<a href=\"/help.html\">DOI
|
|
307
|
-
System Proxy Server Documentation</a>\n</td>\n</tr>\n\n<tr>\n<td align=\"left\"
|
|
308
|
-
height=\"40\">\n<img src=\"/static/img/Logo_TM.png\" alt=\"DOI_disc_logo\"
|
|
309
|
-
width=\"24\" height=\"24\" />\n</td>\n\n<td align=\"left\">\n<span style=\"padding-left:
|
|
310
|
-
0px; font-size: 11px;\"><span style=\"vertical-align: super;\">®</span>,
|
|
311
|
-
DOI<span style=\"vertical-align: super;\">®</span>, DOI.ORG<span style=\"vertical-align:
|
|
312
|
-
super;\">®</span>, and shortDOI<span style=\"vertical-align: super;\">®</span>
|
|
313
|
-
are trademarks of the International DOI Foundation.</span>\n</td> \n</tr>\n</table>\n</body>\n</html>\n"
|
|
314
|
-
http_version:
|
|
315
|
-
recorded_at: Sat, 18 Feb 2017 08:06:05 GMT
|
|
316
|
-
- request:
|
|
317
|
-
method: get
|
|
318
|
-
uri: https://doi.org/10.5438/4k3m-nyvg
|
|
319
|
-
body:
|
|
320
|
-
encoding: US-ASCII
|
|
321
|
-
string: ''
|
|
322
|
-
headers:
|
|
323
|
-
User-Agent:
|
|
324
|
-
- Maremma - https://github.com/datacite/maremma
|
|
325
|
-
Accept:
|
|
326
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
327
|
-
response:
|
|
328
|
-
status:
|
|
329
|
-
code: 303
|
|
330
|
-
message: ''
|
|
331
|
-
headers:
|
|
332
|
-
Server:
|
|
333
|
-
- Apache-Coyote/1.1
|
|
334
|
-
Vary:
|
|
335
|
-
- Accept
|
|
336
|
-
Location:
|
|
337
|
-
- https://blog.datacite.org/eating-your-own-dog-food/
|
|
338
|
-
Expires:
|
|
339
|
-
- Sat, 18 Feb 2017 08:28:49 GMT
|
|
340
|
-
Content-Type:
|
|
341
|
-
- text/html;charset=utf-8
|
|
342
|
-
Content-Length:
|
|
343
|
-
- '187'
|
|
344
|
-
Date:
|
|
345
|
-
- Sat, 18 Feb 2017 08:06:05 GMT
|
|
346
|
-
body:
|
|
347
|
-
encoding: UTF-8
|
|
348
|
-
string: |-
|
|
349
|
-
<html><head><title>Handle Redirect</title></head>
|
|
350
|
-
<body><a href="https://blog.datacite.org/eating-your-own-dog-food/">https://blog.datacite.org/eating-your-own-dog-food/</a></body></html>
|
|
351
|
-
http_version:
|
|
352
|
-
recorded_at: Sat, 18 Feb 2017 08:06:05 GMT
|
|
353
|
-
- request:
|
|
354
|
-
method: get
|
|
355
|
-
uri: https://blog.datacite.org/eating-your-own-dog-food/
|
|
356
|
-
body:
|
|
357
|
-
encoding: US-ASCII
|
|
358
|
-
string: ''
|
|
359
|
-
headers:
|
|
360
|
-
User-Agent:
|
|
361
|
-
- Maremma - https://github.com/datacite/maremma
|
|
362
|
-
Accept:
|
|
363
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
364
|
-
response:
|
|
365
|
-
status:
|
|
366
|
-
code: 301
|
|
367
|
-
message: ''
|
|
368
|
-
headers:
|
|
369
|
-
Server:
|
|
370
|
-
- openresty/1.11.2.2
|
|
371
|
-
Date:
|
|
372
|
-
- Sat, 18 Feb 2017 08:06:05 GMT
|
|
373
|
-
Content-Type:
|
|
374
|
-
- text/html
|
|
375
|
-
Content-Length:
|
|
376
|
-
- '191'
|
|
377
|
-
Location:
|
|
378
|
-
- https://doi.org/eating-your-own-dog-food
|
|
379
|
-
Connection:
|
|
380
|
-
- keep-alive
|
|
381
|
-
body:
|
|
382
|
-
encoding: UTF-8
|
|
383
|
-
string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
|
|
384
|
-
bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>openresty/1.11.2.2</center>\r\n</body>\r\n</html>\r\n"
|
|
385
|
-
http_version:
|
|
386
|
-
recorded_at: Sat, 18 Feb 2017 08:06:05 GMT
|
|
387
|
-
- request:
|
|
388
|
-
method: get
|
|
389
|
-
uri: https://doi.org/eating-your-own-dog-food
|
|
390
|
-
body:
|
|
391
|
-
encoding: US-ASCII
|
|
392
|
-
string: ''
|
|
393
|
-
headers:
|
|
394
|
-
User-Agent:
|
|
395
|
-
- Maremma - https://github.com/datacite/maremma
|
|
396
|
-
Accept:
|
|
397
|
-
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
|
398
|
-
response:
|
|
399
|
-
status:
|
|
400
|
-
code: 404
|
|
401
|
-
message: ''
|
|
402
|
-
headers:
|
|
403
|
-
Server:
|
|
404
|
-
- Apache-Coyote/1.1
|
|
405
|
-
Content-Type:
|
|
406
|
-
- text/html;charset=utf-8
|
|
407
|
-
Content-Length:
|
|
408
|
-
- '5002'
|
|
409
|
-
Date:
|
|
410
|
-
- Sat, 18 Feb 2017 08:06:05 GMT
|
|
411
|
-
body:
|
|
412
|
-
encoding: UTF-8
|
|
413
|
-
string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n
|
|
414
|
-
\ \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n<head>\n<title>Error:
|
|
415
|
-
DOI Not Found</title>\n\n<meta http-equiv=\"Content-Type\" content=\"text/html;
|
|
416
|
-
charset=UTF-8\" />\n\n<link rel=\"icon\" href=\"/static/img/favicon.png\"
|
|
417
|
-
/>\n<link rel=\"shortcut icon\" href=\"/static/favicon.ico\" type=\"image/x-icon\"
|
|
418
|
-
/> \n<link href=\"/static/style/new-style2.css\" rel=\"stylesheet\" type=\"text/css\"
|
|
419
|
-
/>\n</head>\n\n<body>\n\n\n<div style=\"background:#fcb426\">\n<img src=\"/static/img/banner-413.gif\"
|
|
420
|
-
alt=\"Logo\" width=\"620\" height=\"137\" border=\"0\" />\n</div>\n\n<div
|
|
421
|
-
style=\"height:1px;background:#000000\"></div>\n<div style=\"height:1px;background:#54524f\"></div>\n<div
|
|
422
|
-
style=\"height:1px;background:#f6911e\"></div>\n\n\n<!-- TABLE FOR NAVIGATION
|
|
423
|
-
BAR -->\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
|
|
424
|
-
id=\"navtable\" align=\"center\">\n<tr>\n <td width=\"34\" height=\"26\"
|
|
425
|
-
bgcolor=\"#231f20\"><img src=\"/static/img/transparent.gif\" alt=\"\" width=\"1\"
|
|
426
|
-
height=\"1\" /></td>\n \n <td height=\"26\" bgcolor=\"#231f20\" class=\"navtext\">\n
|
|
427
|
-
\ <a href=\"http://www.doi.org/index.html\">HOME</a> | <a href=\"http://www.doi.org/hb.html\">HANDBOOK</a>
|
|
428
|
-
| <a href=\"http://www.doi.org/factsheets.html\">FACTSHEETS</a>
|
|
429
|
-
| <a href=\"http://www.doi.org/faq.html\">FAQs</a> |
|
|
430
|
-
<a href=\"http://www.doi.org/resources.html\">RESOURCES</a> | <a
|
|
431
|
-
href=\"http://www.doi.org/users.html\">USERS</a> | <a href=\"http://www.doi.org/announce.html\">NEWS</a>
|
|
432
|
-
| <a href=\"http://www.doi.org/idf-members/index.html\">MEMBERS
|
|
433
|
-
AREA</a>\n </td> \n </tr>\n</table>\n<!-- END TABLE FOR NAVIGATION
|
|
434
|
-
BAR -->\n\n<div style=\"height:1px;background:#e3a44d\"></div>\n<div style=\"height:3px;background:#4d4942\"></div>\n\n\n\n<!--
|
|
435
|
-
TABLE FOR CONTENT --> \n<table width=\"100%\" border=\"0\" cellpadding=\"0\"
|
|
436
|
-
cellspacing=\"0\" bgcolor=\"#ffffff\">\n<tr>\n<td colspan=\"6\">\n<img src=\"/static/img/transparent.gif\"
|
|
437
|
-
alt=\"\" width=\"100\" height=\"20\" border=\"0\" />\n</td>\n</tr>\n\n<tr>\n\n<td
|
|
438
|
-
valign=\"top\">\n\n<h2>DOI Not Found</h2>\n\n<div class=\"divider\"> </div>\n\n\n\n<h3>10/eating-your-own-dog-food</h3>\n\n<div
|
|
439
|
-
class=\"divider\"> </div>\n\n\n\n\n<p>This DOI cannot be found in the
|
|
440
|
-
DOI System. Possible reasons are:</p>\n\n\n<ul>\n\n<li style=\"padding-bottom:
|
|
441
|
-
.5em;\">The DOI is incorrect in your source. Search for the item by name,
|
|
442
|
-
title, or other metadata using a search engine.</li>\n\n<li style=\"padding-bottom:
|
|
443
|
-
.5em;\">The DOI was copied incorrectly. Check to see that the string includes
|
|
444
|
-
all the characters before and after the slash and no sentence punctuation
|
|
445
|
-
marks.</li>\n\n<li style=\"padding-bottom: .5em;\">The DOI has not been activated
|
|
446
|
-
yet. Please try again later, and report the problem if the error continues.</li>\n\n</ul>\n\n\n\n<div
|
|
447
|
-
class=\"divider\"> </div>\n\n<p>You may report this error to the responsible
|
|
448
|
-
DOI Registration Agency using the form below. Include your email address
|
|
449
|
-
to receive confirmation and feedback.</p>\n\n<div style=\"padding-left: 4em;\">\n\n<form
|
|
450
|
-
action=\"/notfound\" method=\"post\" enctype=\"application/x-www-form-urlencoded\"
|
|
451
|
-
name=\"notFoundForm\">\n\n\n<table border=\"0\" cellspacing=\"3\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>\n\n<table
|
|
452
|
-
border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"3\">\n<tbody><tr>\n<th
|
|
453
|
-
\ align=\"right\" scope=\"row\"><label>DOI:</label></th>\n<td><input name=\"missingHandle\"
|
|
454
|
-
type=\"text\" value=\"10/eating-your-own-dog-food\" size=\"42\" readonly=\"readonly\"
|
|
455
|
-
/></td>\n</tr>\n<tr>\n<th align=\"right\" scope=\"row\"><label>URL of Web
|
|
456
|
-
Page Listing the DOI:</label></th>\n<td><input name=\"referringPage\" type=\"text\"
|
|
457
|
-
value=\"\" size=\"42\" readonly=\"readonly\" /></td>\n</tr>\n<tr>\n<th align=\"right\"
|
|
458
|
-
scope=\"row\">Your Email Address:</th>\n<td><input name=\"userEmailAddress\"
|
|
459
|
-
type=\"text\" value=\"Please enter your email address\" size=\"42\" /></td>\n</tr>\n<tr>\n<th
|
|
460
|
-
align=\"right\" scope=\"row\" valign=\"top\">Additional Information About
|
|
461
|
-
the Error:</th>\n<td><textarea name=\"comments\" cols=\"30\" rows=\"6\"></textarea></td>\n</tr>\n</tbody>\n</table>\n\n</td>\n</tr>\n<tr>\n\n<td
|
|
462
|
-
align=\"right\"><p><input name=\"send\" type=\"submit\" value=\"Submit Error
|
|
463
|
-
Report\" /></p></td>\n</tr>\n</tbody>\n</table>\n\n</form>\n</div>\n\n\n\n\n</td>\n<td><img
|
|
464
|
-
src=\"/static/img/transparent.gif\" alt=\"\" width=\"20\" height=\"20\" border=\"0\"
|
|
465
|
-
/></td>\n</tr>\n</table>\n\n<div class=\"divider-full\"> </div>\n\n<!--
|
|
466
|
-
TABLE FOR FOOTER -->\n\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
|
|
467
|
-
align=\"center\">\n\n<tr>\n<td align=\"center\" colspan=\"2\">\n<a href=\"/help.html\">DOI
|
|
468
|
-
System Proxy Server Documentation</a>\n</td>\n</tr>\n\n<tr>\n<td align=\"left\"
|
|
469
|
-
height=\"40\">\n<img src=\"/static/img/Logo_TM.png\" alt=\"DOI_disc_logo\"
|
|
470
|
-
width=\"24\" height=\"24\" />\n</td>\n\n<td align=\"left\">\n<span style=\"padding-left:
|
|
471
|
-
0px; font-size: 11px;\"><span style=\"vertical-align: super;\">®</span>,
|
|
472
|
-
DOI<span style=\"vertical-align: super;\">®</span>, DOI.ORG<span style=\"vertical-align:
|
|
473
|
-
super;\">®</span>, and shortDOI<span style=\"vertical-align: super;\">®</span>
|
|
474
|
-
are trademarks of the International DOI Foundation.</span>\n</td> \n</tr>\n</table>\n</body>\n</html>\n"
|
|
475
|
-
http_version:
|
|
476
|
-
recorded_at: Sat, 18 Feb 2017 08:06:05 GMT
|
|
477
|
-
recorded_with: VCR 3.0.3
|