www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2e09735109007cc1e1398c63cf56217b63f096dd
parent fb104160d5f3687d210e1acb9d50ffebe7f1e6dc
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  1 Jul 2009 08:38:38 +0000

Fix zotero.org translator (namespace change)


Diffstat:
Mrepotime.txt | 2+-
Mtranslators/zotero.org.js | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/repotime.txt b/repotime.txt @@ -1 +1 @@ -2009-06-04 01:10:00 +2009-07-01 08:40:00 diff --git a/translators/zotero.org.js b/translators/zotero.org.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-05-29 22:55:00" + "lastUpdated":"2009-07-01 08:40:00" } function detectWeb(doc, url) { @@ -84,7 +84,7 @@ function detectWeb(doc, url) { function xmlToItem(xmlItem) { // "with ({});" needed to fix default namespace scope issue // See https://bugzilla.mozilla.org/show_bug.cgi?id=330572 - default xml namespace = 'http://zotero.org/namespaces/transfer'; with ({}); + default xml namespace = 'http://zotero.org/ns/transfer'; with ({}); var itemType = xmlItem.@itemType; // FIXME: translate.js only allow top-level attachments in import mode @@ -156,7 +156,7 @@ function doWeb(doc, url) { } var nsAtom = new Namespace('http://www.w3.org/2005/Atom'); - var nsZXfer = new Namespace('http://zotero.org/namespaces/transfer'); + var nsZXfer = new Namespace('http://zotero.org/ns/transfer'); if (detectWeb(doc, url) == "multiple") { var namespace = doc.documentElement.namespaceURI;