-Closes #843, Endnote/Refer/BibIX translator does not export journal title. Translator now properly handles %J and %B tags on export.

This commit is contained in:
Michael Berkowitz 2007-11-28 15:59:26 +00:00
parent 6225ad4018
commit d8b1f533b7

View File

@ -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";