{ "translatorID": "5c95b67b-41c5-4f55-b71a-48d5d7183063", "label": "CNKI", "creator": "Aurimas Vinckevicius", "target": "^https?://(?:[^/]+\\.)?cnki.net", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcs", "lastUpdated": "2013-08-25 04:10:34" } /* CNKI(China National Knowledge Infrastructure) Translator Copyright (C) 2013 Aurimas Vinckevicius This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ // fetches Refworks record for provided IDs and calls next with resulting text // ids should be in the form [{dbname: "CDFDLAST2013", filename: "1013102302.nh"}] function getRefworksByID(ids, next) { var postData = ""; for(var i=0, n=ids.length; i