Sha256: 58c204274792800453c60f357eb77118d911d91d1b7fe8ba301726692bc44244
Contents?: true
Size: 956 Bytes
Versions: 11
Compression:
Stored size: 956 Bytes
Contents
module Bolognese module Writers module CiteprocWriter def citeproc hsh = { "type" => citeproc_type, "id" => id, "categories" => parse_attributes(keywords, content: "text"), "language" => language, "author" => to_citeproc(author), "editor" => to_citeproc(editor), "issued" => get_date_parts(date_published), "submitted" => get_date_parts(date_submitted), "abstract" => parse_attributes(description, content: "text", first: true), "container-title" => container_title, "DOI" => doi, "issue" => issue, "page" => pagination, "publisher" => publisher, "title" => parse_attributes(title, content: "text", first: true), "URL" => url, "version" => version, "volume" => volume }.compact JSON.pretty_generate hsh.presence end end end end
Version data entries
11 entries across 11 versions & 1 rubygems