diff --git a/resource/feeds/FeedProcessor.js b/resource/feeds/FeedProcessor.js index 315c060160..746c171fa0 100644 --- a/resource/feeds/FeedProcessor.js +++ b/resource/feeds/FeedProcessor.js @@ -1106,6 +1106,9 @@ function FeedProcessor() { "IN_ENTRIES": { "atom:author": new ElementInfo("authors", Person, null, true), "atom:contributor": new ElementInfo("contributors", Person, null, true), + "dc:creator": new ElementInfo("authors", Person, rssAuthor, true), + "dc:author": new ElementInfo("authors", Person, rssAuthor, true), + "dc:contributor": new ElementInfo("contributors", Person, rssAuthor, true), "atom:link": new ElementInfo("links", null, null, true), }, diff --git a/test/tests/data/feed.atom b/test/tests/data/feed.atom index de53a09f64..4f24eff7e5 100644 --- a/test/tests/data/feed.atom +++ b/test/tests/data/feed.atom @@ -1,5 +1,5 @@ - + ArXiv Query: search_query=cat:math.MG&id_list=&start=0&max_results=99 http://arxiv.org/api/t16YHIbuctl2Omz/1ISTPDEQFkU @@ -19,6 +19,7 @@ Author2 A. Auth + Author3 Z. McAuthorton 10.12345/example 33 pages, 24 Figures diff --git a/test/tests/feedReaderTest.js b/test/tests/feedReaderTest.js index 1a15df5246..c5fe4c2f3b 100644 --- a/test/tests/feedReaderTest.js +++ b/test/tests/feedReaderTest.js @@ -212,7 +212,8 @@ describe("Zotero.FeedReader", function () { url: 'http://www.example.com/item1', creators: [ { firstName: 'Author1 A. T.', lastName: 'Rohtua', creatorType: 'author' }, - { firstName: 'Author2 A.', lastName: 'Auth', creatorType: 'author' } + { firstName: 'Author2 A.', lastName: 'Auth', creatorType: 'author' }, + { firstName: 'Author3 Z.', lastName: 'McAuthorton', creatorType: 'author' }, ], // TODO: DOI? date: '2017-10-27T12:27:09Z',