Skip to content
Permalink
Browse files

Fixes S (zotero#1343)

* Update SAE Papers.js
Closes zotero#1342.
* Update Safari Books Online.js
* Update tests in SAGE Journals.js
* Update sbn.it.js
* Update Scholars Portal Journals.js
* Update SciELO.js
* Delete Science Links Japan.js
Closing at 2014-03-31 see https://web.archive.org/web/20140314103855/http://www.sciencelinks.jp/
* Update tests in Silverchair.js
* JACC is now covered by Highwire translator, e.g. http://www.onlinejacc.org/content/55/25/2858#Abstract
* JAPhA is now covered by Elsevier Health Journals translator, e.g. http://www.japha.org/article/S1544-3191(15)30515-X/fulltext
* Neuropsychiatry is now covered by Atypon translator, e.g. http://neuro.psychiatryonline.org/toc/jnp/24/2
TODO http://annals.org/aim/article/1358680/flexible-sigmoidoscopy-screening-reduced-colorectal-cancer-incidence-mortality-older-adults
* Update tests in SlideShare.js
* Update SORA.js
* Update Spiegel Online.js
* Update Springer Link.js
* Extend BMC translator to cover also Springer Open
The Springer Science+Business Media.js translator
is not longer needed because all journals moved to either
BioMed Central or Springer Open.
* Update tests in SSOAR.js
* Update SSRN.js
Delete non-working PDF attachment
* Update tests in Stanford Encyclopedia of Philosophy.js
* Update tests in Store norske leksikon.js
* Update Sueddeutsche.de.js
* Update Summon 2.js
* Update Schweizer Radio und Fernsehen SRF.js
* Update SAGE Knowledge.js
The RIS data they provide is very problematic in
various aspects. Therefore, we have to correct this
as good as possible in the translator.
  • Loading branch information...
zuphilip authored and adam3smith committed Jun 26, 2017
1 parent 64830cc commit c25025099bb759dd65a1acce4a906f0d04de5324
@@ -2,14 +2,14 @@
"translatorID": "75ccea3c-fdb8-4473-8203-ceb27f3395f8",
"label": "BioMed Central",
"creator": "Philipp Zumstein",
"target": "^https?://[^\\.]+\\.biomedcentral\\.com/(articles|search)",
"target": "^https?://[^\\.]+\\.(biomedcentral|springeropen)\\.com/(articles|search)",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-01-01 16:01:50"
"lastUpdated": "2017-06-24 17:55:46"
}

/*
@@ -35,8 +35,11 @@
***** END LICENSE BLOCK *****
*/


//This translator covers BioMedCentral but also SpringerOpen.

