sheet = header.getSheet(); var index = cell.getRow() - header.getRow(); if (!info.uuid) { info.uuid = Utilities.getUuid(); } for (prop in info) { if (columns.indexOf(prop) < 0) continue; header.getCell(1, 1).offset(index, columns.indexOf(prop)).setValue(info[prop]); }
= {}; try { var response = UrlFetchApp.fetch(url); if (!response) { return null; } var xml = XmlService.parse(response.getContentText()); if (!xml) { return null; } var items = xml.getRootElement().getChildren("channel")[0].getChildren("item"); info.jan = isbn; if (items.length == 0) { return null; } items.forEach(function(item){ var title = item.getChildText("title", namespaceDc); var creators = item.getChildren("creator", namespaceDc);