From d8b1f533b78eb442118e41d9ad2eefb2b5ee4e3c Mon Sep 17 00:00:00 2001 From: Michael Berkowitz Date: Wed, 28 Nov 2007 15:59:26 +0000 Subject: [PATCH] -Closes #843, Endnote/Refer/BibIX translator does not export journal title. Translator now properly handles %J and %B tags on export. --- scrapers.sql | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scrapers.sql b/scrapers.sql index ed7e0f385..4bbf160c7 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -22,7 +22,7 @@ -- Set the following timestamp to the most recent scraper update date -REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-11-27 03:00:00')); +REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-11-28 16:30:00')); REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b4.r1', '', '2007-06-21 20:00:00', '1', '100', '4', 'Amazon.com', 'Sean Takats', '^https?://(?:www\.)?amazon', 'function detectWeb(doc, url) { @@ -15354,7 +15354,7 @@ function doExport() { } }'); -REPLACE INTO translators VALUES ('881f60f2-0802-411a-9228-ce5f47b64c7d', '1.0.0b4.r1', '', '2007-09-09 05:30:00', '1', '100', '3', 'EndNote/Refer/BibIX', 'Simon Kornblith', 'txt', +REPLACE INTO translators VALUES ('881f60f2-0802-411a-9228-ce5f47b64c7d', '1.0.0b4.r5', '', '2007-11-28 16:30:00', '1', '100', '3', 'EndNote/Refer/BibIX', 'Simon Kornblith', 'txt', 'Zotero.configure("dataMode", "line"); function detectImport() { @@ -15596,6 +15596,11 @@ function doExport() { if(item[fieldMap[j]]) addTag(j, item[fieldMap[j]]); } + //use input field map + for (var k in inputFieldMap) { + if(item[inputFieldMap[k]]) addTag(k, item[inputFieldMap[k]]); + } + // creators for(var j in item.creators) { var referTag = "A";