{ "translatorID": "75edc5a1-6470-465a-a928-ccb77d95eb72", "label": "American Institute of Aeronautics and Astronautics", "creator": "Michael Berkowitz", "target": "^https?://arc\\.aiaa\\.org/", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcv", "lastUpdated": "2013-12-12 03:22:14" } /* ***** BEGIN LICENSE BLOCK ***** AIAA Translator (Based on ASCE) Copyright © 2013 Sebastian Karcher This file is part of Zotero. Zotero is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Zotero is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Zotero. If not, see . ***** END LICENSE BLOCK ***** */ function detectWeb(doc, url) { if (url.match(/\/doi\/abs\/10\.|\/doi\/full\/10\./)) { return "journalArticle"; } else if (url.match(/\/action\/doSearch\?|\/toc\//)) { return "multiple"; } } function doWeb(doc, url) { if (detectWeb(doc, url) == "multiple") { var items = new Object(); var rows = ZU.xpath(doc, '//table[@class="articleEntry"]'); var doi; var title; for (var i=0, n=rows.length; i