Skip to content

Commit

Permalink
Library Catalog (TIND ILS): Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thms-rmb committed Jan 25, 2025
1 parent 95f2542 commit cde2876
Showing 1 changed file with 88 additions and 86 deletions.
174 changes: 88 additions & 86 deletions Library Catalog (TIND ILS).js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2025-01-23 07:55:06"
"lastUpdated": "2025-01-25 07:50:38"
}

/*
Expand Down Expand Up @@ -207,48 +207,60 @@ function getSchemaOrg(doc) {
var testCases = [
{
"type": "web",
"url": "https://caltech.tind.io/record/483199?ln=en",
"url": "https://lawcat.berkeley.edu/record/1234692",
"items": [
{
"itemType": "book",
"title": "Handbook of the engineering sciences",
"title": "International maritime dictionary: an encyclopedic dictionary of useful maritime terms and phrases: together with equivalents in French and German",
"creators": [
{
"firstName": "James Harry",
"lastName": "Potter",
"firstName": "René de",
"lastName": "Kerchove",
"creatorType": "author"
}
],
"date": "1967",
"callNumber": "TA151 .P79",
"libraryCatalog": "Caltech Library Catalog",
"numPages": "2",
"date": "1961",
"callNumber": "K4150 .K47 1961",
"edition": "2nd ed",
"extra": "OCLC: 8350214",
"language": "eng fre ger",
"libraryCatalog": "Berkeley Law",
"numPages": "1018",
"place": "Princeton, N.J",
"publisher": "Van Nostrand",
"publisher": "D. Van Nostrand Co",
"shortTitle": "International maritime dictionary",
"attachments": [],
"tags": [
{
"tag": "Engineering"
"tag": "Dictionaries"
},
{
"tag": "Handbooks, manuals, etc"
}
],
"notes": [
"tag": "Dictionaries"
},
{
"tag": "Dictionaries"
},
{
"note": "Housner Earthquake Engineering Collection"
"tag": "Dictionaries, Polyglot"
},
{
"note": "v.1. The basic sciences.--v.2. The applied sciences"
"tag": "Naval art and science"
},
{
"tag": "Naval art and science"
},
{
"tag": "Polyglot"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://caltech.tind.io/record/688072?ln=en",
"url": "https://library.usi.edu/record/312809",
"items": [
{
"itemType": "book",
Expand All @@ -261,26 +273,30 @@ var testCases = [
},
{
"firstName": "Mary",
"lastName": "GrandPré",
"lastName": "GrandPré",
"creatorType": "author"
}
],
"date": "2007",
"ISBN": "9780545010221",
"abstractNote": "Burdened with the dark, dangerous, and seemingly impossible task of locating and destroying Voldemort's remaining Horcruxes, Harry, feeling alone and uncertain about his future, struggles to find the inner strength he needs to follow the path set out before him",
"callNumber": "PR6068.O94 H377 2007",
"callNumber": "PZ7.R79835 Hak 2007",
"edition": "1st ed",
"libraryCatalog": "Caltech Library Catalog",
"extra": "OCLC: ocm85443494",
"libraryCatalog": "University of Southern Indiana",
"numPages": "759",
"place": "New York, NY",
"place": "New York",
"publisher": "Arthur A. Levine Books",
"attachments": [],
"tags": [
{
"tag": "Bildungsromans"
},
{
"tag": "England"
},
{
"tag": "Hogwarts School of Witchcraft and Wizardry (Imaginary place)"
"tag": "Hogwarts School of Witchcraft and Wizardry (Imaginary organization)"
},
{
"tag": "Juvenile fiction"
Expand All @@ -304,7 +320,7 @@ var testCases = [
"tag": "Magic"
},
{
"tag": "Potter, Harry"
"tag": "Potter, Harry (Fictitious character)"
},
{
"tag": "Schools"
Expand All @@ -315,10 +331,7 @@ var testCases = [
],
"notes": [
{
"note": "\"Year 7\"--Spine Sequel to: Harry Potter and the Half-Blood Prince"
},
{
"note": "The Dark Lord ascending -- In memoriam -- The Dursleys departing -- The seven Potters -- Fallen warrior -- The ghoul in pajamas -- The will of Albus Dumbledore -- The wedding -- A place to hide -- Kreacher's tale -- The bribe -- Magic is might -- The Muggle-born Registration Commission -- The thief -- The goblin's revenge -- Godric's Hollow -- Bathilda's secret -- The life and lies of Albus Dumbledore -- The silver doe -- Xenophilius Lovegood -- The tale of the three brothers -- The Deathly Hallows -- Malfoy Manor -- The wandmaker -- Shell Cottage -- Gringotts -- The final hiding place -- The missing mirror -- The lost diadem -- The sacking of Severus Snape -- The Battle of Hogwarts -- The Elder Wand -- The prince's tale -- The forest again -- King's Cross -- The flaw in the plan"
"note": "Sequel to: Harry Potter and the Half-Blood Prince"
}
],
"seeAlso": []
Expand All @@ -327,37 +340,48 @@ var testCases = [
},
{
"type": "web",
"url": "https://caltech.tind.io/record/578424?ln=en",
"url": "https://lawcat.berkeley.edu/record/1301185",
"items": [
{
"itemType": "thesis",
"title": "Vibration tests of a multistory building",
"itemType": "book",
"title": "Constitution of the United States of Brazil, 1946 (as amended)",
"creators": [
{
"firstName": "Julio Horiuch",
"lastName": "Kuroiwa",
"creatorType": "author"
"lastName": "Brazil",
"creatorType": "editor",
"fieldMode": 1
},
{
"lastName": "California Institute of Technology",
"creatorType": "contributor",
"fieldMode": true
"lastName": "Pan American Union",
"creatorType": "editor",
"fieldMode": 1
}
],
"date": "1967",
"callNumber": "THESIS",
"libraryCatalog": "Caltech Library Catalog",
"numPages": "113",
"place": "Pasadena, Calif",
"university": "California Institute of Technology",
"date": "1963",
"callNumber": "KHD2914 1946 .A6 1963",
"libraryCatalog": "Berkeley Law",
"numPages": "1",
"place": "Washington, D.C",
"publisher": "Pan American Union",
"url": "https://libproxy.berkeley.edu/login?qurl=https%3A%2F%2Fwww.llmc.com%2FsearchResultVolumes2.aspx%3Fext%3Dtrue%26catalogSet%3D62858",
"attachments": [],
"tags": [],
"notes": [
"tags": [
{
"tag": "Brazil"
},
{
"tag": "Brazil"
},
{
"note": "Housner Earthquake Engineering Collection"
"tag": "Constitutional law"
},
{
"note": "Thesis (Engineer) -- California Institute of Technology, 1967"
"tag": "Constitutions"
}
],
"notes": [
{
"note": "\"Published under the direction of the General Legal Division, Department of Legal Affairs, Pan American Union.\" Title page verso"
}
],
"seeAlso": []
Expand All @@ -366,60 +390,37 @@ var testCases = [
},
{
"type": "web",
"url": "https://caltech.tind.io/record/666881?ln=en",
"url": "https://library.usi.edu/record/1416599",
"items": [
{
"itemType": "book",
"title": "Asymptotically optimal multistage hypothesis tests",
"itemType": "thesis",
"title": "Let's talk: a common-sense approach to public speaking",
"creators": [
{
"firstName": "Jay L.",
"lastName": "Bartroff",
"creatorType": "author"
},
{
"firstName": "Gary",
"lastName": "Lorden",
"firstName": "Sherry",
"lastName": "Crawford",
"creatorType": "author"
},
{
"lastName": "California Institute of Technology",
"creatorType": "contributor",
"fieldMode": true
}
],
"date": "2004",
"callNumber": "THESIS",
"libraryCatalog": "Caltech Library Catalog",
"numPages": "181",
"place": "Pasadena, Calif",
"publisher": "California Institute of Technology",
"series": "CIT theses",
"seriesNumber": "2004",
"url": "http://resolver.caltech.edu/CaltechETD:etd-05202004-133633",
"abstractNote": "No abstract",
"language": "eng",
"libraryCatalog": "University of Southern Indiana",
"shortTitle": "Let's talk",
"attachments": [],
"tags": [
{
"tag": "Electronic dissertations"
}
],
"notes": [
{
"note": "Thesis (Ph. D.) PQ #3151340"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://caltech.tind.io/search?ln=en&rm=&ln=en&sf=&so=d&rg=25&c=Caltech&of=hb&fct__4=Thesis&fct__4=Thesis&fct__4=Remote%20access&p=test",
"url": "https://library.usi.edu/search?p=test AND 336%3AThesis&fct__3=2017",
"items": "multiple"
},
{
"type": "web",
"url": "https://pegasus.law.columbia.edu/record/511151?ln=en",
"url": "https://pegasus.law.columbia.edu/record/511151",
"items": [
{
"itemType": "book",
Expand All @@ -428,15 +429,16 @@ var testCases = [
{
"lastName": "United States",
"creatorType": "editor",
"fieldMode": true
"fieldMode": 1
}
],
"date": "1989",
"callNumber": "KF27 .J847 1987e",
"extra": "OCLC: 19420020",
"libraryCatalog": "CLS Pegasus Library Catalog",
"numPages": "305",
"place": "Washington",
"publisher": "U.S. G.P.O. : For sale by the Supt. of Docs., Congressional Sales Office, U.S. G.P.O",
"publisher": "U.S. G.P.O",
"shortTitle": "Sex and race differences on standardized tests",
"attachments": [],
"tags": [
Expand Down Expand Up @@ -464,7 +466,7 @@ var testCases = [
],
"notes": [
{
"note": "Distributed to some depository libraries in microfiche Shipping list no.: 89-175-P \"Serial no. 93.\" Item 1020-A, 1020-B (microfiche)"
"note": "Distributed to some depository libraries in microfiche Shipping list number: 89-175-P \"Serial number 93.\" Item 1020-A, 1020-B (microfiche)"
}
],
"seeAlso": []
Expand Down

0 comments on commit cde2876

Please sign in to comment.