From 8b4a44be0f19d3a758d9b099627da6f50349119b Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 30 Jun 2006 19:21:36 +0000 Subject: [PATCH] fixes a bug that made the Google Books translator not appear adjusts the Google Books translator to work with the latest revision of the site renames the MODS translator to just MODS, because "Metadata Object Description Schema (MODS)" was too long for the export dialog --- chrome/chromeFiles/content/scholar/xpcom/ingester.js | 2 +- scrapers.sql | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/ingester.js b/chrome/chromeFiles/content/scholar/xpcom/ingester.js index a341255ea..9e1c8c100 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/ingester.js +++ b/chrome/chromeFiles/content/scholar/xpcom/ingester.js @@ -291,7 +291,7 @@ Scholar.Ingester.Document = function(myBrowser, myWindow, isHidden) { Scholar.Ingester.Document.prototype.retrieveScraper = function() { Scholar.debug("Retrieving scrapers for "+this.url); - var sql = 'SELECT * FROM translators WHERE type = 3 ORDER BY detectCode IS NULL DESC'; + var sql = 'SELECT * FROM translators WHERE type = 3 ORDER BY target IS NULL ASC'; var scrapers = Scholar.DB.query(sql); for(var i=0; i