Pushed Google Books
This commit is contained in:
parent
9a27afb069
commit
85b170db2a
1 changed files with 8 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"inRepository":"1",
|
"inRepository":"1",
|
||||||
"translatorType":4,
|
"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]) {
|
if (xml.publisher[0]) {
|
||||||
newItem.publisher = xml.publisher[0].toString();
|
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];
|
var url = itemUrlBase + xml.identifier[0];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue