diff --git a/COinS.js b/COinS.js index 2fee64a2c4..c6a43ba06f 100644 --- a/COinS.js +++ b/COinS.js @@ -8,8 +8,8 @@ "priority": 310, "inRepository": true, "translatorType": 6, - "browserSupport": "gcsv", - "lastUpdated": "2021-06-01 17:38:46" + "browserSupport": "gcsibv", + "lastUpdated": "2025-04-08 14:19:53" } /* @@ -36,6 +36,9 @@ */ function detectWeb(doc, _url) { + if (!Zotero.parentTranslator) { + return false; + } var encounteredType = false; var spans = doc.querySelectorAll('span.Z3988[title]'); diff --git a/DOI.js b/DOI.js index fb2c3e7a8e..d1a1131b8c 100644 --- a/DOI.js +++ b/DOI.js @@ -9,7 +9,7 @@ "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", - "lastUpdated": "2020-03-13 02:38:54" + "lastUpdated": "2025-04-08 14:19:39" } /* @@ -100,6 +100,9 @@ function getDOIs(doc) { } function detectWeb(doc, url) { + if (!Zotero.parentTranslator) { + return false; + } // Blacklist the advertising iframe in ScienceDirect guest mode: // http://www.sciencedirect.com/science/advertisement/options/num/264322/mainCat/general/cat/general/acct/... // This can be removed from blacklist when 5c324134c636a3a3e0432f1d2f277a6bc2717c2a hits all clients (Z 3.0+) diff --git a/Embedded Metadata.js b/Embedded Metadata.js index efcba4daac..7032b6a134 100644 --- a/Embedded Metadata.js +++ b/Embedded Metadata.js @@ -9,7 +9,7 @@ "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", - "lastUpdated": "2022-01-03 16:51:36" + "lastUpdated": "2025-04-08 14:18:58" } /* @@ -223,12 +223,14 @@ function completeItem(doc, newItem, hwType) { newItem.complete(); } -// eslint-disable-next-line consistent-return -function detectWeb(doc, url) { +async function detectWeb(doc, url) { + if (!Zotero.parentTranslator) { + return false; + } // blacklist wordpress jetpack comment plugin so it doesn't override other metadata if (url.includes("jetpack.wordpress.com/jetpack-comment/")) return false; if (exports.itemType) return exports.itemType; - init(doc, url, Zotero.done); + return new Promise(resolve => init(doc, url, resolve)); } function init(doc, url, callback, forceLoadRDF) { @@ -651,10 +653,10 @@ function addOtherMetadata(doc, newItem) { function addLowQualityMetadata(doc, newItem) { // if we don't have a creator, look for byline on the page // but first, we're desperate for a title - if (!newItem.title) { - Z.debug("Title was not found in meta tags. Using document title as title"); - newItem.title = doc.title; - } + // if(!newItem.title) { + // Z.debug("Title was not found in meta tags. Using document title as title"); + // newItem.title = doc.title; + // } if (newItem.title) { newItem.title = newItem.title.replace(/\s+/g, ' '); // make sure all spaces are \u0020 diff --git a/Generic.js b/Generic.js new file mode 100644 index 0000000000..d2fd4379a6 --- /dev/null +++ b/Generic.js @@ -0,0 +1,1747 @@ +{ + "translatorID": "7b09d360-409f-4663-b1ca-248d6c488a9d", + "label": "Generic", + "creator": "Martynas Bagdonas", + "target": "", + "minVersion": "5.0.0", + "maxVersion": "", + "priority": 300, + "inRepository": true, + "translatorType": 4, + "browserSupport": "gcsibv", + "lastUpdated": "2025-04-08 14:27:11" +} + +const TRANSLATOR_IDS = Object.freeze({ + EM: '951c027d-74ac-47d4-a107-9c3069ab7b48', + COINS: '05d07af9-105a-4572-99f6-a8e231c0daef', + UNAPI: 'e7e01cac-1e37-4da6-b078-a0e8343b0e98', + LM: '02378e28-8a35-440c-b5d2-7eaca74615b6', + JSONLD: '5ea2edd6-b836-490a-841f-d9274da308f9', +}); + +async function detectWeb(doc, url) { + // Get DOIs from the web page URL + let urlDois = getUrlDois(url); + // Get DOIs from the document HEAD - we trust metadata in the HEAD more than in the BODY + let headDois = getHeadDois(doc); + // Get DOIs from document text nodes - visible text + let visibleDois = getVisibleDois(doc); + // If we have DOIs in the HEAD, use those + let documentDois = headDois.length ? headDois : visibleDois; + + // Combine all DOIs and filter the unique ones + let allDois = [...new Set([...urlDois, ...documentDois])]; + + // Try to get the main item from the Embedded Metadata translator, + // if it has a title (EM translator must not to use document.title + // and should only extract quality metadata) + let emDetection = await runDetect(TRANSLATOR_IDS.EM, doc); + if (emDetection) { + Zotero.debug(`EM detected ${emDetection}`); + return emDetection; + } + + // Try to get the main item by using the DOI in the URL + if (urlDois.length === 1) { + Zotero.debug('Detected single DOI in URL'); + return 'journalArticle'; + } + + if (allDois.length) { + Zotero.debug('Detected DOIs in document'); + return 'multiple'; + } + + for (let [key, translatorID] of Object.entries(TRANSLATOR_IDS).filter(([key]) => key !== 'EM')) { + let detection = await runDetect(translatorID, doc); + if (detection) { + Zotero.debug(`${key} detected ${detection}`); + return detection; + } + } + + return false; +} + +/** + * Clean invalid parentheses + * + * I.e "(10.1016/s1474-5151(03)00108-7)" is extracted as "10.1016/s1474-5151(03)00108-7)" + * and this functions fixes it to "10.1016/s1474-5151(03)00108-7" + * @param text + * @return {string} + */ +function cleanInvalidParentheses(text) { + let text2 = ''; + let depth = 0; + for (let c of text) { + if ([']', ')', '}'].includes(c)) { + depth--; + if (depth < 0) break; + } + if (['[', '(', '{'].includes(c)) { + depth++; + } + text2 += c; + } + return text2; +} + +/** + * Extract DOIs from the URL + * + * @param url + * @return {Array} + */ +function getUrlDois(url) { + let dois = []; + + // Extract DOIs from the current URL + let re = /10.[0-9]{4,}?\/[^\s&?#,]*[^\s&?#\/.,]/g; + let m; + while (m = re.exec(decodeURIComponent(url))) { + let doi = m[0]; + // ASCII letters in DOI are case insensitive + doi = doi.split('').map(c => (c >= 'A' && c <= 'Z') ? c.toLowerCase() : c).join(''); + if (!dois.includes(doi)) { + dois.push(doi); + } + } + + return dois; +} + +/** + * Extract DOIs from text nodes (visible text) in the whole document. + * Because it's very unlikely to encounter the correct DOI in attributes + * but not in the visible text + * + * @param doc + * @return {Array} + */ +function getVisibleDois(doc) { + const DOIre = /\b10\.[0-9]{4,}\/[^\s&"']*[^\s&"'.,]/g; + const DOIXPath = "//text()[contains(., '10.')]\ + [not(parent::script or parent::style)]"; + + let dois = []; + + let node, m; + let results = doc.evaluate(DOIXPath, doc, null, XPathResult.ANY_TYPE, null); + while (node = results.iterateNext()) { + DOIre.lastMatch = 0; + while (m = DOIre.exec(node.nodeValue)) { + let doi = m[0]; + doi = cleanInvalidParentheses(doi); + + // Normalize by lowercasing ASCII letters + doi = doi.split('').map(c => (c >= 'A' && c <= 'Z') ? c.toLowerCase() : c).join(''); + + // Only add new DOIs + if (!dois.includes(doi)) { + dois.push(doi); + } + } + } + + return dois; +} + +/** + * Extract DOIs from the HEAD. + * We could get a DOI from the EM translator returned DOI field, + * but in this direct way we are extracting DOIs in whatever way they are provided + * + * @param doc + * @return {Array} + */ +function getHeadDois(doc) { + let dois = []; + + let re = /\b10\.[0-9]{4,}\/[^\s&"']*[^\s&"'.,]/g; + let text = doc.head.innerHTML; + + let m; + while (m = re.exec(text)) { + let doi = m[0]; + doi = cleanInvalidParentheses(doi); + + // Normalize by lowercasing ASCII letters + doi = doi.split('').map(c => (c >= 'A' && c <= 'Z') ? c.toLowerCase() : c).join(''); + + // Only add new DOIs + if (!dois.includes(doi)) { + dois.push(doi); + } + } + + return dois; +} + +function matchTitle(text, pattern) { + text = Zotero.Utilities.asciify(text).toLowerCase(); + pattern = Zotero.Utilities.asciify(pattern).toLowerCase(); + + if (text.length < pattern.length) { + pattern = pattern.slice(0, text.length); + } + + let charsMin = 18; + let charsPerError = 2; + + if (pattern.length < charsMin) return false; + + let errors = Math.floor((pattern.length - charsMin) / charsPerError); + let matches = Zotero.Utilities.approximateMatch(text, pattern, errors); + return !!matches.length; +} + +/** + * Get titles that are representing the main entity of the page + * @param doc + * @return {Array} + */ +function getPotentialTitles(doc) { + let titles = []; + + titles.push(doc.title); + + let nodes = doc.querySelectorAll('h1, [role="heading"][aria-level="1"]'); + for (let node of nodes) { + titles.push(node.textContent); + } + + nodes = doc.querySelectorAll('h2, [role="heading"][aria-level="2"], [role="heading"]:not([aria-level])'); + if (nodes.length === 1) { + titles.push(nodes[0].textContent); + } + + nodes = doc.querySelectorAll('h3, [role="heading"][aria-level="3"]'); + if (nodes.length === 1) { + titles.push(nodes[0].textContent); + } + + return titles; +} + +// DOI +async function getDoiItem(doi) { + try { + let translator = Zotero.loadTranslator("search"); + translator.setTranslator('b28d0d42-8549-4c6d-83fc-8382874a5cb9'); + translator.setSearch({"itemType": "journalArticle", "DOI": doi}); + translator.setHandler("itemDone", function (obj, item) { + }); + translator.setHandler('error', function () { + }); + return (await translator.translate())[0]; + } + catch (err) { + + } + return null; +} + +async function runDetect(translatorID, doc) { + let translator = Zotero.loadTranslator("web"); + translator.setTranslator(translatorID); + translator.setDocument(doc); + try { + let translatorObj = await translator.getTranslatorObject(); + return await translatorObj.detectWeb(doc, doc.location.href); + } + catch (err) { + Zotero.debug(err); + return false; + } +} + +async function runDo(translatorID, doc) { + try { + let translator = Zotero.loadTranslator("web"); + translator.setTranslator(translatorID); + translator.setDocument(doc); + translator.setHandler('itemDone', () => {}); + translator.setHandler('error', () => {}); + return await translator.translate(); + } + catch (err) { + return []; + } +} + +/** + * Combine two items + * + * @param existingItem + * @param newItem + * @return {Zotero.Item} + */ +function combineItems(existingItem, newItem) { + if (existingItem.itemType === 'webpage' && newItem.itemType !== 'webpage') { + Zotero.debug('Switching to item type ' + newItem.itemType); + existingItem.itemType = newItem.itemType; + } + + for (let fieldName in newItem) { + if ( + Zotero.Utilities.fieldIsValidForType(fieldName, existingItem.itemType) || + ['attachments', 'creators', 'tags', 'notes'].includes(fieldName) + ) { + // Add all newItem fields that doesn't exist in existingItem or + // string/array length is higher + // Todo: Implement a smarter logic + if ( + !existingItem[fieldName] || + existingItem[fieldName].length < newItem[fieldName].length + ) { + existingItem[fieldName] = newItem[fieldName]; + } + } + } + + return existingItem; +} + +/** + * Match multiple items and combine their fields. + * Return only unique items + * + * @param existingItems + * @param newItems + * @param single + */ +function combineMultipleItems(existingItems, newItems, single) { + // Todo: Optimize + let additionalItems = []; + for (let newItem of newItems) { + let matched = false; + for (let existingItem of existingItems) { + // Currently this is only matching item titles, and while that works quite well, + // it would be good to utilize other fields too. + // Some pages can even have multiple items with very similar titles i.e. + // "Introdution 1", "1. Introduction", "Introduction IV", etc. + if ( + existingItem.title && + newItem.title && + matchTitle(existingItem.title, newItem.title) + ) { + combineItems(existingItem, newItem); + matched = true; + } + } + + // If not in the single mode, and the item is not matched, add it + if (!matched && !single) { + additionalItems.push(newItem); + } + } + + existingItems.push(...additionalItems); +} + +/** + * Try to match each item with potential titles + * + * @param titles + * @param items + * @return {Array} + */ +function matchItemsWithTitles(titles, items) { + let matchedItems = []; + // Todo: Optimize + for (let item of items) { + for (let title of titles) { + Zotero.debug(`Trying to match titles '${item.title}' and '${title}'`); + if (title && item.title && matchTitle(title, item.title)) { + Zotero.debug(`Matched '${item.title}' and '${title}'`); + matchedItems.push(item); + break; + } + } + } + + return matchedItems; +} + +async function doWeb(doc, url) { + // Get all potential titles to match the main item + let potentialTitles = getPotentialTitles(doc); + + // Get DOIs from the web page URL + let urlDois = getUrlDois(url); + // Get DOIs from the document HEAD - we trust metadata in the HEAD more than in the BODY + let headDois = getHeadDois(doc); + // Get DOIs from document text nodes - visible text + let visibleDois = getVisibleDois(doc); + // If we have DOIs in the HEAD, use those + let documentDois = headDois.length ? headDois : visibleDois; + + // Combine all DOIs and filter the unique ones + let allDois = [...new Set([...urlDois, ...documentDois])]; + // Fetch metadata for all DOIs. TODO: Optimize + let doiItemsPromise = Promise.all(allDois.map(async doi => await getDoiItem(doi))) + .then(doiItems => doiItems.filter(x => x)); + + // Try to get the main item of the page + let mainItem; + + // Try to get the main item from the Embedded Metadata translator, + // if it has a title (EM translator must not to use document.title + // and should only extract quality metadata) + let emItem = (await runDo(TRANSLATOR_IDS.EM, doc))?.[0]; + if (emItem && emItem.title) { + mainItem = emItem; + } + + // Try to get the main item by using the DOI in the URL + if (!mainItem && urlDois.length === 1) { + mainItem = await getDoiItem(urlDois[0]); + } + + // Try to get the main item from the DOI in the EM item + if (!mainItem && emItem && emItem.DOI) { + mainItem = await getDoiItem(emItem.DOI); + } + + // Translate items by using various generic translators. + // All of the child translators can theoretically return multiple items, + // although for some of them it's more common than for others + // But none of them can 100% determine which item is the main item of the page. + // Therefore later we are trying to match items with the page title + + let [doiItems, coinsItems, unapiItems, lmItems, jsonldItems] = await Promise.all([ + doiItemsPromise, + // COinS translator can fetch DOI metadata by itself, + // which results to duplicated requests for some DOIs. TODO: Optimize + runDo(TRANSLATOR_IDS.COINS, doc), + runDo(TRANSLATOR_IDS.UNAPI, doc), + // Linked Metadata translator normally returns single item, but + // the translators behind the LM translator are capable for multiple items too. + // Therefore we treat it as multiple + runDo(TRANSLATOR_IDS.LM, doc), + // JSON-LD translator can return multiple items and we don't know which one is the main one. + // Although, theoretically, schema.org keywords `mainEntity` and `mainEntityOfPage` + // can be utilized + runDo(TRANSLATOR_IDS.JSONLD, doc), + ]); + + // Make item groups from the items returned from different translators + let itemGroups = [ + doiItems, + coinsItems, + unapiItems, + lmItems, + jsonldItems + ]; + + // Try to determine the main item by matching items from each group with the potential titles + if (!mainItem) { + for (let itemGroup of itemGroups) { + let matchedItems = matchItemsWithTitles(potentialTitles, itemGroup); + if (matchedItems.length === 1) { + mainItem = matchedItems[0]; + break; + } + else if (matchedItems.length > 1) { + // Something is wrong, multiple items were matched + break; + } + } + } + + let single = false; + let items = []; + + // If the main item exists, we are in the single item mode, otherwise multiple + if (mainItem) { + single = true; + items = [mainItem]; + } + + // Try to match and combine items from all groups: + // 1) In the single item mode try to enrich its fields + // with the items matched in other groups + // 2) In the multi item mode try to match and enrich multiple and unique items + for (let itemGroup of itemGroups) { + combineMultipleItems(items, itemGroup, single); + } + + Zotero.debug(JSON.stringify({ + url, + urlDois, + headDois, + visibleDois, + emItem, + mainItem, + coinsItems, + unapiItems, + lmItems, + jsonldItems + }, null, 2)); + + switch (items.length) { + case 0: + return; + case 1: + if (single) { + items[0].complete(); + return; + } + default: + let itemEntries = Array.from(items.entries()); + let selectedItemEntries = await Zotero.selectItems( + Object.fromEntries(itemEntries.map(([i, item]) => [i, item.title])) + ); + if (selectedItemEntries) { + for (let i of Object.keys(selectedItemEntries)) { + items[i].complete(); + } + } + return; + } +} + +var exports = { + "doWeb": doWeb, + "detectWeb": detectWeb +} + +/** BEGIN TEST CASES **/ +var testCases = [ + { + "type": "web", + "url": "https://apnews.com/article/nebraska-libraries-obscenity-bill-2dc43c6f4f1bc602a02d7bb66b6d137f", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "newspaperArticle", + "title": "A Nebraska bill to subject librarians to charges for giving 'obscene material' to children fails", + "creators": [ + { + "firstName": "MARGERY A.", + "lastName": "BECK", + "creatorType": "author" + } + ], + "date": "2024-03-20T21:30:38Z", + "abstractNote": "A bill that would have held school librarians and teachers criminally responsible for providing “obscene material” to Nebraska students in grades K-12 failed to advance Wednesday in the Legislature. State Sen. Joni Albrecht, who introduced the bill, said it simply would close a “loophole” in the state’s existing obscenity laws that prohibit adults from giving such material to minors. But critics panned it as a way for a vocal minority to ban books they don’t like from school and public library shelves. The heated debate over the bill led the body’s Republican Speaker of the Legislature to slash debate times in half on bills he deemed as covering “social issues” for the remaining 13 days of the session.", + "language": "en", + "libraryCatalog": "apnews.com", + "publicationTitle": "AP News", + "section": "U.S. News", + "url": "https://apnews.com/article/nebraska-libraries-obscenity-bill-2dc43c6f4f1bc602a02d7bb66b6d137f", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Censorship" + }, + { + "tag": "Children" + }, + { + "tag": "Education" + }, + { + "tag": "General news" + }, + { + "tag": "Law enforcement" + }, + { + "tag": "Nebraska" + }, + { + "tag": "Political debates" + }, + { + "tag": "Politics" + }, + { + "tag": "Sex education" + }, + { + "tag": "U.S. News" + }, + { + "tag": "U.S. news" + }, + { + "tag": "a" + }, + { + "tag": "n" + }, + { + "tag": "nebraska libraries obscenity bill" + }, + { + "tag": "p" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.ajol.info/index.php/thrb/article/view/63347", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Knowledge, treatment seeking and preventive practices in respect of malaria among patients with HIV at the Lagos University Teaching Hospital", + "creators": [ + { + "firstName": "Akinwumi A.", + "lastName": "Akinyede", + "creatorType": "author" + }, + { + "firstName": "Alade", + "lastName": "Akintonwa", + "creatorType": "author" + }, + { + "firstName": "Charles", + "lastName": "Okany", + "creatorType": "author" + }, + { + "firstName": "Olufunsho", + "lastName": "Awodele", + "creatorType": "author" + }, + { + "firstName": "Duro C.", + "lastName": "Dolapo", + "creatorType": "author" + }, + { + "firstName": "Adebimpe", + "lastName": "Adeyinka", + "creatorType": "author" + }, + { + "firstName": "Ademola", + "lastName": "Yusuf", + "creatorType": "author" + } + ], + "date": "2011/10/17", + "DOI": "10.4314/thrb.v13i4.63347", + "ISSN": "1821-9241", + "abstractNote": "The synergistic interaction between Human Immunodeficiency virus (HIV) disease and Malaria makes it mandatory for patients with HIV to respond appropriately in preventing and treating malaria. Such response will help to control the two diseases. This study assessed the knowledge of 495 patients attending the HIV clinic, in Lagos University Teaching Hospital, Nigeria.  Their treatment seeking, preventive practices with regards to malaria, as well as the impact of socio – demographic / socio - economic status were assessed. Out of these patients, 245 (49.5 %) used insecticide treated bed nets; this practice was not influenced by socio – demographic or socio – economic factors.  However, knowledge of the cause, knowledge of prevention of malaria, appropriate use of antimalarial drugs and seeking treatment from the right source increased with increasing level of education (p < 0.05). A greater proportion of the patients, 321 (64.9 %) utilized hospitals, pharmacy outlets or health centres when they perceived an attack of malaria. Educational intervention may result in these patients seeking treatment from the right place when an attack of malaria fever is perceived.", + "issue": "4", + "journalAbbreviation": "Tanzania J Hlth Res", + "language": "en", + "libraryCatalog": "DOI.org (Crossref)", + "publicationTitle": "Tanzania Journal of Health Research", + "rights": "Copyright (c)", + "url": "https://www.ajol.info/index.php/thrb/article/view/63347", + "volume": "13", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "HIV patients" + }, + { + "tag": "Nigeria" + }, + { + "tag": "knowledge" + }, + { + "tag": "malaria" + }, + { + "tag": "prevention" + }, + { + "tag": "treatment" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://scholarworks.umass.edu/climate_nuclearpower/2011/nov19/34/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "conferencePaper", + "title": "Session F: Contributed Oral Papers – F2: Energy, Climate, Nuclear Medicine: Reducing Energy Consumption and CO2 One Street Lamp at a Time", + "creators": [ + { + "firstName": "Peter", + "lastName": "Somssich", + "creatorType": "author" + } + ], + "date": "2011-11-19", + "abstractNote": "Why wait for federal action on incentives to reduce energy use and address Greenhouse Gas (GHG) reductions (e.g. CO2), when we can take personal actions right now in our private lives and in our communities? One such initiative by private citizens working with Portsmouth NH officials resulted in the installation of energy reducing lighting products on Court St. and the benefits to taxpayers are still coming after over 4 years of operation. This citizen initiative to save money and reduce CO2 emissions, while only one small effort, could easily be duplicated in many towns and cities. Replacing old lamps in just one street fixture with a more energy efficient (Non-LED) lamp has resulted after 4 years of operation ($\\sim $15,000 hr. life of product) in real electrical energy savings of $>$ {\\$}43. and CO2 emission reduction of $>$ 465 lbs. The return on investment (ROI) was less than 2 years. This is much better than any financial investment available today and far safer. Our street only had 30 such lamps installed; however, the rest of Portsmouth (population 22,000) has at least another 150 street lamp fixtures that are candidates for such an upgrade. The talk will also address other energy reduction measures that green the planet and also put more green in the pockets of citizens and municipalities.", + "conferenceName": "Climate Change and the Future of Nuclear Power", + "language": "en", + "libraryCatalog": "scholarworks.umass.edu", + "shortTitle": "Session F", + "url": "https://scholarworks.umass.edu/climate_nuclearpower/2011/nov19/34", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://scholarworks.umass.edu/lov/vol2/iss1/2/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Wabanaki Resistance and Healing: An Exploration of the Contemporary Role of an Eighteenth Century Bounty Proclamation in an Indigenous Decolonization Process", + "creators": [ + { + "firstName": "Bonnie D.", + "lastName": "Newsom", + "creatorType": "author" + }, + { + "firstName": "Jamie", + "lastName": "Bissonette-Lewey", + "creatorType": "author" + } + ], + "date": "2012-03-09", + "DOI": "10.7275/R5KW5CXB", + "ISSN": "1947-508X", + "abstractNote": "The purpose of this paper is to examine the contemporary role of an eighteenth century bounty proclamation issued on the Penobscot Indians of Maine. We focus specifically on how the changing cultural context of the 1755 Spencer Phips Bounty Proclamation has transformed the document from serving as a tool for sanctioned violence to a tool of decolonization for the Indigenous peoples of Maine. We explore examples of the ways indigenous and non-indigenous people use the Phips Proclamation to illustrate past violence directed against Indigenous peoples. This exploration is enhanced with an analysis of the re-introduction of the Phips Proclamation using concepts of decolonization theory.", + "issue": "1", + "language": "en", + "libraryCatalog": "scholarworks.umass.edu", + "pages": "2", + "publicationTitle": "Landscapes of Violence", + "shortTitle": "Wabanaki Resistance and Healing", + "url": "https://scholarworks.umass.edu/lov/vol2/iss1/2", + "volume": "2", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Bounty Proclamations" + }, + { + "tag": "Decolonization" + }, + { + "tag": "Wabanaki" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://scholarworks.umass.edu/open_access_dissertations/508/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "thesis", + "title": "Decision-Theoretic Meta-reasoning in Partially Observable and Decentralized Settings", + "creators": [ + { + "firstName": "Alan Scott", + "lastName": "Carlin", + "creatorType": "author" + } + ], + "date": "2012-02-01", + "abstractNote": "This thesis examines decentralized meta-reasoning. For a single agent or multiple agents, it may not be enough for agents to compute correct decisions if they do not do so in a timely or resource efficient fashion. The utility of agent decisions typically increases with decision quality, but decreases with computation time. The reasoning about one's computation process is referred to as meta-reasoning. Aspects of meta-reasoning considered in this thesis include the reasoning about how to allocate computational resources, including when to stop one type of computation and begin another, and when to stop all computation and report an answer. Given a computational model, this translates into computing how to schedule the basic computations that solve a problem. This thesis constructs meta-reasoning strategies for the purposes of monitoring and control in multi-agent settings, specifically settings that can be modeled by the Decentralized Partially Observable Markov Decision Process (Dec-POMDP). It uses decision theory to optimize computation for efficiency in time and space in communicative and non-communicative decentralized settings. Whereas base-level reasoning describes the optimization of actual agent behaviors, the meta-reasoning strategies produced by this thesis dynamically optimize the computational resources which lead to the selection of base-level behaviors.", + "extra": "DOI: 10.7275/n8e9-xy93", + "language": "en", + "libraryCatalog": "scholarworks.umass.edu", + "university": "University of Massachusetts Amherst", + "url": "https://scholarworks.umass.edu/cgi/viewcontent.cgi?article=1506&context=open_access_dissertations", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Agents" + }, + { + "tag": "Dec-POMDP" + }, + { + "tag": "MDP" + }, + { + "tag": "Meta-reasoning" + }, + { + "tag": "Multiagent" + }, + { + "tag": "Partial Observability" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://scielosp.org/article/rsp/2007.v41suppl2/94-100/en/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Perceptions of HIV rapid testing among injecting drug users in Brazil", + "creators": [ + { + "firstName": "P. R.", + "lastName": "Telles-Dias", + "creatorType": "author" + }, + { + "firstName": "S.", + "lastName": "Westman", + "creatorType": "author" + }, + { + "firstName": "A. E.", + "lastName": "Fernandez", + "creatorType": "author" + }, + { + "firstName": "M.", + "lastName": "Sanchez", + "creatorType": "author" + } + ], + "date": "2007-12", + "ISSN": "0034-8910, 0034-8910, 1518-8787", + "abstractNote": "OBJETIVO: Descrever as impressões, experiências, conhecimentos, crenças e a receptividade de usuários de drogas injetáveis para participar das estratégias de testagem rápida para HIV. MÉTODOS: Estudo qualitativo exploratório foi conduzido entre usuários de drogas injetáveis, de dezembro de 2003 a fevereiro de 2004, em cinco cidades brasileiras, localizadas em quatro regiões do País. Um roteiro de entrevista semi-estruturado contendo questões fechadas e abertas foi usado para avaliar percepções desses usuários sobre procedimentos e formas alternativas de acesso e testagem. Foram realizadas 106 entrevistas, aproximadamente 26 por região. RESULTADOS: Características da população estudada, opiniões sobre o teste rápido e preferências por usar amostras de sangue ou saliva foram apresentadas junto com as vantagens e desvantagens associadas a cada opção. Os resultados mostraram a viabilidade do uso de testes rápidos entre usuários de drogas injetáveis e o interesse deles quanto à utilização destes métodos, especialmente se puderem ser equacionadas questões relacionadas à confidencialidade e confiabilidade dos testes. CONCLUSÕES: Os resultados indicam que os testes rápidos para HIV seriam bem recebidos por essa população. Esses testes podem ser considerados uma ferramenta valiosa, ao permitir que mais usuários de drogas injetáveis conheçam sua sorologia para o HIV e possam ser referidos para tratamento, como subsidiar a melhoria das estratégias de testagem entre usuários de drogas injetáveis.", + "journalAbbreviation": "Rev. Saúde Pública", + "language": "en", + "libraryCatalog": "scielosp.org", + "pages": "94-100", + "publicationTitle": "Revista de Saúde Pública", + "url": "https://scielosp.org/article/rsp/2007.v41suppl2/94-100/en/", + "volume": "41", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "AIDS serodiagnosis" + }, + { + "tag": "Acquired immunodeficiency syndrome" + }, + { + "tag": "Brazil" + }, + { + "tag": "Diagnostic services" + }, + { + "tag": "Diagnostic techniques and procedures" + }, + { + "tag": "Health vulnerability" + }, + { + "tag": "Qualitative research" + }, + { + "tag": "Substance abuse" + }, + { + "tag": "intravenous" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.hindawi.com/journals/mpe/2013/868174/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Robust Filtering for Networked Stochastic Systems Subject to Sensor Nonlinearity", + "creators": [ + { + "firstName": "Guoqiang", + "lastName": "Wu", + "creatorType": "author" + }, + { + "firstName": "Jianwei", + "lastName": "Zhang", + "creatorType": "author" + }, + { + "firstName": "Yuguang", + "lastName": "Bai", + "creatorType": "author" + } + ], + "date": "2013/2/20", + "DOI": "10.1155/2013/868174", + "ISSN": "1024-123X, 1563-5147", + "abstractNote": "The problem of network-based robust filtering for stochastic systems with sensor nonlinearity is investigated in this paper. In the network environment, the effects of the sensor saturation, output quantization, and network-induced delay are taken into simultaneous consideration, and the output measurements received in the filter side are incomplete. The random delays are modeled as a linear function of the stochastic variable described by a Bernoulli random binary distribution. The derived criteria for performance analysis of the filtering-error system and filter design are proposed which can be solved by using convex optimization method. Numerical examples show the effectiveness of the design method.", + "journalAbbreviation": "Mathematical Problems in Engineering", + "language": "en", + "libraryCatalog": "DOI.org (Crossref)", + "pages": "1-11", + "publicationTitle": "Mathematical Problems in Engineering", + "url": "https://www.hindawi.com/journals/mpe/2013/868174/", + "volume": "2013", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://volokh.com/2013/12/22/northwestern-cant-quit-asa-boycott-member/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "blogPost", + "title": "Northwestern Can't Quit ASA Over Boycott Because it is Not a Member", + "creators": [ + { + "firstName": "Eugene", + "lastName": "Kontorovich", + "creatorType": "author" + } + ], + "date": "2013-12-22T16:58:34+00:00", + "abstractNote": "Northwestern University recently condemned the American Studies Association boycott of Israel. Unlike some other schools that quit their institutional membership in the ASA over the boycott, Northwestern has not. Many of my Northwestern colleagues were about to start urging a similar withdrawal. Then we learned from our administration that despite being listed as in institutional […]", + "blogTitle": "The Volokh Conspiracy", + "language": "en-US", + "url": "https://volokh.com/2013/12/22/northwestern-cant-quit-asa-boycott-member/", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://hbr.org/2015/08/how-to-do-walking-meetings-right", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "webpage", + "title": "How to Do Walking Meetings Right", + "creators": [ + { + "firstName": "Russell", + "lastName": "Clayton", + "creatorType": "author" + }, + { + "firstName": "Christopher", + "lastName": "Thomas", + "creatorType": "author" + }, + { + "firstName": "Jack", + "lastName": "Smothers", + "creatorType": "author" + } + ], + "date": "2015-08-05T12:05:17Z", + "abstractNote": "New research finds creativity benefits.", + "url": "https://hbr.org/2015/08/how-to-do-walking-meetings-right", + "websiteTitle": "Harvard Business Review", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Managing yourself" + }, + { + "tag": "Meeting management" + }, + { + "tag": "Workspaces design" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://olh.openlibhums.org/article/id/4400/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Opening the Open Library of Humanities", + "creators": [ + { + "firstName": "Martin Paul", + "lastName": "Eve", + "creatorType": "author" + }, + { + "firstName": "Caroline", + "lastName": "Edwards", + "creatorType": "author" + } + ], + "date": "2015-09-28", + "DOI": "10.16995/olh.46", + "ISSN": "2056-6700", + "issue": "1", + "language": "en", + "libraryCatalog": "olh.openlibhums.org", + "publicationTitle": "Open Library of Humanities", + "url": "https://olh.openlibhums.org/article/id/4400/", + "volume": "1", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.vox.com/2016/1/7/10726296/wheres-rey-star-wars-monopoly", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "newspaperArticle", + "title": "#WheresRey and the big Star Wars toy controversy, explained", + "creators": [ + { + "firstName": "Caroline", + "lastName": "Framke", + "creatorType": "author" + } + ], + "date": "2016-01-07T08:20:02-05:00", + "abstractNote": "Excluding female characters in merchandise is an ongoing pattern.", + "language": "en", + "libraryCatalog": "www.vox.com", + "publicationTitle": "Vox", + "url": "https://www.vox.com/2016/1/7/10726296/wheres-rey-star-wars-monopoly", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Culture" + }, + { + "tag": "Front Page" + }, + { + "tag": "Movies" + }, + { + "tag": "Star Wars" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A766397&dswid=-5161", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "conferencePaper", + "title": "Mobility modeling for transport efficiency : Analysis of travel characteristics based on mobile phone data", + "creators": [ + { + "firstName": "Vangelis", + "lastName": "Angelakis", + "creatorType": "author" + }, + { + "firstName": "David", + "lastName": "Gundlegård", + "creatorType": "author" + }, + { + "firstName": "Clas", + "lastName": "Rydergren", + "creatorType": "author" + }, + { + "firstName": "Botond", + "lastName": "Rajna", + "creatorType": "author" + }, + { + "firstName": "Katerina", + "lastName": "Vrotsou", + "creatorType": "author" + }, + { + "firstName": "Richard", + "lastName": "Carlsson", + "creatorType": "author" + }, + { + "firstName": "Julien", + "lastName": "Forgeat", + "creatorType": "author" + }, + { + "firstName": "Tracy H.", + "lastName": "Hu", + "creatorType": "author" + }, + { + "firstName": "Evan L.", + "lastName": "Liu", + "creatorType": "author" + }, + { + "firstName": "Simon", + "lastName": "Moritz", + "creatorType": "author" + }, + { + "firstName": "Sky", + "lastName": "Zhao", + "creatorType": "author" + }, + { + "firstName": "Yaotian", + "lastName": "Zheng", + "creatorType": "author" + } + ], + "date": "2013", + "abstractNote": "DiVA portal is a finding tool for research publications and student theses written at the following 50 universities and research institutions.", + "conferenceName": "Netmob 2013 - Third International Conference on the Analysis of Mobile Phone Datasets, May 1-3, 2013, MIT, Cambridge, MA, USA", + "language": "eng", + "libraryCatalog": "www.diva-portal.org", + "shortTitle": "Mobility modeling for transport efficiency", + "url": "https://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-112443", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Transport Systems and Logistics" + }, + { + "tag": "Transportteknik och logistik" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://link.springer.com/article/10.1023/A:1021669308832", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Why Bohm's Quantum Theory?", + "creators": [ + { + "firstName": "H. D.", + "lastName": "Zeh", + "creatorType": "author" + } + ], + "date": "2014-01-06T00:00:00Z", + "DOI": "10.1023/A:1021669308832", + "ISSN": "1572-9524", + "abstractNote": "This is a brief reply to S. Goldstein's article “Quantum theory without observers” in Physics Today. It is pointed out that Bohm's pilot wave theory is successful only because it keeps Schrödinger's (exact) wave mechanics unchanged, while the rest of it is observationally meaningless and solely based on classical prejudice.", + "issue": "2", + "journalAbbreviation": "Found Phys Lett", + "language": "en", + "libraryCatalog": "link.springer.com", + "pages": "197-200", + "publicationTitle": "Foundations of Physics Letters", + "rights": "1999 Plenum Publishing Corporation", + "url": "https://link.springer.com/article/10.1023/A:1021669308832", + "volume": "12", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Biological and Medical Physics" + }, + { + "tag": "Biophysics" + }, + { + "tag": "Classical Mechanics" + }, + { + "tag": "Classical and Quantum Gravitation" + }, + { + "tag": "Condensed Matter Physics" + }, + { + "tag": "Physics" + }, + { + "tag": "Relativity Theory" + }, + { + "tag": "general" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://muse.jhu.edu/article/234097", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "Serfs on the Move: Peasant Seasonal Migration in Pre-Reform Russia, 1800–61", + "creators": [ + { + "firstName": "Boris B.", + "lastName": "Gorshkov", + "creatorType": "author" + } + ], + "date": "09/2000", + "DOI": "10.1353/kri.2008.0061", + "ISSN": "1538-5000", + "issue": "4", + "journalAbbreviation": "kri", + "language": "en", + "libraryCatalog": "DOI.org (Crossref)", + "pages": "627-656", + "publicationTitle": "Kritika: Explorations in Russian and Eurasian History", + "shortTitle": "Serfs on the Move", + "url": "https://muse.jhu.edu/pub/28/article/234097", + "volume": "1", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://media.ccc.de/v/35c3-9386-introduction_to_deep_learning", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "videoRecording", + "title": "Introduction to Deep Learning", + "creators": [ + { + "firstName": "", + "lastName": "teubi", + "creatorType": "author" + } + ], + "date": "2018-12-27 01:00:00 +0100", + "abstractNote": "This talk will teach you the fundamentals of machine learning and give you a sneak peek into the internals of the mystical black box. You...", + "language": "en", + "libraryCatalog": "media.ccc.de", + "url": "https://media.ccc.de/v/35c3-9386-introduction_to_deep_learning", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "35c3" + }, + { + "tag": "9386" + }, + { + "tag": "Chaos Computer Club" + }, + { + "tag": "Hacker" + }, + { + "tag": "Media" + }, + { + "tag": "Science" + }, + { + "tag": "Streaming" + }, + { + "tag": "TV" + }, + { + "tag": "Video" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://upcommons.upc.edu/handle/2117/114657", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "conferencePaper", + "title": "Necesidad y morfología: la forma racional", + "creators": [ + { + "firstName": "Antonio A.", + "lastName": "García García", + "creatorType": "author" + } + ], + "date": "2015-06", + "ISBN": "9788460842118", + "abstractNote": "Abstracts aceptados sin presentacion / Accepted abstracts without presentation", + "conferenceName": "International Conference Arquitectonics Network: Architecture, Education and Society, Barcelona, 3-5 June 2015: Abstracts", + "language": "spa", + "libraryCatalog": "upcommons.upc.edu", + "publisher": "GIRAS. Universitat Politècnica de Catalunya", + "rights": "Open Access", + "shortTitle": "Necesidad y morfología", + "url": "https://upcommons.upc.edu/handle/2117/114657", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Architectural theory" + }, + { + "tag": "Teoria arquitectònica" + }, + { + "tag": "Àrees temàtiques de la UPC::Arquitectura" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.pewresearch.org/short-reads/2019/12/12/u-s-children-more-likely-than-children-in-other-countries-to-live-with-just-one-parent/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "blogPost", + "title": "U.S. has world’s highest rate of children living in single-parent households", + "creators": [ + { + "firstName": "Stephanie", + "lastName": "Kramer", + "creatorType": "author" + } + ], + "abstractNote": "Almost a quarter of U.S. children under 18 live with one parent and no other adults, more than three times the share of children around the world who do so.", + "blogTitle": "Pew Research Center", + "language": "en-US", + "url": "https://www.pewresearch.org/short-reads/2019/12/12/u-s-children-more-likely-than-children-in-other-countries-to-live-with-just-one-parent/", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.cambridge.org/core/books/conservation-research-policy-and-practice/22AB241C45F182E40FC7F13637485D7E", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "book", + "title": "Conservation Research, Policy and Practice", + "creators": [ + { + "firstName": "William J.", + "lastName": "Sutherland", + "creatorType": "editor" + }, + { + "firstName": "Peter N. M.", + "lastName": "Brotherton", + "creatorType": "editor" + }, + { + "firstName": "Zoe G.", + "lastName": "Davies", + "creatorType": "editor" + }, + { + "firstName": "Nancy", + "lastName": "Ockendon", + "creatorType": "editor" + }, + { + "firstName": "Nathalie", + "lastName": "Pettorelli", + "creatorType": "editor" + }, + { + "firstName": "Juliet A.", + "lastName": "Vickery", + "creatorType": "editor" + } + ], + "date": "2020-04-16", + "ISBN": "9781108638210 9781108714587", + "abstractNote": "Conservation research is essential for advancing knowledge but to make an impact scientific evidence must influence conservation policies, decision making and practice. This raises a multitude of challenges. How should evidence be collated and presented to policymakers to maximise its impact? How can effective collaboration between conservation scientists and decision-makers be established? How can the resulting messages be communicated to bring about change? Emerging from a successful international symposium organised by the British Ecological Society and the Cambridge Conservation Initiative, this is the first book to practically address these questions across a wide range of conservation topics. Well-renowned experts guide readers through global case studies and their own experiences. A must-read for practitioners, researchers, graduate students and policymakers wishing to enhance the prospect of their work 'making a difference'. This title is also available as Open Access on Cambridge Core.", + "edition": "1", + "extra": "DOI: 10.1017/9781108638210", + "language": "en", + "libraryCatalog": "DOI.org (Crossref)", + "publisher": "Cambridge University Press", + "url": "https://www.cambridge.org/core/books/conservation-research-policy-and-practice/22AB241C45F182E40FC7F13637485D7E", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://journals.linguisticsociety.org/proceedings/index.php/PLSA/article/view/4468", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "journalArticle", + "title": "A Robin Hood approach to forced alignment: English-trained algorithms and their use on Australian languages", + "creators": [ + { + "firstName": "Sarah", + "lastName": "Babinski", + "creatorType": "author" + }, + { + "firstName": "Rikker", + "lastName": "Dockum", + "creatorType": "author" + }, + { + "firstName": "J. Hunter", + "lastName": "Craft", + "creatorType": "author" + }, + { + "firstName": "Anelisa", + "lastName": "Fergus", + "creatorType": "author" + }, + { + "firstName": "Dolly", + "lastName": "Goldenberg", + "creatorType": "author" + }, + { + "firstName": "Claire", + "lastName": "Bowern", + "creatorType": "author" + } + ], + "date": "2019/03/15", + "DOI": "10.3765/plsa.v4i1.4468", + "ISSN": "2473-8689", + "abstractNote": "Forced alignment automatically aligns audio recordings of spoken language with transcripts at the segment level, greatly reducing the time required to prepare data for phonetic analysis. However, existing algorithms are mostly trained on a few well-documented languages. We test the performance of three algorithms against manually aligned data. For at least some tasks, unsupervised alignment (either based on English or trained from a small corpus) is sufficiently reliable for it to be used on legacy data for low-resource languages. Descriptive phonetic work on vowel inventories and prosody can be accurately captured by automatic alignment with minimal training data. Consonants provided significantly more challenges for forced alignment.", + "issue": "1", + "journalAbbreviation": "Proc Ling Soc Amer", + "language": "en", + "libraryCatalog": "journals.linguisticsociety.org", + "pages": "3:1-12", + "publicationTitle": "Proceedings of the Linguistic Society of America", + "rights": "Copyright (c) 2019 Sarah Babinski, Rikker Dockum, J. Hunter Craft, Anelisa Fergus, Dolly Goldenberg, Claire Bowern", + "shortTitle": "A Robin Hood approach to forced alignment", + "url": "https://journals.linguisticsociety.org/proceedings/index.php/PLSA/article/view/4468", + "volume": "4", + "attachments": [ + { + "title": "Full Text PDF", + "mimeType": "application/pdf" + }, + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "Australian languages" + }, + { + "tag": "Yidiny" + }, + { + "tag": "forced alignment" + }, + { + "tag": "language documentation" + }, + { + "tag": "phonetics" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.swr.de/wissen/1000-antworten/woher-kommt-redensart-ueber-die-wupper-gehen-102.html", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "webpage", + "title": "Woher kommt \"über die Wupper gehen\"?", + "creators": [ + { + "firstName": "", + "lastName": "SWRWissen", + "creatorType": "author" + } + ], + "abstractNote": "Es gibt eine Vergleichsredensart: \"Der ist über den Jordan gegangen.\" Das heißt, er ist gestorben. Das bezieht sich auf die alten Grenzen Israels. In Wuppertal jedoch liegt jenseits des Flusses das Gefängnis. Von Rolf-Bernhard Essig", + "language": "de", + "url": "https://www.swr.de/wissen/1000-antworten/woher-kommt-redensart-ueber-die-wupper-gehen-102.html", + "websiteTitle": "swr.online", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.azatliq.org/a/24281041.html", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "newspaperArticle", + "title": "Татар яшьләре татарлыкны сакларга тырыша", + "creators": [ + { + "firstName": "гүзәл", + "lastName": "мәхмүтова", + "creatorType": "author" + } + ], + "date": "2011-07-29 13:00:00Z", + "abstractNote": "Бу көннәрдә “Идел” җәйләвендә XXI Татар яшьләре көннәре үтә. Яшьләр вакытларын төрле чараларда катнашып үткәрә.", + "language": "tt-BA", + "libraryCatalog": "www.azatliq.org", + "publicationTitle": "Азатлык Радиосы", + "url": "https://www.azatliq.org/a/24281041.html", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [ + { + "tag": "татарстан" + } + ], + "notes": [], + "seeAlso": [] + } + ] + }, + { + "type": "web", + "url": "https://www.hackingarticles.in/windows-privilege-escalation-kernel-exploit/", + "detectedItemType": "multiple", + "items": [ + { + "itemType": "blogPost", + "title": "Windows Privilege Escalation: Kernel Exploit", + "creators": [ + { + "firstName": "Raj", + "lastName": "Chandel", + "creatorType": "author" + } + ], + "date": "2021-12-30T17:41:33+00:00", + "abstractNote": "As this series was dedicated to Windows Privilege escalation thus I’m writing this Post to explain command practice for kernel-mode exploitation. Table of Content What", + "blogTitle": "Hacking Articles", + "language": "en", + "shortTitle": "Windows Privilege Escalation", + "url": "https://www.hackingarticles.in/windows-privilege-escalation-kernel-exploit/", + "attachments": [ + { + "title": "Snapshot", + "mimeType": "text/html" + } + ], + "tags": [], + "notes": [], + "seeAlso": [] + } + ] + } +] +/** END TEST CASES **/ diff --git a/JSON-LD.js b/JSON-LD.js new file mode 100644 index 0000000000..6e15f3cced --- /dev/null +++ b/JSON-LD.js @@ -0,0 +1,490 @@ +{ + "translatorID": "5ea2edd6-b836-490a-841f-d9274da308f9", + "label": "JSON-LD", + "creator": "Martynas Bagdonas", + "target": "", + "minVersion": "5.0", + "maxVersion": "", + "priority": 310, + "inRepository": true, + "translatorType": 5, + "browserSupport": "gcsibv", + "lastUpdated": "2025-04-08 14:19:16" +} + +function detectWeb(doc, url) { + if (!Zotero.parentTranslator) { + return false; + } + let nodes = doc.querySelectorAll('script[type="application/ld+json'); + if (nodes.length) { + return 'multiple'; + } +} + +async function doWeb(doc, url) { + let nodes = doc.querySelectorAll('script[type="application/ld+json'); + for (let node of nodes) { + try { + let jsonld = JSON.parse(node.textContent); + await processJsonld(url, jsonld); + } + catch (err) { + } + } +} + +async function processJsonld(url, jsonld) { + let quads = await ZU.jsonldToQuads(url, jsonld); + + // Zotero.debug(JSON.stringify(quads, null, 2)); + let translator = Zotero.loadTranslator("import"); + translator.setTranslator("5e3ad958-ac79-463d-812b-a86a9235c28f"); + + let items = []; + translator.setHandler("itemDone", function (obj, item) { + items.push(item); + }); + + // Wait until the translator object is exposed + let rdf = await new Promise(function (resolve) { + translator.getTranslatorObject(resolve); + }); + + // Feed RDF quads as triples + for (let quad of quads) { + rdf.Zotero.RDF.addStatement( + quad.subject.value, + quad.predicate.value, + quad.object.value, + quad.object.termType === 'Literal' + ); + } + // Zotero.debug(rdf.Zotero.RDF.serialize()); + + await rdf.doImport(); + + for (let item of items) { + item.complete(); + } +} + +function getJson() { + let maxLength = 1024 * 1024; + let json = Zotero.read(maxLength + 1); + if (json.length === maxLength) { + throw new Error('JSON is too large'); + } + return JSON.parse(json); +} + +function detectImport() { + try { + // Return true if JSON was successfully parsed + getJson(); + return true; + } + catch (err) { + + } +} + +async function doImport() { + let blocks = getJson(); + // Single or multiple JSON-LD blocks are allowed + if (!Array.isArray(blocks)) { + blocks = [blocks]; + } + + // We don't have the base URL when importing JSON-LD blocks from a string, + // therefore some JSON-LD blocks can be improperly expanded + // if relative URLs are used + for (let jsonld of blocks) { + await processJsonld(null, jsonld); + } +} + +/** BEGIN TEST CASES **/ +var testCases = [ + { + "type": "import", + "input": "[{\"@context\":\"https://schema.org/\",\"@graph\":[{\"@graph\":[{\"@context\":\"http://schema.org/\",\"@graph\":[{\"@id\":\"#issue2\",\"@type\":\"PublicationIssue\",\"issueNumber\":\"2\",\"datePublished\":\"2015-04-01\",\"sameas\":\"http://iforest.sisef.org/archive/?action=issue&n=43\"},{\"@id\":\"#volume8\",\"@type\":\"PublicationVolume\",\"volumeNumber\":\"8\",\"sameas\":\"http://iforest.sisef.org/archive/?action=vol&n=8\"},{\"@id\":\"#periodical\",\"@type\":\"Periodical\",\"name\":\"iForest - Biogeosciences and Forestry\",\"issn\":\"1971-7458\",\"publisher\":\"SISEF - The Italian Society of Silviculture and Forest Ecology\"},{\"identifier\":\"10.3832/ifor1209-008\",\"@type\":\"ScholarlyArticle\",\"isPartOf\":[{\"@id\":\"#issue2\"},{\"@id\":\"#volume8\"},{\"@id\":\"#periodical\"}],\"author\":[{\"@type\":\"Person\",\"name\":\"Buiteveld, Joukje\"},{\"@type\":\"Person\",\"name\":\"Van Der Werf, Bert\"},{\"@type\":\"Person\",\"name\":\"Hiemstra, Jelle A\"}],\"name\":\"Comparison of commercial elm cultivars and promising unreleased Dutch clones for resistance to Ophiostoma novo-ulmi\",\"headline\":\"Resistance to Ophiostoma novo-ulmi in commercial elm cultivars\",\"image\":\"http://iforest.sisef.org/papers/thumbs/thumb@1209.gif\",\"thumbnailURL\":\"http://iforest.sisef.org/papers/thumbs/thumb@1209.gif\",\"description\":\"Elms, and especially Ulmus × hollandica have been dominant and very much appreciated trees in cities and rural landscape for centuries in the Netherlands. As a result of two Dutch Elm Disease (DED) epidemics in the 20th century these trees largely disappeared from the landscape. Despite the introduction of new cultivars with increased levels of DED-resistance, by the end of the 20th century the elm had disappeared from the top 20 list of trees produced by Dutch nurseries. New cultivars with increased resistance to DED are used to a limited extent only. Apparently the lasting problems with DED in old cultivars has led to a lack of confidence in the resistance of these latest released cultivars among urban foresters and landscape managers. This paper reports on a study that aims at restoring the position of the elm as a street tree in the Netherlands by providing information on resistance to O. novo-ulmi causing DED of the currently available cultivars. All elm cultivars currently on the Dutch market were compared in an inoculation test. In 2007 a field experiment of 18 cultivars, one species and 10 non-released clones from the Dutch elm breeding program was established. Two cultivars were used as reference clones: “Commelin” (relatively susceptible) and “Lobel” (relatively resistant). In 2008 and 2009 the elms were stem-inoculated with Ophiostoma novo-ulmi and disease development was assessed throughout the summer and the following year. Clear differences in resistance to O. novo-ulmi were found between the cultivars, with “Columella”, “Sapporo Autumn Gold”’ and “Rebella” being highly resistant and significantly different from “Lobel” and “Regal”, “Urban”, “Belgica”, “Den Haag” and the U. laevis seedlings being the most susceptible and comparable to “Commelin”. The non-released clones performed comparable to “Lobel’”or even better. The ranking of the cultivars based on their level of resistance to O. novo-ulmi in this field test corresponds well with experience in urban green practice. Our conclusion is that there is a wide range of cultivars available with a good to excellent level of resistance. The available cultivars have a broad genetic base due to different parentage and use of exotic germplasm in the crossings. This broad genetic background may contribute to the stability of resistance in case new forms of the disease appear. The non-released clones performed well compared to the released cultivars and give good opportunities to further broaden the current range of cultivars on the Dutch and European market.\",\"datePublished\":\"2014-08-02\",\"about\":\"Plant and Forest Pathology\",\"keywords\":\"DED-resistance, Elm Cultivars, Ulmus, Inoculation Test, Ophiostoma novo-ulmi\",\"pageStart\":\"607\",\"pageEnd\":\"613\",\"editor\":[{\"@type\":\"Person\",\"name\":\"Santini, Alberto\"},{\"@type\":\"Person\",\"name\":\"Bucci, Gabriele\"}],\"license\":\"http://creativecommons.org/licenses/by-nc/4.0/\",\"sameAs\":[\"https://doi.org/10.3832/ifor1209-008\",\"http://iforest.sisef.org/contents/?id=ifor1209-008\",\"http://iforest.sisef.org/pdf/?id=ifor1209-008\"],\"copyrightYear\":\"2015\",\"copyrightHolder\":\"SISEF - The Italian Society of Silviculture and Forest Ecology\"}]},{\"@context\":\"https://schema.org\",\"@type\":\"NewsArticle\",\"author\":{\"@type\":\"Organization\",\"name\":\"Federal Reserve Bank of San Francisco\",\"url\":\"\"},\"name\":\"House Prices, Expectations, and Time-Varying Fundamentals\",\"headline\":\"House Prices, Expectations, and Time-Varying Fundamentals\",\"image\":\"\",\"datePublished\":\"May 25, 2017\",\"mainEntityOfPage\":\"https://www.frbsf.org/economic-research/publications/working-papers/2017/may/\",\"description\":\"\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Federal Reserve Bank of San Francisco\",\"url\":\"https://www.frbsf.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.frbsf.org/wp-content/themes/sf_fed_rebrand_2015/library/images/logo-org.png\",\"width\":\"600\",\"height\":\"60\"}}}]},{\"@context\":\"https://schema.org/\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"name\":\"Home\",\"@id\":\"http://www.mrforum.com\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"name\":\"Article\",\"@id\":\"http://www.mrforum.com/product-category/article/\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"name\":\"Dielectric Materials and Applications\",\"@id\":\"http://www.mrforum.com/product-category/article/dielectric-materials-applications/\"}}]},{\"provider\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"sourceOrganization\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"creator\":[{\"name\":\"LUGO, A.E.\",\"@type\":\"Person\"},{\"name\":\"SCATENA, F.\",\"@type\":\"Person\"},{\"name\":\"JORDAN, C.F.\",\"@type\":\"Person\"}],\"publishingPrinciples\":\"https://daac.ornl.gov/PI/archive.shtml\",\"isAccessibleForFree\":\"true\",\"keywords\":[\"EOSDIS\",\"NPP\",\"BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > BIOMASS DYNAMICS\",\"BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > PRIMARY PRODUCTION\",\"BIOSPHERE > VEGETATION > BIOMASS\",\"FIELD INVESTIGATION > BALANCE\",\"FIELD INVESTIGATION > STEEL MEASURING TAPE\",\"FIELD INVESTIGATION > CORING DEVICES\",\"FIELD INVESTIGATION > QUADRATS\"],\"spatialCoverage\":{\"geo\":{\"box\":\"18.27 -65.82 18.33 -65.73\",\"@type\":\"GeoShape\"},\"@type\":\"Place\"},\"url\":\"https://doi.org/10.3334/ORNLDAAC/476\",\"about\":{\"url\":\"https://daac.ornl.gov/NPP/guides/NPP_LQL.html\",\"name\":\"User Guide\",\"image\":\"https://daac.ornl.gov/daac_logo.png\",\"@type\":\"WebPage\"},\"publisher\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"contactPoint\":{\"email\":\"uso@daac.ornl.gov\",\"telephone\":\"+18652413952\",\"contactType\":\"customer support\",\"name\":\"ORNL DAAC User Support Office\",\"@type\":\"ContactPoint\"},\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"@type\":\"DataSet\",\"citation\":\"Lugo, A.E., F. Scatena, and C.F. Jordan. 2013. NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1. ORNL DAAC, Oak Ridge, Tennessee, USA. http://dx.doi.org/10.3334/ORNLDAAC/476\",\"dateCreated\":\"2013-10-17\",\"locationCreated\":\"Oak Ridge, Tennessee, USA\",\"thumbnailUrl\":\"\",\"temporalCoverage\":\"1946-01-01/1994-12-31\",\"version\":\"2\",\"name\":\"NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1\",\"description\":\"This data set contains ten ASCII files (.txt format), one NPP file for each of the nine different montane tropical rainforest sites within the Luquillo Experimental Forest (LEF) of Puerto Rico and one file containing climate data. The NPP study sites are located along an environmental gradient of different soils, elevation (100-1,000 m), develop stage, and mean annual rainfall. Field measurements were carried out from 1946 through 1994.\",\"sameAs\":\"https://daac.ornl.gov/cgi-bin/dsviewer.pl?ds_id=476\",\"distribution\":[{\"provider\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"url\":\"https://daac.ornl.gov/daacdata/npp/tropical_forest/NPP_LQL/\",\"name\":\"Direct Access: NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1\",\"publisher\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"encodingFormat\":null,\"description\":\"This link allows direct data access via Earthdata Login to: NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1\",\"@type\":\"DataDownload\"},{\"provider\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"contentSize\":\"140.9KB\",\"name\":\"Download Dataset: NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1\",\"description\":\"Download entire dataset bundle: NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1\",\"url\":\"https://daac.ornl.gov/cgi-bin/download.pl?ds_id=476&source=schema_org_metadata\",\"encodingFormat\":null,\"publisher\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"@type\":\"DataDownload\"}],\"datePublished\":\"2013-10-17\",\"includedInDataCatalog\":[{\"provider\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"url\":\"https://daac.ornl.gov/cgi-bin/dataset_lister.pl?p=13\",\"name\":\"Net Primary Productivity (NPP)\",\"publisher\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"@type\":\"DataCatalog\"},{\"provider\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"url\":\"https://search.earthdata.nasa.gov/search\",\"name\":\"NASA Earthdata Search\",\"publisher\":{\"logo\":\"https://daac.ornl.gov/daac_logo.png\",\"name\":\"ORNL DAAC\",\"url\":\"https://daac.ornl.gov\",\"@type\":\"Organization\"},\"@type\":\"DataCatalog\"}],\"@context\":\"https://schema.org\",\"@id\":\"https://doi.org/10.3334/ORNLDAAC/476\"},{\"@context\":\"https://schema.org/\",\"@type\":\"Product\",\"@id\":\"http://www.mrforum.com/product/9781945291197-44/\",\"name\":\"Evaluation of thermal characterization of PMMA/PPy composite materials\",\"image\":\"http://www.mrforum.com/wp-content/uploads/2016/11/9781945291166-1.jpg\",\"description\":\"

I. BOUKNAITIR, N. ARIBOU, S.A.E. KASSIM, M.E. ACHOUR, L.C. COSTA

\\n

Abstract. In this study, the specific heat Cp formed by PMMA with different concentrations of PPy are measured. The specific heat is measured by using differential scanning calorimetry method (DSC). We notice that in this nano-composite (PMMA/PPy) our sample containing 2 - 8 wt% of PPy filler material. For modelisation, we have used the mixture law for thermal properties. As the results show, we have obtained a good agreement between the thermal properties.

\\n

Keywords
\\nSpecific Heat Capacity, DSC, Polypyrrole, Polymethymethacrylate, Composite, Conducting Polymer

\\n

Published online 12/10/2016, 4 pages
\\nCopyright © 2016 by the author(s)
\\nPublished under license by Materials Research Forum LLC., Millersville PA, USA
\\nCitation: I. BOUKNAITIR, N. ARIBOU, S.A.E. KASSIM, M.E. ACHOUR, L.C. COSTA, 'Evaluation of thermal characterization of PMMA/PPy composite materials', Materials Research Proceedings, Vol. 1, pp 175-178, 2016
\\nDOI: http://dx.doi.org/10.21741/9781945291197-44

\\n

The article was published as article 44 of the book Dielectric Materials and Applications

\\n

References
\\n[1] J.C. Garland, D.B. Tanner, Electrical transport and optical properties in inho- mogeneous media, in: AIP Conference Proceedings 40, American Institute of Physics, New York, 1977.
\\n[2] S. Torquato, Random Heterogeneous Materials: Microstructure and Macro- scopic Properties, Springer-Verlag, New York, 2002. http://dx.doi.org/10.1007/978-1-4757-6355-3
\\n[3] A.H.Sihvola,ElectromagneticMixingFormulasandApplications,Institutionof Electrical Engineers, London, 1999.
\\n[4] M.E. Achour, Electromagnetic properties of carbon black filled epoxy polymer composites, in: C. Brosseau (Ed.), Prospects in Filled Polymers Engineering: Mesostructure, Elasticity Network, and Macroscopic Properties, Transworld Research Network, Kerala, 2008, pp. 129-174.
\\n[5] J. Belattar, M.P.F. Graça, L.C. Costa, M.E. Achour, C. Brosseau, J. Appl. Phys. 107 (2010) 124111-124116. http://dx.doi.org/10.1063/1.3452366
\\n[6] L.C. Costa, F. Henry, M.A. Valente, S.K. Mendiratta, A.S. Sombra, Eur. Polym. J. 38 (2002) 1495-1499. http://dx.doi.org/10.1016/S0014-3057(02)00044-7
\\n[7] L. Flandin, T. Prasse, R. Schueler, W. Bauhofer, K. Schulte, J.Y. Cavaillé, Phys. Rev. B 59 (1999) 14349-14355. http://dx.doi.org/10.1103/PhysRevB.59.14349
\\n[8] M.T. Connor, S. Roy, T.A. .Ezquerra, F.J.B. .Calleja, Phys. Rev. B 57 (1998) 2286-2294. http://dx.doi.org/10.1103/PhysRevB.57.2286
\\n[9] M. El Hasnaoui, A. Triki, M.P.F. Graça, M.E. Achour, L.C. Costa, M. Arous, J. Non-Cryst. Solids 358 (2012) 2810-2815. http://dx.doi.org/10.1016/j.jnoncrysol.2012.07.008
\\n[10] F. Henry, L.C. Costa, Phys. B: Condens. Matter. B 387 (2007) 250-258. http://dx.doi.org/10.1016/j.physb.2006.04.041
\\n[11] I. Tavman , Y. Aydogdu , M. Kök , A. Turgut , A. Ezan. “ Measurement of heat capacity and thermal conductivity of HDPE/expanded graphite nanocomposites by differential scanning calorimetry,”Archives of materials science and engineering, vol 50, pp. 56-60, July 2011.
\\n[12] A. Belhadj Mohamed, J. L. Miane, H. Zangar. Polym. Int. 50, 773 (2001). http://dx.doi.org/10.1002/pi.686
\\n[13] N. Aribou, A. Elmansouri, M. E. Achour, L. C. Costa, A. Belhadj Mohamed, A. Oueriagli, A. Outzourhit. Spectro. Lett. 45, 477 (2012). http://dx.doi.org/10.1080/00387010.2012.667035
\\n[14] T. Chelidze,. Y.Gueguen. Pressure – induced percolation transitions in composites. J. Phys. D: Applied Phys. 1998. v.31. _ PP. 2877_2885.
\\n[15] T. Chelidze,. Y.Gueguen. Electrical spectroscopy of porous rocks: a review – I. Theoretical models // Geophys. J. Int. 1999. Vol. 137. PP. 1 – 15.
\\n
\\n
\\n
\\n
\\n

\\n\",\"sku\":\"\",\"offers\":[{\"@type\":\"Offer\",\"price\":\"12.50\",\"priceSpecification\":{\"price\":\"12.50\",\"priceCurrency\":\"USD\",\"valueAddedTaxIncluded\":\"false\"},\"priceCurrency\":\"USD\",\"availability\":\"https://schema.org/InStock\",\"url\":\"http://www.mrforum.com/product/9781945291197-44/\",\"seller\":{\"@type\":\"Organization\",\"name\":\"Materials Research Forum\",\"url\":\"http://www.mrforum.com\"}}]},{\"@context\":\"http://schema.org\",\"@type\":\"NewsArticle\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://www.rmj.ru/articles/oftalmologiya/Sravnenie_farmakokinetiki_rekombinantnoy_prourokinazy_pri_neinvazivnyh_metodah_vvedeniya_instillyacii_elektroforez_lechebnye_kontaktnye_linzy/\"},\"headline\":\"Сравнение фармакокинетики рекомбинантной проурокиназы при неинвазивных методах введения (инстилляции, элект...\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"http://www.rmj.ru\",\"height\":\"200\",\"width\":\"250\"},\"datePublished\":\"2017-11-28T00:00:00+03:00\",\"dateModified\":\"2017-12-13T13:53:30+03:00\",\"author\":[{\"@type\":\"Person\",\"name\":\"Бойко Э.В. \"},{\"@type\":\"Person\",\"name\":\"Даниличев В.Ф. \"},{\"@type\":\"Person\",\"name\":\"Сажин Т.Г. \"},{\"@type\":\"Person\",\"name\":\"Белогуров А.А. \"},{\"@type\":\"Person\",\"name\":\"Дельвер Е.П. \"},{\"@type\":\"Person\",\"name\":\"Агафонова О.В. \"},{\"@type\":\"Person\",\"name\":\"Суворов А.С. \"}],\"publisher\":{\"@type\":\"Organization\",\"name\":\"Издательский Дом «РМЖ»\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"http://www.rmj.ru/local/templates/.default/markup_rmz/_i/logo_rmg.png\",\"width\":87,\"height\":57}},\"description\":\"Представлены результаты исследования по сравнению фармакокинетики препарата Гемаза на основе рекомбинантной проурокиназы при неинвазивных методах введения (инстилляции, электрофорез, лечебные контактные линзы). Показано, что введение Гемазы неинвазивными методами позволяет достичь достаточной концентрации ферментаи может быть использовано для лечения фибриноидного синдрома. \"}]},{\"@context\":\"http://schema.org\",\"@type\":\"Article\",\"name\":\"Minimizing Occurrence of Pancreatic Fistula during Pancreatoduodenectomy (Pd) Procedure: An Update\",\"author\":{\"@type\":\"Person\",\"name\":\"Mohammad Abdul Mazid, Gazi Shahinur Akter , Zheng Hui Ye, Xiao-Ping Geng, Fu-Bao Liu, Yi-Jun Zhao, Fan-Huang, Kun Xie, Hong-Chuan Zhao\"},\"datePublished\":\"2017-02-27\",\"url\":\"https://www.omicsonline.org/open-access/minimizing-occurrence-of-pancreatic-fistula-during-pancreatoduodenectomypd-procedure-an-update-1584-9341-13-1-3.pdf\"},{\"@context\":\"http://schema.org\",\"@id\":\"https://academic.oup.com/auk/article/122/4/1309/5147711\",\"@type\":\"ScholarlyArticle\",\"name\":\"Phylogeography of the Mallard ( Anas Platyrhynchos ): Hybridization, Dispersal, and Lineage Sorting Contribute to Complex Geographic Structure\",\"datePublished\":\"2005-10-01\",\"isPartOf\":{\"@id\":\"https://academic.oup.com/auk/issue/122/4\",\"@type\":\"PublicationIssue\",\"issueNumber\":\"4\",\"datePublished\":\"2005-10-01\",\"isPartOf\":{\"@id\":\"https://academic.oup.com/auk\",\"@type\":\"Periodical\",\"name\":\"The Auk: Ornithological Advances\",\"issn\":[\"1938-4254\"]}},\"url\":\"http://dx.doi.org/10.1642/0004-8038(2005)122[1309:POTMAP]2.0.CO;2\",\"inLanguage\":\"en\",\"copyrightHolder\":\"American Ornithological Society\",\"copyrightYear\":\"2019\",\"publisher\":\"Oxford University Press\",\"sameAs\":\"https://academic.oup.com/auk/article/122/4/1309/5147711\",\"author\":[{\"name\":\"Kulikova, Irina V.\",\"@type\":\"Person\"},{\"name\":\"Drovetski, Sergei V.\",\"@type\":\"Person\"},{\"name\":\"Gibson, Daniel D.\",\"@type\":\"Person\"},{\"name\":\"Harrigan, Ryan J.\",\"@type\":\"Person\"},{\"name\":\"Rohwer, Sievert\",\"@type\":\"Person\"},{\"name\":\"Sorenson, Michael D.\",\"@type\":\"Person\"},{\"name\":\"Winker, Kevin\",\"@type\":\"Person\"},{\"name\":\"Zhuravlev, Yuri N.\",\"@type\":\"Person\"},{\"name\":\"McCracken, Kevin G.\",\"@type\":\"Person\"}],\"description\":\"Because of an oversight by the authors while processing the proof of Kulikova et al. (Auk 122:949–965), two errors were not detected. In the first sentence of t\",\"pageStart\":\"1309\",\"pageEnd\":\"1309\",\"thumbnailURL\":\"https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/auk/Issue/122/4/5/m_cover.gif?Expires=1612949833&Signature=AXqDKYnQReF5sf-J9x9xe8WkQT~Mg4gkAxfcXAi8nkRV~-GIxP88ouH4dr5sP8MUBhBP6SKm390lhy9TPv2oF75uq3~ip~yF-cJdqmTL7geyX68Xs1s5tEa1ncHO0zDIVRGsowptK-80Fk1Ppvha5zwSr1CnRWrxhYOe4W1VmFysfQwweTbnbY-hpYrGvkvVBAWoAe6abBmZm1N4Nnp5TRma6LOYx~zqKpTW4F9rF6JFR75g5tbNz8nwLC44omxrHzqg6yBeBt5foMzHtWRLU7Nab4RWfeDy~nInNpW7CUcGftQX4v7~zfmN~~SRd9Gx5p3jC-1m5vlCHiJO2BMDZw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\",\"headline\":\"Phylogeography of the Mallard ( Anas Platyrhynchos ): Hybridization, Dispersal, and Lineage Sorting Contribute to Complex Geographic Structure\",\"image\":\"https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/auk/Issue/122/4/5/m_cover.gif?Expires=1612949833&Signature=AXqDKYnQReF5sf-J9x9xe8WkQT~Mg4gkAxfcXAi8nkRV~-GIxP88ouH4dr5sP8MUBhBP6SKm390lhy9TPv2oF75uq3~ip~yF-cJdqmTL7geyX68Xs1s5tEa1ncHO0zDIVRGsowptK-80Fk1Ppvha5zwSr1CnRWrxhYOe4W1VmFysfQwweTbnbY-hpYrGvkvVBAWoAe6abBmZm1N4Nnp5TRma6LOYx~zqKpTW4F9rF6JFR75g5tbNz8nwLC44omxrHzqg6yBeBt5foMzHtWRLU7Nab4RWfeDy~nInNpW7CUcGftQX4v7~zfmN~~SRd9Gx5p3jC-1m5vlCHiJO2BMDZw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\"}]", + "items": [ + { + "itemType": "journalArticle", + "creators": [], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b26", + "title": "Net Primary Productivity (NPP)", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "url": "https://daac.ornl.gov/cgi-bin/dataset_lister.pl?p=13" + }, + { + "itemType": "journalArticle", + "creators": [], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b29", + "title": "NASA Earthdata Search", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "url": "https://search.earthdata.nasa.gov/search" + }, + { + "itemType": "newspaperArticle", + "creators": [ + { + "firstName": "Бойко", + "lastName": "Э.В", + "creatorType": "author" + }, + { + "firstName": "Даниличев", + "lastName": "В.Ф", + "creatorType": "author" + }, + { + "firstName": "Сажин", + "lastName": "Т.Г", + "creatorType": "author" + }, + { + "firstName": "Белогуров", + "lastName": "А.А", + "creatorType": "author" + }, + { + "firstName": "Дельвер", + "lastName": "Е.П", + "creatorType": "author" + }, + { + "firstName": "Агафонова", + "lastName": "О.В", + "creatorType": "author" + }, + { + "firstName": "Суворов", + "lastName": "А.С", + "creatorType": "author" + } + ], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b41", + "title": "Сравнение фармакокинетики рекомбинантной проурокиназы при неинвазивных методах введения (инстилляции, элект...", + "publisher": "Издательский Дом «РМЖ»", + "institution": "Издательский Дом «РМЖ»", + "company": "Издательский Дом «РМЖ»", + "label": "Издательский Дом «РМЖ»", + "distributor": "Издательский Дом «РМЖ»", + "date": "2017-11-28T00:00:00+03:00", + "lastModified": "2017-12-13T13:53:30+03:00", + "abstractNote": "Представлены результаты исследования по сравнению фармакокинетики препарата Гемаза на основе рекомбинантной проурокиназы при неинвазивных методах введения (инстилляции, электрофорез, лечебные контактные линзы). Показано, что введение Гемазы неинвазивными методами позволяет достичь достаточной концентрации ферментаи может быть использовано для лечения фибриноидного синдрома." + }, + { + "itemType": "journalArticle", + "creators": [ + { + "firstName": "A. E.", + "lastName": "LUGO", + "creatorType": "author" + }, + { + "firstName": "F.", + "lastName": "SCATENA", + "creatorType": "author" + }, + { + "firstName": "C. F.", + "lastName": "JORDAN", + "creatorType": "author" + } + ], + "notes": [], + "tags": [ + "EOSDIS", + "NPP", + "BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > BIOMASS DYNAMICS", + "BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > PRIMARY PRODUCTION", + "BIOSPHERE > VEGETATION > BIOMASS", + "FIELD INVESTIGATION > BALANCE", + "FIELD INVESTIGATION > STEEL MEASURING TAPE", + "FIELD INVESTIGATION > CORING DEVICES", + "FIELD INVESTIGATION > QUADRATS" + ], + "seeAlso": [], + "attachments": [], + "itemID": "https://doi.org/10.3334/ORNLDAAC/476", + "title": "NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1", + "edition": "2", + "versionNumber": "2", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "date": "2013-10-17", + "url": "https://doi.org/10.3334/ORNLDAAC/476", + "abstractNote": "This data set contains ten ASCII files (.txt format), one NPP file for each of the nine different montane tropical rainforest sites within the Luquillo Experimental Forest (LEF) of Puerto Rico and one file containing climate data. The NPP study sites are located along an environmental gradient of different soils, elevation (100-1,000 m), develop stage, and mean annual rainfall. Field measurements were carried out from 1946 through 1994." + }, + { + "itemType": "newspaperArticle", + "creators": [ + { + "firstName": "Federal Reserve Bank of San", + "lastName": "Francisco", + "creatorType": "author" + } + ], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b8", + "title": "House Prices, Expectations, and Time-Varying Fundamentals", + "publisher": "Federal Reserve Bank of San Francisco", + "institution": "Federal Reserve Bank of San Francisco", + "company": "Federal Reserve Bank of San Francisco", + "label": "Federal Reserve Bank of San Francisco", + "distributor": "Federal Reserve Bank of San Francisco", + "date": "May 25, 2017" + }, + { + "itemType": "journalArticle", + "creators": [ + { + "firstName": "Joukje", + "lastName": "Buiteveld", + "creatorType": "author" + }, + { + "firstName": "Bert", + "lastName": "Van Der Werf", + "creatorType": "author" + }, + { + "firstName": "Jelle A.", + "lastName": "Hiemstra", + "creatorType": "author" + }, + { + "firstName": "Alberto", + "lastName": "Santini", + "creatorType": "editor" + }, + { + "firstName": "Gabriele", + "lastName": "Bucci", + "creatorType": "editor" + } + ], + "notes": [], + "tags": [ + "DED-resistance, Elm Cultivars, Ulmus, Inoculation Test, Ophiostoma novo-ulmi" + ], + "seeAlso": [], + "attachments": [], + "itemID": "_:b2", + "title": "Resistance to Ophiostoma novo-ulmi in commercial elm cultivars", + "rights": "http://creativecommons.org/licenses/by-nc/4.0/", + "pages": "607-613", + "date": "2014-08-02", + "url": "https://doi.org/10.3832/ifor1209-008", + "abstractNote": "Elms, and especially Ulmus × hollandica have been dominant and very much appreciated trees in cities and rural landscape for centuries in the Netherlands. As a result of two Dutch Elm Disease (DED) epidemics in the 20th century these trees largely disappeared from the landscape. Despite the introduction of new cultivars with increased levels of DED-resistance, by the end of the 20th century the elm had disappeared from the top 20 list of trees produced by Dutch nurseries. New cultivars with increased resistance to DED are used to a limited extent only. Apparently the lasting problems with DED in old cultivars has led to a lack of confidence in the resistance of these latest released cultivars among urban foresters and landscape managers. This paper reports on a study that aims at restoring the position of the elm as a street tree in the Netherlands by providing information on resistance to O. novo-ulmi causing DED of the currently available cultivars. All elm cultivars currently on the Dutch market were compared in an inoculation test. In 2007 a field experiment of 18 cultivars, one species and 10 non-released clones from the Dutch elm breeding program was established. Two cultivars were used as reference clones: “Commelin” (relatively susceptible) and “Lobel” (relatively resistant). In 2008 and 2009 the elms were stem-inoculated with Ophiostoma novo-ulmi and disease development was assessed throughout the summer and the following year. Clear differences in resistance to O. novo-ulmi were found between the cultivars, with “Columella”, “Sapporo Autumn Gold”’ and “Rebella” being highly resistant and significantly different from “Lobel” and “Regal”, “Urban”, “Belgica”, “Den Haag” and the U. laevis seedlings being the most susceptible and comparable to “Commelin”. The non-released clones performed comparable to “Lobel’”or even better. The ranking of the cultivars based on their level of resistance to O. novo-ulmi in this field test corresponds well with experience in urban green practice. Our conclusion is that there is a wide range of cultivars available with a good to excellent level of resistance. The available cultivars have a broad genetic base due to different parentage and use of exotic germplasm in the crossings. This broad genetic background may contribute to the stability of resistance in case new forms of the disease appear. The non-released clones performed well compared to the released cultivars and give good opportunities to further broaden the current range of cultivars on the Dutch and European market." + }, + { + "itemType": "magazineArticle", + "creators": [ + { + "firstName": "Gazi Shahinur Akter", + "lastName": "Mohammad Abdul Mazid", + "creatorType": "author" + } + ], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b0", + "title": "Minimizing Occurrence of Pancreatic Fistula during Pancreatoduodenectomy (Pd) Procedure: An Update", + "date": "2017-02-27", + "url": "https://www.omicsonline.org/open-access/minimizing-occurrence-of-pancreatic-fistula-during-pancreatoduodenectomypd-procedure-an-update-1584-9341-13-1-3.pdf" + }, + { + "itemType": "journalArticle", + "creators": [ + { + "firstName": "Irina V.", + "lastName": "Kulikova", + "creatorType": "author" + }, + { + "firstName": "Sergei V.", + "lastName": "Drovetski", + "creatorType": "author" + }, + { + "firstName": "Daniel D.", + "lastName": "Gibson", + "creatorType": "author" + }, + { + "firstName": "Ryan J.", + "lastName": "Harrigan", + "creatorType": "author" + }, + { + "firstName": "Sievert", + "lastName": "Rohwer", + "creatorType": "author" + }, + { + "firstName": "Michael D.", + "lastName": "Sorenson", + "creatorType": "author" + }, + { + "firstName": "Kevin", + "lastName": "Winker", + "creatorType": "author" + }, + { + "firstName": "Yuri N.", + "lastName": "Zhuravlev", + "creatorType": "author" + }, + { + "firstName": "Kevin G.", + "lastName": "McCracken", + "creatorType": "author" + } + ], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "https://academic.oup.com/auk/article/122/4/1309/5147711", + "title": "Phylogeography of the Mallard ( Anas Platyrhynchos ): Hybridization, Dispersal, and Lineage Sorting Contribute to Complex Geographic Structure", + "publicationTitle": "The Auk: Ornithological Advances", + "issue": "4", + "number": "4", + "patentNumber": "4", + "pages": "1309-1309", + "publisher": "Oxford University Press", + "institution": "Oxford University Press", + "company": "Oxford University Press", + "label": "Oxford University Press", + "distributor": "Oxford University Press", + "date": "2005-10-01", + "ISSN": "1938-4254", + "url": "http://dx.doi.org/10.1642/0004-8038(2005)122[1309:POTMAP]2.0.CO;2", + "abstractNote": "Because of an oversight by the authors while processing the proof of Kulikova et al. (Auk 122:949–965), two errors were not detected. In the first sentence of t", + "language": "en" + } + ] + }, + { + "type": "web", + "url": "http://daac.ornl.gov/cgi-bin/dsviewer.pl?ds_id=476", + "items": [ + { + "itemType": "journalArticle", + "creators": [], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b10", + "title": "Net Primary Productivity (NPP)", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "url": "https://daac.ornl.gov/cgi-bin/dataset_lister.pl?p=13", + "libraryCatalog": "JSON-LD" + }, + { + "itemType": "journalArticle", + "creators": [], + "notes": [], + "tags": [], + "seeAlso": [], + "attachments": [], + "itemID": "_:b13", + "title": "NASA Earthdata Search", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "url": "https://search.earthdata.nasa.gov/search", + "libraryCatalog": "JSON-LD" + }, + { + "itemType": "journalArticle", + "creators": [ + { + "firstName": "A. E.", + "lastName": "LUGO", + "creatorType": "author" + }, + { + "firstName": "F.", + "lastName": "SCATENA", + "creatorType": "author" + }, + { + "firstName": "C. F.", + "lastName": "JORDAN", + "creatorType": "author" + } + ], + "notes": [], + "tags": [ + "EOSDIS", + "NPP", + "BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > BIOMASS DYNAMICS", + "BIOSPHERE > ECOLOGICAL DYNAMICS > ECOSYSTEM FUNCTIONS > PRIMARY PRODUCTION", + "BIOSPHERE > VEGETATION > BIOMASS", + "FIELD INVESTIGATION > BALANCE", + "FIELD INVESTIGATION > STEEL MEASURING TAPE", + "FIELD INVESTIGATION > CORING DEVICES", + "FIELD INVESTIGATION > QUADRATS" + ], + "seeAlso": [], + "attachments": [], + "itemID": "https://doi.org/10.3334/ORNLDAAC/476", + "title": "NPP Tropical Forest: Luquillo, Puerto Rico, 1946-1994, R1", + "shortTitle": "NPP Tropical Forest", + "publisher": "ORNL DAAC", + "institution": "ORNL DAAC", + "company": "ORNL DAAC", + "label": "ORNL DAAC", + "distributor": "ORNL DAAC", + "date": "2013-10-17", + "abstractNote": "This data set contains ten ASCII files (.txt format), one NPP file for each of the nine different montane tropical rainforest sites within the Luquillo Experimental Forest (LEF) of Puerto Rico and one file containing climate data. The NPP study sites are located along an environmental gradient of different soils, elevation (100-1,000 m), develop stage, and mean annual rainfall. Field measurements were carried out from 1946 through 1994.", + "edition": "2", + "versionNumber": "2", + "url": "https://doi.org/10.3334/ORNLDAAC/476", + "libraryCatalog": "JSON-LD" + } + ] + } +] +/** END TEST CASES **/ diff --git a/Linked Metadata.js b/Linked Metadata.js new file mode 100644 index 0000000000..6924825481 --- /dev/null +++ b/Linked Metadata.js @@ -0,0 +1,184 @@ +{ + "translatorID": "02378e28-8a35-440c-b5d2-7eaca74615b6", + "label": "Linked Metadata", + "creator": "Martynas Bagdonas", + "target": "", + "minVersion": "3.0.4", + "maxVersion": "", + "priority": 320, + "inRepository": true, + "translatorType": 4, + "browserSupport": "gcsibv", + "lastUpdated": "2025-04-08 14:18:26" +} + +/* + ***** BEGIN LICENSE BLOCK ***** + + Copyright © 2011 Avram Lyon and the Center for History and New Media + George Mason University, Fairfax, Virginia, USA + http://zotero.org + + 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 ***** +*/ + +/* + The current weaknesses of this translator: + * Unable to detect item type, because an additional request is necessary + * Always returns 'multiple' because some metadata formats can + carry multiple items, even though in practice it's very rare + * Processes formats in the order defined in RECOGNIZABLE_FORMATS, + but in some cases metadata quality can vary between formats. The best would be to + combine metadata from all formats, but that would mean multiple HTTP requests + */ + +// Formats are taken from unAPI translator +var RECOGNIZABLE_FORMATS = ["rdf_zotero", "rdf_bibliontology", "marc", + "unimarc", "marcxml", "mods", "ris", "refer", "bibtex", "rdf_dc"]; + +var FORMAT_GUIDS = { + "rdf_zotero":"5e3ad958-ac79-463d-812b-a86a9235c28f", + "rdf_bibliontology":"14763d25-8ba0-45df-8f52-b8d1108e7ac9", + "mods":"0e2235e7-babf-413c-9acf-f27cce5f059c", + "marc":"a6ee60df-1ddc-4aae-bb25-45e0537be973", + "unimarc":"a6ee60df-1ddc-4aae-bb25-45e0537be973", + "marcxml":"edd87d07-9194-42f8-b2ad-997c4c7deefd", + "ris":"32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7", + "refer":"881f60f2-0802-411a-9228-ce5f47b64c7d", + "bibtex":"9cb70025-a888-4a29-a210-93ec52da40d4", + "rdf_dc":"5e3ad958-ac79-463d-812b-a86a9235c28f" +}; + +function detectWeb(doc, url) { + if (!Zotero.parentTranslator) { + return false; + } + if (getLinks(doc, url).length) { + return 'multiple'; + } + return false; +} + +function getLinks(doc, url) { + let nodes = doc.querySelectorAll('link[rel="alternate"]'); + + let results = []; + + for (let node of nodes) { + let title = node.getAttribute('title') || ''; + title = title.toLowerCase(); + + let type = node.getAttribute('type') || ''; + type = type.toLowerCase(); + + let href = node.getAttribute('href'); + if (!href) continue; + let ext = href.split('.').slice(-1)[0].toLowerCase(); + + for (let RECOGNIZABLE_FORMAT of RECOGNIZABLE_FORMATS) { + if ( + title.match(new RegExp('^' + RECOGNIZABLE_FORMAT + '\b')) || + type.match(new RegExp('\b' + RECOGNIZABLE_FORMAT + '\b')) || + ext === RECOGNIZABLE_FORMAT + ) { + results.push({ + format: RECOGNIZABLE_FORMAT, + url: href + }); + } + } + } + + results.sort(function (a, b) { + return RECOGNIZABLE_FORMATS.indexOf(a.format) - RECOGNIZABLE_FORMATS.indexOf(b.format); + }); + + return results; +} + +async function doWeb(doc, url) { + let links = getLinks(doc, url); + + for (let link of links) { + try { + let req = await ZU.request("GET", link.url, {responseType: "text"}); + + let translator = Zotero.loadTranslator("import"); + translator.setTranslator(FORMAT_GUIDS[link.format]); + translator.setString(req.responseText); + translator.setHandler("itemDone", function (obj, item) { + }); + + let items = await translator.translate(); + for (let item of items) { + item.complete(); + } + + return; + } + catch (err) { + + } + } +} + +var exports = { + "doWeb": doWeb, + "detectWeb": detectWeb +}; + +/** BEGIN TEST CASES **/ +var testCases = [ + { + "type": "web", + "url": "https://clio.columbia.edu/catalog/1815901?counter=1", + "items": [ + { + "key": "CK2DQGLD", + "version": 0, + "itemType": "book", + "creators": [ + { + "firstName": "Berthold", + "lastName": "Roland", + "creatorType": "author" + } + ], + "tags": [ + { + "tag": "History", + "type": 1 + }, + { + "tag": "Mannheim (Germany)", + "type": 1 + } + ], + "title": "Mannheim: Geschichte, Kunst und Kultur der freundlichen und lebendigen Stadt an Rhein und Neckar", + "publisher": "Emig", + "date": "1966", + "place": "Amorbach", + "numPages": "120", + "callNumber": "943M31 R64", + "extra": "OCLC: ocm11808835", + "libraryCatalog": "Generic" + } + ] + } +] +/** END TEST CASES **/ diff --git a/unAPI.js b/unAPI.js index 46cd720161..083385e3bf 100644 --- a/unAPI.js +++ b/unAPI.js @@ -8,8 +8,8 @@ "priority": 300, "inRepository": true, "translatorType": 4, - "browserSupport": "gcsbv", - "lastUpdated": "2019-06-10 23:11:21" + "browserSupport": "gcsibv", + "lastUpdated": "2025-04-08 14:18:43" } /* @@ -344,6 +344,9 @@ function getAllItems(ids, callback, items) { } function detectWeb(doc, _url) { + if (!Zotero.parentTranslator) { + return false; + } // get unAPI IDs var ids = getUnAPIIDs(doc); if (!ids.length) return false; @@ -392,7 +395,6 @@ function doWeb(doc, _url) { }); } - /** BEGIN TEST CASES **/ var testCases = [ {