From cdeec754bf9d178db3c3435a95a8b1fe7338e94f Mon Sep 17 00:00:00 2001 From: Michael Berkowitz Date: Mon, 17 Mar 2008 15:17:24 +0000 Subject: [PATCH] -Fixes an xml namespace problem with the YouTube translator. --- scrapers.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scrapers.sql b/scrapers.sql index cd8b6e5c3..5375e8460 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', '2008-03-17 08:00:00')); +REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2008-03-17 16:15: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) { @@ -2821,7 +2821,7 @@ REPLACE INTO translators VALUES ('5dd22e9a-5124-4942-9b9e-6ee779f1023e', '1.0.0b Zotero.wait(); }'); -REPLACE INTO translators VALUES ('d3b1d34c-f8a1-43bb-9dd6-27aa6403b217', '1.0.0b4.r5', '', '2008-03-05 18:00:00', '0', '100', '4', 'YouTube', 'Sean Takats', 'https?://[^/]*youtube\.com\/', +REPLACE INTO translators VALUES ('d3b1d34c-f8a1-43bb-9dd6-27aa6403b217', '1.0.0b4.r5', '', '2008-03-17 16:15:00', '0', '100', '4', 'YouTube', 'Sean Takats', 'https?://[^/]*youtube\.com\/', 'function detectWeb(doc, url){ var namespace = doc.documentElement.namespaceURI; var nsResolver = namespace ? function(prefix) { @@ -2904,6 +2904,7 @@ function getData(ids){ // text = text.replace(/]+>/g, ""); // pad xml text = ""+text+""; var xml = new XML(text);