lib/bolognese/readers/schema_org_reader.rb in bolognese-0.13.1 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.13.2

- old
+ new

@@ -90,9 +90,11 @@ "doi" => validate_doi(id), "identifier" => identifier, "alternate_identifier" => alternate_identifier, "b_url" => normalize_id(meta.fetch("url", nil)), "content_url" => Array.wrap(meta.fetch("contentUrl", nil)).unwrap, + "content_size" => meta.fetch("contenSize", nil), + "content_format" => Array.wrap(meta.fetch("encodingFormat", nil) || meta.fetch("fileFormat", nil)).unwrap, "title" => meta.fetch("name", nil), "author" => author, "editor" => editor, "publisher" => publisher, "service_provider" => parse_attributes(meta.fetch("provider", nil), content: "name", first: true),