Skip to content
Permalink
Browse files

GMS German Medical Science.js: English website (#1778)

The journal website is available in German and English, the translator
works identically for both.
  • Loading branch information...
Sebastian authored and zuphilip committed Nov 18, 2018
1 parent 217d9da commit e290559f87dca04f662c43b27a36c441d6bda68f
Showing with 22 additions and 12 deletions.
  1. +22 −12 GMS German Medical Science.js
@@ -2,14 +2,14 @@
"translatorID": "8d5984e8-3ba9-4faa-8b84-a58adae56439",
"label": "GMS German Medical Science",
"creator": "Philipp Zumstein",
"target": "^https?://www\\.egms\\.de/static/de/",
"target": "^https?://www\\.egms\\.de/static/(de|en)/",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-06-26 21:31:55"
"lastUpdated": "2018-11-12 15:53:36"
}

/*
@@ -147,7 +147,7 @@ function scrape(doc, url) {
var testCases = [
{
"type": "web",
"url": "http://www.egms.de/static/de/journals/gms/2017-15/000242.shtml",
"url": "https://www.egms.de/static/de/journals/gms/2017-15/000242.shtml",
"items": [
{
"itemType": "journalArticle",
@@ -191,11 +191,21 @@ var testCases = [
}
],
"tags": [
"chronic pain",
"music instruments",
"musician",
"orchestra",
"prevalence"
{
"tag": "chronic pain"
},
{
"tag": "music instruments"
},
{
"tag": "musician"
},
{
"tag": "orchestra"
},
{
"tag": "prevalence"
}
],
"notes": [],
"seeAlso": []
@@ -204,7 +214,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://www.egms.de/static/de/journals/cpo/2017-13/cpo001859.shtml",
"url": "https://www.egms.de/static/de/journals/cpo/2017-13/cpo001859.shtml",
"items": [
{
"itemType": "journalArticle",
@@ -245,7 +255,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://www.egms.de/static/de/meetings/dgnc2017/17dgnc026.shtml",
"url": "https://www.egms.de/static/de/meetings/dgnc2017/17dgnc026.shtml",
"items": [
{
"itemType": "conferencePaper",
@@ -302,8 +312,8 @@ var testCases = [
},
{
"type": "web",
"url": "http://www.egms.de/dynamic/de/journals/mbi/volume16.htm",
"url": "https://www.egms.de/dynamic/de/journals/mbi/volume16.htm",
"items": "multiple"
}
]
/** END TEST CASES **/
/** END TEST CASES **/

0 comments on commit e290559

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