lib/bolognese/utils.rb in bolognese-0.10.7 vs lib/bolognese/utils.rb in bolognese-0.10.8

- old
+ new

@@ -68,10 +68,39 @@ "ReferenceEntry" => "entry-dictionary", "JournalVolume" => nil, "BookSet" => nil } + CR_TO_SO_TRANSLATIONS = { + "Proceedings" => nil, + "ReferenceBook" => "Book", + "JournalIssue" => "PublicationIssue", + "ProceedingsArticle" => nil, + "Other" => "CreativeWork", + "Dissertation" => "Thesis", + "Dataset" => "Dataset", + "EditedBook" => "Book", + "JournalArticle" => "ScholarlyArticle", + "Journal" => nil, + "Report" => nil, + "BookSeries" => nil, + "ReportSeries" => nil, + "BookTrack" => nil, + "Standard" => nil, + "BookSection" => nil, + "BookPart" => nil, + "Book" => "Book", + "BookChapter" => "Chapter", + "StandardSeries" => nil, + "Monograph" => "Book", + "Component" => "CreativeWork", + "ReferenceEntry" => nil, + "JournalVolume" => "PublicationVolume", + "BookSet" => nil, + "PostedContent" => "ScholarlyArticle" + } + CR_TO_JATS_TRANSLATIONS = { "Proceedings" => "working-paper", "ReferenceBook" => "book", "JournalIssue" => "journal", "ProceedingsArticle" => "working-paper", @@ -111,10 +140,11 @@ "Event" => "Event", "ImageObject" => "Image", "Movie" => "Audiovisual", "PublicationIssue" => "Text", "ScholarlyArticle" => "Text", + "Thesis" => "Text", "Service" => "Service", "SoftwareSourceCode" => "Software", "VideoObject" => "Audiovisual", "WebPage" => "Text", "WebSite" => "Text" @@ -155,10 +185,11 @@ "ImageObject" => "graphic", "Movie" => "motion_picture", "PublicationIssue" => nil, "ScholarlyArticle" => "article-journal", "Service" => nil, + "Thesis" => "thesis", "VideoObject" => "broadcast", "WebPage" => "webpage", "WebSite" => "webpage" } @@ -229,9 +260,10 @@ } SO_TO_BIB_TRANSLATIONS = { "Article" => "article", "AudioObject" => "misc", + "Thesis" => "phdthesis", "Blog" => "misc", "BlogPosting" => "article", "Collection" => "misc", "CreativeWork" => "misc", "DataCatalog" => "misc",