From 85b170db2a857cb6e7b83bdc443199396841c9a2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 27 May 2010 17:29:19 +0000 Subject: [PATCH] Pushed Google Books --- translators/Google Books.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/translators/Google Books.js b/translators/Google Books.js index 18d836599a..767b824107 100644 --- a/translators/Google Books.js +++ b/translators/Google Books.js @@ -8,7 +8,7 @@ "priority":100, "inRepository":"1", "translatorType":4, - "lastUpdated":"2010-05-03 04:20:00" + "lastUpdated":"2010-05-27 17:20:00" } /* @@ -132,8 +132,13 @@ function parseXML(text, itemUrlBase) { if (xml.publisher[0]) { newItem.publisher = xml.publisher[0].toString(); } - - newItem.title = xml.title[0].toString(); + + var titleparts = xml.title; + var title = []; + for (var i in titleparts) { + title.push(titleparts[i].toString()); + } + newItem.title = title.join(': '); var url = itemUrlBase + xml.identifier[0];