function detectWeb(doc, url) {
if (url.indexOf('biomedcentral.com/articles/10.1186/')>-1) {
if (url.indexOf('.com/articles/10.1186/')>-1) {
return "journalArticle";
} else if (getSearchResults(doc, true)) {
return "multiple";
@@ -262,6 +265,245 @@ var testCases = [
"type": "web",
"url": "https://bmcevolbiol.biomedcentral.com/articles/",
"items": "multiple"
},
{
"type": "web",
"url": "https://jfootankleres.biomedcentral.com/articles/10.1186/1757-1146-1-S1-O4",
"items": [
{
"itemType": "journalArticle",
"title": "Plantar fascia thickness and first metatarsal mobility in patients with diabetes and neuropathy",
"creators": [
{
"lastName": "Rao",
"firstName": "Smita",
"creatorType": "author"
},
{
"lastName": "Saltzman",
"firstName": "Charles L.",
"creatorType": "author"
},
{
"lastName": "Yack",
"firstName": "H. John",
"creatorType": "author"
}
],
"date": "2008",
"DOI": "10.1186/1757-1146-1-S1-O4",
"ISSN": "1757-1146",
"issue": "1",
"journalAbbreviation": "Journal of Foot and Ankle Research",
"libraryCatalog": "BioMed Central",
"pages": "O4",
"publicationTitle": "Journal of Foot and Ankle Research",
"url": "http://dx.doi.org/10.1186/1757-1146-1-S1-O4",
"volume": "1",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://journalofinequalitiesandapplications.springeropen.com/articles/10.1186/1029-242X-2011-53",
"items": [
{
"itemType": "journalArticle",
"title": "Approximately cubic functional equations and cubic multipliers",
"creators": [
{
"lastName": "Bodaghi",
"firstName": "Abasalt",
"creatorType": "author"
},
{
"lastName": "Alias",
"firstName": "Idham Arif",
"creatorType": "author"
},
{
"lastName": "Ghahramani",
"firstName": "Mohammad Hossein",
"creatorType": "author"
}
],
"date": "2011",
"DOI": "10.1186/1029-242X-2011-53",
"ISSN": "1029-242X",
"abstractNote": "In this paper, we prove the Hyers-Ulam stability and the superstability for cubic functional equation by using the fixed point alternative theorem. As a consequence, we show that the cubic multipliers are superstable under some conditions.",
"journalAbbreviation": "Journal of Inequalities and Applications",
"libraryCatalog": "BioMed Central",
"pages": "53",
"publicationTitle": "Journal of Inequalities and Applications",
"url": "http://dx.doi.org/10.1186/1029-242X-2011-53",
"volume": "2011",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
}
],
"tags": [
"Hyers-Ulam stability",
"Superstability",
"cubic functional equation",
"multiplier"
],
"notes": [
{
"note": "Pages 53 in PDF"
}
],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://nanoscalereslett.springeropen.com/articles/10.1186/1556-276X-6-530",
"items": [
{
"itemType": "journalArticle",
"title": "Nanoscale potassium niobate crystal structure and phase transition",
"creators": [
{
"lastName": "Chen",
"firstName": "Haiyan",
"creatorType": "author"
},
{
"lastName": "Zhang",
"firstName": "Yixuan",
"creatorType": "author"
},
{
"lastName": "Lu",
"firstName": "Yanling",
"creatorType": "author"
}
],
"date": "2011",
"DOI": "10.1186/1556-276X-6-530",
"ISSN": "1556-276X",
"abstractNote": "Nanoscale potassium niobate (KNbO3) powders of orthorhombic structure were synthesized using the sol-gel method. The heat-treatment temperature of the gels had a pronounced effect on KNbO3 particle size and morphology. Field emission scanning electron microscopy and transmission electron microscopy were used to determine particle size and morphology. The average KNbO3 grain size was estimated to be less than 100 nm, and transmission electron microscopy images indicated that KNbO3 particles had a brick-like morphology. Synchrotron X-ray diffraction was used to identify the room-temperature structures using Rietveld refinement. The ferroelectric orthorhombic phase was retained even for particles smaller than 50 nm. The orthorhombic to tetragonal and tetragonal to cubic phase transitions of nanocrystalline KNbO3 were investigated using temperature-dependent powder X-ray diffraction. Differential scanning calorimetry was used to examine the temperature dependence of KNbO3 phase transition. The Curie temperature and phase transition were independent of particle size, and Rietveld analyses showed increasing distortions with decreasing particle size.",
"journalAbbreviation": "Nanoscale Research Letters",
"libraryCatalog": "BioMed Central",
"pages": "530",
"publicationTitle": "Nanoscale Research Letters",
"url": "http://dx.doi.org/10.1186/1556-276X-6-530",
"volume": "6",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
}
],
"tags": [
"crystal structure",
"nanoscale powder.",
"phase transition",
"potassium niobate"
],
"notes": [
{
"note": "Pages 530 in PDF"
}
],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://ccj.springeropen.com/articles/10.1186/1752-153X-5-5",
"items": [
{
"itemType": "journalArticle",
"title": "Cacao seeds are a \"Super Fruit\": A comparative analysis of various fruit powders and products",
"creators": [
{
"lastName": "Crozier",
"firstName": "Stephen J.",
"creatorType": "author"
},
{
"lastName": "Preston",
"firstName": "Amy G.",
"creatorType": "author"
},
{
"lastName": "Hurst",
"firstName": "Jeffrey W.",
"creatorType": "author"
},
{
"lastName": "Payne",
"firstName": "Mark J.",
"creatorType": "author"
},
{
"lastName": "Mann",
"firstName": "Julie",
"creatorType": "author"
},
{
"lastName": "Hainly",
"firstName": "Larry",
"creatorType": "author"
},
{
"lastName": "Miller",
"firstName": "Debra L.",
"creatorType": "author"
}
],
"date": "2011",
"DOI": "10.1186/1752-153X-5-5",
"ISSN": "1752-153X",
"abstractNote": "Numerous popular media sources have developed lists of \"Super Foods\" and, more recently, \"Super Fruits\". Such distinctions often are based on the antioxidant capacity and content of naturally occurring compounds such as polyphenols within those whole fruits or juices of the fruit which may be linked to potential health benefits. Cocoa powder and chocolate are made from an extract of the seeds of the fruit of the Theobroma cacao tree. In this study, we compared cocoa powder and cocoa products to powders and juices derived from fruits commonly considered \"Super Fruits\".",
"journalAbbreviation": "Chemistry Central Journal",
"libraryCatalog": "BioMed Central",
"pages": "5",
"publicationTitle": "Chemistry Central Journal",
"shortTitle": "Cacao seeds are a \"Super Fruit\"",
"url": "http://dx.doi.org/10.1186/1752-153X-5-5",
"volume": "5",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
}
],
"tags": [],
"notes": [
{
"note": "Pages 5 in PDF"
}
],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-06-16 19:44:16"
"lastUpdated": "2017-06-24 09:09:38"
}

/*
@@ -79,6 +79,14 @@ function getSearchResults(doc, checkOnly) {
}

function scrape(doc, url) {
//the highwire meta tags are now part of the body and not head
//which we have to correct here before calling EM translator
var head = doc.getElementsByTagName('head');
var metasInBody = ZU.xpath(doc, '//body/meta');
for (var i=0; i<metasInBody.length; i++) {
head[0].append(metasInBody[i]);
}

var abstract = ZU.xpathText(doc, '//div[@class="dt-scope" and div/div[contains(text(), "Abstract")]]//div[@class="dt-scope-c-content"]');
var translator = Zotero.loadTranslator('web');
// use the Embedded Metadata translator
@@ -222,10 +230,6 @@ var testCases = [
"reportType": "SAE Technical Paper",
"url": "http://papers.sae.org/540090/",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
}
@@ -242,4 +246,4 @@ var testCases = [
"items": "multiple"
}
]
/** END TEST CASES **/
/** END TEST CASES **/
@@ -206,7 +206,7 @@ var testCases = [
"ISSN": "0954-4089",
"abstractNote": "A low cost powder flowability tester for industry has been developed at The Wolfson Centre for Bulk Solids Handling Technology, University of Greenwich in collaboration with Brookfield Engineering and four food manufacturers: Cadbury, Kerry Ingredients, GSK and United Biscuits. Anticipated uses of the tester are primarily for quality control and new product development, but it can also be used for storage vessel design., This paper presents the preliminary results from ‘round robin’ trials undertaken with the powder flow tester using the BCR limestone (CRM-116) standard test material. The mean flow properties have been compared to published data found in the literature for the other shear testers.",
"issue": "3",
"journalAbbreviation": "Proceedings of the IMechE",
"journalAbbreviation": "Proceedings of the Institution of Mechanical Engineers, Part E: Journal of Process Mechanical Engineering",
"libraryCatalog": "SAGE Journals",
"pages": "215-230",
"publicationTitle": "Proceedings of the Institution of Mechanical Engineers, Part E: Journal of Process Mechanical Engineering",
Oops, something went wrong.

0 comments on commit c250250

Please sign in to comment.
You can’t perform that action at this time.