Skip to content

Commit

Permalink
Test updates for new cleanAuthor and Embedded Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasv committed Mar 17, 2012
1 parent d7dcc76 commit 79dacc9
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 69 deletions.
5 changes: 2 additions & 3 deletions TalisPrism.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs",
"lastUpdated": "2012-03-05 04:46:31"
"lastUpdated": "2012-03-11 15:19:02"
}

/* TalisPrism translator.
Expand Down Expand Up @@ -450,7 +450,7 @@ var testCases = [
"itemType": "book",
"creators": [
{
"firstName": "Arthur R",
"firstName": "Arthur R.",
"lastName": "Taylor",
"creatorType": "author"
}
Expand All @@ -460,7 +460,6 @@ var testCases = [
"seeAlso": [],
"attachments": [
{
"url": "http://opac.staffordshire.gov.uk/TalisPrism/doOpenURLSearch.do?sid=Talis:prod_talis&pid=Key%3A324818%3BArtifactType%3AMarc21Slim%3BsearchLocation%3Atalislms",
"title": "Snapshot of Library Page",
"mimeType": "text/html"
}
Expand Down
9 changes: 4 additions & 5 deletions The Telegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs",
"lastUpdated": "2012-03-05 08:19:20"
"lastUpdated": "2012-03-11 15:14:57"
}

function createExcludes(url, excludeArr) {
Expand Down Expand Up @@ -218,15 +218,14 @@ var testCases = [
],
"itemID": "http://blogs.telegraph.co.uk/news/cristinaodone/100141152/putin-wins-the-russian-election-but-it-wont-be-long-before-hes-in-trouble/",
"title": "Putin 'wins' the Russian election. But it won't be long before he's in trouble",
"source": "News - Telegraph Blogs",
"publicationTitle": "News - Telegraph Blogs",
"date": "2012-03-04",
"url": "http://blogs.telegraph.co.uk/news/cristinaodone/100141152/putin-wins-the-russian-election-but-it-wont-be-long-before-hes-in-trouble/",
"abstractNote": "Vladimir Putin looks set to win the Russian elections – no surprise there, then. Few, even in Russia, believe that today's election is anything but a stage-managed vote. Putin may have been the most popular Russian leader in decades, but the gloss has worn off. Protesters in Russia and in the West have spent the [...]",
"section": "Blogs",
"callNumber": "100141152",
"abstractNote": "Vladimir Putin looks set to win the Russian elections – no surprise there, then. Few, even in Russia, believe that today's election is anything bu",
"accessDate": "CURRENT_TIMESTAMP",
"libraryCatalog": "blogs.telegraph.co.uk",
"section": "Blogs",
"callNumber": "100141152",
"publisher": "Telegraph Media Group Limited"
}
]
Expand Down
56 changes: 28 additions & 28 deletions Treesearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs",
"lastUpdated": "2012-03-07 06:51:54"
"lastUpdated": "2012-03-11 15:12:32"
}

/**
Expand Down Expand Up @@ -148,42 +148,42 @@ var testCases = [
"itemType": "journalArticle",
"creators": [
{
"firstName": "Richard C",
"firstName": "Richard C.",
"lastName": "Cobb",
"creatorType": "author"
},
{
"firstName": "Joao A. N",
"firstName": "Joao A. N.",
"lastName": "Filipe",
"creatorType": "author"
},
{
"firstName": "Ross K",
"firstName": "Ross K.",
"lastName": "Meentemeyer",
"creatorType": "author"
},
{
"firstName": "Christopher A",
"firstName": "Christopher A.",
"lastName": "Lee",
"creatorType": "author"
},
{
"firstName": "Yana S",
"firstName": "Yana S.",
"lastName": "Valachovic",
"creatorType": "author"
},
{
"firstName": "Alex R",
"firstName": "Alex R.",
"lastName": "Cook",
"creatorType": "author"
},
{
"firstName": "David M",
"firstName": "David M.",
"lastName": "Rizzo",
"creatorType": "author"
},
{
"firstName": "Christopher A",
"firstName": "Christopher A.",
"lastName": "Gilligan",
"creatorType": "author"
}
Expand Down Expand Up @@ -223,12 +223,12 @@ var testCases = [
"itemType": "journalArticle",
"creators": [
{
"firstName": "Todd F",
"firstName": "Todd F.",
"lastName": "Hutchinson",
"creatorType": "author"
},
{
"firstName": "Robert P",
"firstName": "Robert P.",
"lastName": "Long",
"creatorType": "author"
},
Expand All @@ -243,7 +243,7 @@ var testCases = [
"creatorType": "author"
},
{
"firstName": "Daniel A",
"firstName": "Daniel A.",
"lastName": "Yaussy",
"creatorType": "author"
}
Expand Down Expand Up @@ -338,12 +338,12 @@ var testCases = [
"itemType": "bookSection",
"creators": [
{
"firstName": "Suzanne L",
"firstName": "Suzanne L.",
"lastName": "Jones",
"creatorType": "author"
},
{
"firstName": "Roger C",
"firstName": "Roger C.",
"lastName": "Anderson",
"creatorType": "author"
}
Expand Down Expand Up @@ -380,17 +380,17 @@ var testCases = [
"creatorType": "author"
},
{
"firstName": "John M",
"firstName": "John M.",
"lastName": "Lhotka",
"creatorType": "author"
},
{
"firstName": "Jeffrey W",
"firstName": "Jeffrey W.",
"lastName": "Stringer",
"creatorType": "author"
},
{
"firstName": "Kurt W",
"firstName": "Kurt W.",
"lastName": "Gottschalk",
"creatorType": "author"
},
Expand Down Expand Up @@ -434,42 +434,42 @@ var testCases = [
"itemType": "book",
"creators": [
{
"firstName": "Richard H",
"firstName": "Richard H.",
"lastName": "Widmann",
"creatorType": "author"
},
{
"firstName": "Gregory W",
"firstName": "Gregory W.",
"lastName": "Cook",
"creatorType": "author"
},
{
"firstName": "Charles J",
"firstName": "Charles J.",
"lastName": "Barnett",
"creatorType": "author"
},
{
"firstName": "Brett J",
"firstName": "Brett J.",
"lastName": "Butler",
"creatorType": "author"
},
{
"firstName": "Douglas M",
"firstName": "Douglas M.",
"lastName": "Griffith",
"creatorType": "author"
},
{
"firstName": "Mark A",
"firstName": "Mark A.",
"lastName": "Hatfield",
"creatorType": "author"
},
{
"firstName": "Cassandra M",
"firstName": "Cassandra M.",
"lastName": "Kurtz",
"creatorType": "author"
},
{
"firstName": "Randall S",
"firstName": "Randall S.",
"lastName": "Morin",
"creatorType": "author"
},
Expand All @@ -479,12 +479,12 @@ var testCases = [
"creatorType": "author"
},
{
"firstName": "Charles H",
"firstName": "Charles H.",
"lastName": "Perry",
"creatorType": "author"
},
{
"firstName": "Ronald J",
"firstName": "Ronald J.",
"lastName": "Piva",
"creatorType": "author"
},
Expand All @@ -494,7 +494,7 @@ var testCases = [
"creatorType": "author"
},
{
"firstName": "Christopher W",
"firstName": "Christopher W.",
"lastName": "Woodall",
"creatorType": "author"
}
Expand Down
34 changes: 9 additions & 25 deletions Vanderbilt eJournals.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs",
"lastUpdated": "2012-03-03 20:38:58"
"lastUpdated": "2012-03-11 15:10:20"
}

function scrape(doc) {
Expand Down Expand Up @@ -100,19 +100,15 @@ var testCases = [
],
"itemID": "http://ejournals.library.vanderbilt.edu/ojs/index.php/vurj/article/view/2931",
"title": "Authenticating Identity: The Quest for Personal Validation through Authenticity in Music",
"source": "Vanderbilt Undergraduate Research Journal",
"publicationTitle": "Vanderbilt Undergraduate Research Journal",
"rights": "Copyright for articles published in this journal is retained by the authors, with first publication rights granted to Vanderbilt Undergraduate Research Journal. By virtue of their appearance in this open access journal, articles are available for wide dissemination at no cost to readers, with proper attribution, in educational and other non-commercial settings. For undergraduates jointly authoring a manuscript with a faculty member, we strongly encourage the student to discuss with the faculty mentor and the Editor if the copyright policy will constrain future publication efforts in professional journals.",
"date": "2011-08-05",
"accessionNumber": "2931",
"date": "05/08/2011",
"reportType": "Text.Serial.Journal",
"videoRecordingType": "Text.Serial.Journal",
"letterType": "Text.Serial.Journal",
"manuscriptType": "Text.Serial.Journal",
"mapType": "Text.Serial.Journal",
"thesisType": "Text.Serial.Journal",
"websiteType": "Text.Serial.Journal",
"audioRecordingType": "Text.Serial.Journal",
"presentationType": "Text.Serial.Journal",
"postType": "Text.Serial.Journal",
"audioFileType": "Text.Serial.Journal",
Expand Down Expand Up @@ -154,26 +150,22 @@ var testCases = [
],
"itemID": "http://ejournals.library.vanderbilt.edu/ojs/index.php/lusohispanic/article/view/3283/1518",
"title": "¿Qué hay antes y después de la escritura?",
"source": "Vanderbilt e-Journal of Luso-Hispanic Studies",
"publicationTitle": "Vanderbilt e-Journal of Luso-Hispanic Studies",
"date": "2011-10-20",
"accessionNumber": "3283",
"date": "20/10/2011",
"reportType": "Text.Serial.Journal",
"videoRecordingType": "Text.Serial.Journal",
"letterType": "Text.Serial.Journal",
"manuscriptType": "Text.Serial.Journal",
"mapType": "Text.Serial.Journal",
"thesisType": "Text.Serial.Journal",
"websiteType": "Text.Serial.Journal",
"audioRecordingType": "Text.Serial.Journal",
"presentationType": "Text.Serial.Journal",
"postType": "Text.Serial.Journal",
"audioFileType": "Text.Serial.Journal",
"language": "en",
"volume": "7",
"issue": "0",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/lusohispanic/article/view/3283/1518",
"ISSN": "1547-5743",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/lusohispanic/article/view/3283/1518",
"accessDate": "CURRENT_TIMESTAMP",
"libraryCatalog": "ejournals.library.vanderbilt.edu"
}
Expand Down Expand Up @@ -206,26 +198,22 @@ var testCases = [
],
"itemID": "http://ejournals.library.vanderbilt.edu/ojs/index.php/homiletic/article/view/3460",
"title": "Rhetorical Influences upon the Preaching of Jonathan Edwards",
"source": "Homiletic",
"publicationTitle": "Homiletic",
"date": "2011-12-01",
"accessionNumber": "3460",
"date": "01/12/2011",
"reportType": "Text.Serial.Journal",
"videoRecordingType": "Text.Serial.Journal",
"letterType": "Text.Serial.Journal",
"manuscriptType": "Text.Serial.Journal",
"mapType": "Text.Serial.Journal",
"thesisType": "Text.Serial.Journal",
"websiteType": "Text.Serial.Journal",
"audioRecordingType": "Text.Serial.Journal",
"presentationType": "Text.Serial.Journal",
"postType": "Text.Serial.Journal",
"audioFileType": "Text.Serial.Journal",
"language": "en",
"volume": "36",
"issue": "2",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/homiletic/article/view/3460",
"ISSN": "2152-6923",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/homiletic/article/view/3460",
"accessDate": "CURRENT_TIMESTAMP",
"libraryCatalog": "ejournals.library.vanderbilt.edu",
"abstractNote": "Much has been written concerning the New England Puritan Jonathan Edwards, addressing his multifaceted activities as a theologian, preacher, revivalist, pastor, polemicist and missionary. In particular this study focuses upon the rhetorical influences that shaped his preaching ministry: his personal faith experiences, the preaching of his father and grandfather, the Puritan preaching tradition, and the rhetoric of Peter Ramus. While he preached within the sometimes narrow constraints of his New England Puritan tradition, Edwards nonetheless found some freedom to experiment with the classic inherited Puritan tripartite sermon form. Although he never truly departed from this sermon format, his attempts at innovation within his tradition serves as a model for preachers today. Such a legacy may well inspire preachers operating within the confines of hermeneutical or denominational tradition, but who seek to reconfigure elements of their inherited preaching influences."
Expand Down Expand Up @@ -258,28 +246,24 @@ var testCases = [
}
],
"itemID": "http://ejournals.library.vanderbilt.edu/ojs/index.php/ameriquests/article/view/220",
"title": "Canadian Literature in the Early Twenty-First Century: The Emergence of an Inter-American Perspective",
"source": "AmeriQuests",
"title": "Canadian Literature in the Early Twenty-First Century: The Emergence of an Inter-American Perspective",
"publicationTitle": "AmeriQuests",
"rights": "We ask that all submissions be original to AmeriQuests, although exceptions can be made by the editor. All authors retain copyright, and are permitted to publish their work after it appears in AmeriQuests, although we ask that AmeriQuests be referenced in subsequent editions.",
"date": "2011-08-29",
"accessionNumber": "220",
"date": "28/07/2011",
"reportType": "Text.Serial.Journal",
"videoRecordingType": "Text.Serial.Journal",
"letterType": "Text.Serial.Journal",
"manuscriptType": "Text.Serial.Journal",
"mapType": "Text.Serial.Journal",
"thesisType": "Text.Serial.Journal",
"websiteType": "Text.Serial.Journal",
"audioRecordingType": "Text.Serial.Journal",
"presentationType": "Text.Serial.Journal",
"postType": "Text.Serial.Journal",
"audioFileType": "Text.Serial.Journal",
"language": "en",
"volume": "8",
"issue": "1",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/ameriquests/article/view/220",
"ISSN": "1553-4316",
"url": "http://ejournals.library.vanderbilt.edu/ojs/index.php/ameriquests/article/view/220",
"accessDate": "CURRENT_TIMESTAMP",
"libraryCatalog": "ejournals.library.vanderbilt.edu",
"shortTitle": "Canadian Literature in the Early Twenty-First Century",
Expand Down
Loading

0 comments on commit 79dacc9

Please sign in to comment.