-
Notifications
You must be signed in to change notification settings - Fork 761
/
Amazon.js
1042 lines (1005 loc) · 34.8 KB
/
Amazon.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"translatorID": "96b9f483-c44d-5784-cdad-ce21b984fe01",
"label": "Amazon",
"creator": "Sean Takats, Michael Berkowitz, and Simon Kornblith",
"target": "^https?://((www\\.)|(smile\\.))?amazon",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2022-12-15 05:18:20"
}
function detectWeb(doc, _url) {
if (getSearchResults(doc, true)) {
return (Zotero.isBookmarklet ? "server" : "multiple");
}
if ((attr(doc, 'link[rel=canonical]', 'href') || '').match(/dp\/[A-Z0-9]+$/)) {
if (Zotero.isBookmarklet) return "server";
var productClass = attr(doc, 'div[id="dp"]', 'class');
if (!productClass) {
Z.debug("No product class found; trying store ID");
productClass = attr(doc, 'input[name="storeID"]', 'value');
}
if (!productClass) {
Z.debug("No store ID found; looking for special stores");
if (doc.getElementById('dmusic_buybox_container')) {
productClass = 'music';
}
}
// delete language code
productClass = productClass.replace(/[a-z][a-z]_[A-Z][A-Z]/, "").trim();
if (productClass) {
if (productClass.includes("book")) { // also ebooks
return "book";
}
else if (productClass == "music" | productClass == "dmusic") {
return "audioRecording";
}
else if (productClass == "dvd" | productClass == "dvd-de" | productClass == "video" | productClass == "movies-tv") {
return "videoRecording";
}
else if (productClass == "videogames" | productClass == "mobile-apps") {
return "computerProgram";
}
else {
Z.debug("Unknown product class" + productClass + "will be ignored by Zotero");
}
}
else {
// audio books are purchased as audible abo
if (text(doc, 'form[class="a-spacing-none"][action*="/audible/"]')) {
return "audioRecording";
}
var mainCategory = text(doc, '#wayfinding-breadcrumbs_container li a');
if (mainCategory && mainCategory.includes('Kindle')) {
return "book";
}
else {
Z.debug("Items in this category will be ignored by Zotero: " + mainCategory);
}
}
}
return false;
}
function getSearchResults(doc, checkOnly) {
// search results
var links = doc.querySelectorAll('div.s-result-list h2>a');
if (!links.length) {
// wish lists
var container = doc.getElementById('item-page-wrapper');
if (container) {
links = ZU.xpath(container, './/a[starts-with(@id, "itemName_")]');
}
}
if (!links.length) {
// author pages
links = ZU.xpath(doc, '//div[@id="searchWidget"]//a[span[contains(@class, "a-size-medium")]]');
}
if (!links.length) return false;
var availableItems = {}, found = false,
asinRe = /\/(?:dp|product)\/(?:[^?#]+)\//;
for (var i = 0; i < links.length; i++) {
var elmt = links[i];
if (asinRe.test(elmt.href)) {
if (checkOnly) return true;
availableItems[elmt.href] = elmt.textContent.trim();
found = true;
}
}
return found ? availableItems : false;
}
function doWeb(doc, url) {
if (detectWeb(doc, url) == 'multiple') {
Zotero.selectItems(getSearchResults(doc), function (items) {
if (!items) return;
var links = [];
for (var i in items) links.push(i);
Zotero.Utilities.processDocuments(links, scrape);
});
}
else {
scrape(doc, url);
}
}
function addLink(doc, item) {
item.attachments.push({ title: "Amazon.com Link", snapshot: false, mimeType: "text/html", url: doc.location.href });
}
var CREATOR = {
Actor: "castMember",
Director: "director",
Producer: "producer",
Writer: "scriptwriter",
Translator: "translator",
Author: "author",
Illustrator: "contributor",
Editor: "editor"
};
var DATE = [
"original release date",
"dvd Release Date",
"erscheinungstermin",
"date de sortie du dvd",
"release date"
];
// localization
var i15dFields = {
ISBN: ['ISBN-13', 'ISBN-10', 'ISBN', '条形码'],
Publisher: ['Publisher', 'Verlag', 'Herausgeber', '出版社'],
Hardcover: ['Hardcover', 'Gebundene Ausgabe', '精装', 'ハードカバー', 'Relié', 'Copertina rigida', 'Tapa dura'],
Paperback: ['Paperback', 'Taschenbuch', '平装', 'ペーパーバック', 'Broché', 'Copertina flessibile', 'Tapa blanda'],
'Print Length': ['Print Length', 'Seitenzahl der Print-Ausgabe', '紙の本の長さ', "Nombre de pages de l'édition imprimée", "Longueur d'impression", 'Poche', 'Broché', 'Lunghezza stampa', 'Longitud de impresión', 'Número de páginas'], // TODO: Chinese label
Language: ['Language', 'Sprache', '语种', '言語', 'Langue', 'Lingua', 'Idioma'],
Author: ['Author', '著', '作者'],
Actor: ['Actors', 'Actor', 'Darsteller', 'Acteurs', 'Attori', 'Attore', 'Actores', '出演'],
Director: ['Directors', 'Director', 'Regisseur', 'Regisseur(e)', 'Réalisateurs', 'Regista', 'Directores', '監督'],
Producer: ['Producers', 'Producer'],
'Run Time': ['Run Time', 'Spieldauer', 'Durée', 'Durata', 'Duración', '時間'],
Studio: ['Studio', 'Estudio', '販売元'],
'Audio CD': ['Audio CD', 'CD', 'CD de audio'],
Label: ['Label', 'Etichetta', 'Étiquette', 'Sello', '发行公司', 'レーベル'],
'Total Length': ['Total Length', 'Gesamtlänge', 'Durée totale', 'Lunghezza totale', 'Duración total', '収録時間'],
Translator: ["Translator", "Übersetzer", "Traduttore", "Traductor", "翻訳"],
Illustrator: ["Illustrator", "Illustratore", "Ilustrador", "イラスト"],
Writer: ['Writers'],
Editor: ['Editor', 'Editora', 'Editeur', 'Éditeur', 'Editore']
};
function getField(info, field) {
// returns the value for the key 'field' or any of its
// corresponding (language specific) keys of the array 'info'
if (!i15dFields[field]) return false;
for (var i = 0; i < i15dFields[field].length; i++) {
let possibleField = i15dFields[field][i].toLowerCase();
if (info[possibleField] !== undefined) {
return info[possibleField];
}
}
return false;
}
function translateField(str) {
for (var f in i15dFields) {
if (i15dFields[f].includes(str)) {
return f;
}
}
return false;
}
function scrape(doc, url) {
var isAsian = url.search(/^https?:\/\/[^/]+\.(?:jp|cn)[:/]/) != -1;
// Scrape HTML for items without ISBNs, because Amazon doesn't provide an easy way for
// open source projects like us to use their API
Z.debug("Scraping from Page");
var item = new Zotero.Item(detectWeb(doc, url) || "book");
var title = doc.getElementById('btAsinTitle')
|| doc.getElementById('title_row')
|| doc.getElementById('productTitle')
|| doc.getElementById('ebooksProductTitle')
|| doc.getElementById('title_feature_div')
|| doc.getElementById('dmusicProductTitle_feature_div');
// get first non-empty text node (other text nodes are things like [Paperback] and dates)
item.title = ZU.trimInternal(
ZU.xpathText(title, '(.//text()[normalize-space(self::text())])[1]')
)
// though sometimes [Paperback] or [DVD] is mushed with the title...
.replace(/(?: [([].+[)\]])+$/, "");
var baseNode = title.parentElement, bncl;
// Z.debug(baseNode)
while (baseNode && (bncl = baseNode.classList)
&& !(// ways to identify a node encompasing title and authors
baseNode.id == 'booksTitle'
|| baseNode.id == 'ppd-center'
|| baseNode.id == 'title_feature_div'
|| bncl.contains('buying')
|| bncl.contains('content')
|| bncl.contains('DigitalMusicInfoColumn')
|| (baseNode.id == 'centerCol' && baseNode.firstElementChild.id.indexOf('title') == 0)
)
) {
baseNode = baseNode.parentElement;
}
var authors, name, role, invertName;
if (baseNode) {
authors = ZU.xpath(baseNode, './/span[@id="artistBlurb"]/a');
// if (!authors.length) authors = baseNode.getElementsByClassName('contributorNameID');
if (!authors.length) authors = ZU.xpath(baseNode, '(.//*[@id="byline"]/span[contains(@class, "author")] | .//*[@id="byline"]/span[contains(@class, "author")]/span)/a[contains(@class, "a-link-normal")][1]');
if (!authors.length) authors = ZU.xpath(baseNode, './/span[@class="contributorNameTrigger"]/a[not(@href="#")]');
if (!authors.length) authors = ZU.xpath(baseNode, './/span[contains(@class, "author")]/a|.//span[contains(@class, "author")]/span/a');
if (!authors.length) authors = ZU.xpath(baseNode, './/a[following-sibling::*[1][@class="byLinePipe"]]');
if (!authors.length) authors = ZU.xpath(baseNode, './/a[contains(@href, "field-author=")]');
if (!authors.length) authors = ZU.xpath(baseNode, './/a[@id="ProductInfoArtistLink"]');
if (!authors.length) authors = ZU.xpath(baseNode, './/a[@id="ProductInfoArtistLink"]');
for (let i = 0; i < authors.length; i++) {
role = ZU.xpathText(authors[i], '(.//following::text()[normalize-space(self::text())])[1]');
if (role) {
role = CREATOR[translateField(
role.replace(/^.*\(\s*|\s*\).*$/g, '')
.split(',')[0] // E.g. "Actor, Primary Contributor"
.trim()
)];
}
if (!role) role = 'author';
name = ZU.trimInternal(authors[i].textContent)
.replace(/\s*\([^)]+\)/, '');
if (item.itemType == 'audioRecording') {
item.creators.push({
lastName: name,
creatorType: 'performer',
fieldMode: 1
});
}
else {
invertName = isAsian && !(/[A-Za-z]/.test(name));
if (invertName) {
// Use last character as given name if there is no space
if (!name.includes(' ')) name = name.replace(/.$/, ' $&');
name = name.replace(/\s+/, ', '); // Surname comes first
}
item.creators.push(ZU.cleanAuthor(name, role, name.includes(',')));
}
}
}
// can't find the baseNode on some pages, e.g. https://www.amazon.com/First-Quarto-Hamlet-Cambridge-Shakespeare-dp-0521418194/dp/0521418194/ref=mt_hardcover?_encoding=UTF8&me=&qid=
if (!item.creators.length) {
// subtle differences in the author block, so duplicating some code here
authors = ZU.xpath(doc, '//div[@id="bylineInfo"]/span[contains(@class, "author")]');
for (let i = 0; i < authors.length; i++) {
role = ZU.xpathText(authors[i], './/span[@class="contribution"]');
if (role) {
role = CREATOR[translateField(
role.trim().replace(/^.*\(\s*|\s*\).*$/g, '')
.split(',')[0] // E.g. "Actor, Primary Contributor"
.trim()
)];
}
if (!role) role = 'author';
name = ZU.trimInternal(ZU.xpathText(authors[i], './span/a[contains(@class, "a-link-normal")]|./a[contains(@class, "a-link-normal")]'))
.replace(/\s*\([^)]+\)/, '').replace(/,\s*$/, '');
if (item.itemType == 'audioRecording') {
item.creators.push({
lastName: name,
creatorType: 'performer',
fieldMode: 1
});
}
else {
invertName = isAsian && !(/[A-Za-z]/.test(name));
if (invertName) {
// Use last character as given name if there is no space
if (!name.includes(' ')) name = name.replace(/.$/, ' $&');
name = name.replace(/\s+/, ', '); // Surname comes first
}
item.creators.push(ZU.cleanAuthor(name, role, name.includes(',')));
}
}
}
// Abstract
var abstractNode = doc.getElementById('postBodyPS');
if (abstractNode) {
item.abstractNote = abstractNode.textContent.trim();
if (!item.abstractNote) {
var iframe = abstractNode.getElementsByTagName('iframe')[0];
if (iframe) {
abstractNode = iframe.contentWindow.document.getElementById('iframeContent');
item.abstractNote = abstractNode.textContent.trim();
}
}
} else {
item.abstractNote = text(doc, '#bookDescription_feature_div .a-expander-content');
}
// Extract info into an array
var info = {},
els = ZU.xpath(doc, '//div[@class="content"]/ul/li[b]');
if (els.length) {
for (let i = 0; i < els.length; i++) {
let el = els[i],
key = ZU.xpathText(el, 'b[1]').trim();
if (key) {
info[key.replace(/\s*:$/, "").toLowerCase()] = el.textContent.substr(key.length + 1).trim();
}
}
}
if (!els.length) {
// New design encountered 08/31/2020
els = doc.querySelectorAll('ul.detail-bullet-list li');
if (!els.length) {
// New design encountered 2022-11-20
els = doc.querySelectorAll('#detailBullets_feature_div ul > li span');
}
for (let el of els) {
let key = text(el, '.a-list-item span:first-child');
let value = text(el, '.a-list-item span:nth-child(2)');
if (key && value) {
key = key.replace(/\s*:\s*$/, "");
// Extra colon in Language field as of 9/4/2020
key = key.replace(/\s*:$/, '');
// The colon is surrounded by RTL/LTR marks as of 6/24/2021
key = key.replace(/[\s\u200e\u200f]*:[\s\u200e\u200f]*$/, '');
info[key.toLowerCase()] = value.trim();
}
}
}
if (!els.length) {
// New design encountered 06/30/2013
els = ZU.xpath(doc, '//tr[td[@class="a-span3"]][td[@class="a-span9"]]');
for (let i = 0; i < els.length; i++) {
let el = els[i],
key = ZU.xpathText(el, 'td[@class="a-span3"]'),
value = ZU.xpathText(el, 'td[@class="a-span9"]');
if (key && value) {
info[key.trim().toLowerCase()] = value.trim();
}
}
}
item.ISBN = getField(info, 'ISBN');
if (item.ISBN) {
item.ISBN = ZU.cleanISBN(item.ISBN);
}
// Date
for (let i = 0; i < DATE.length; i++) {
item.date = info[DATE[i]];
if (item.date) break;
}
if (!item.date) {
for (let i in info) {
let m = /\(([^)]+ [0-9]{4})\)/.exec(info[i]);
if (m) item.date = m[1];
}
}
// Books
var publisher = getField(info, 'Publisher') || getField(info, 'Editor');
if (publisher) {
var m = /([^;(]+)(?:;? *([^(]*))?(?:\(([^)]*)\))?/.exec(publisher);
item.publisher = m[1].trim();
if (m[2]) {
item.edition = m[2].trim()
.replace(/^(Auflage|Édition)\s?:/, '')
// "FISCHER Taschenbuch; 15. Auflage (1. Mai 1992)""
.replace(/\. (Auflage|[EÉ]dition)\s*/, '');
}
// Looks like a date
if (m[3] && m[3].search(/\b\d{4}\b/) != -1) item.date = ZU.strToISO(m[3].trim());
}
var pages = getField(info, 'Hardcover') || getField(info, 'Paperback') || getField(info, 'Print Length');
if (pages) item.numPages = parseInt(pages);
item.language = getField(info, 'Language');
// add publication place from ISBN translator, see at the end
// Video
if (item.itemType == 'videoRecording') {
// This seems to only be worth it for videos
var clearedCreators = false;
for (var i in CREATOR) {
if (getField(info, i)) {
if (!clearedCreators) {
item.creators = [];
clearedCreators = true;
}
var creators = getField(info, i).split(/ *, */);
for (var j = 0; j < creators.length; j++) {
item.creators.push(ZU.cleanAuthor(creators[j], CREATOR[i]));
}
}
}
}
item.studio = getField(info, 'Studio');
item.runningTime = getField(info, 'Run Time');
if (!item.runningTime) item.runningTime = getField(info, 'Total Length');
item.language = getField(info, 'Language');
// Music
item.label = getField(info, 'Label');
var department = ZU.xpathText(doc, '//li[contains(@class, "nav-category-button")]/a');
if (getField(info, 'Audio CD')) {
item.audioRecordingFormat = "Audio CD";
}
else if (department && department.trim() == "Amazon MP3 Store") {
item.audioRecordingFormat = "MP3";
}
addLink(doc, item);
// we search for translators for a given ISBN
// and try to figure out the missing publication place
if (item.ISBN && !item.place) {
Z.debug("Searching for additional metadata by ISBN: " + item.ISBN);
var search = Zotero.loadTranslator("search");
search.setHandler("translators", function (obj, translators) {
search.setTranslator(translators);
search.setHandler("itemDone", function (obj, lookupItem) {
Z.debug(lookupItem.libraryCatalog);
if (lookupItem.place) {
// e.g. [Paris]
item.place = lookupItem.place.replace("[", "").replace("]", "");
}
if (!item.date && lookupItem.date) {
item.date = lookupItem.date;
}
});
search.translate();
});
search.setHandler("error", function (error) {
// we mostly need this handler to prevent the default one from kicking in
Z.debug("ISBN search for " + item.ISBN + " failed: " + error);
});
search.setHandler("done", function () {
item.complete();
});
search.setSearch({ ISBN: item.ISBN });
search.getTranslators();
}
else {
item.complete();
}
}
/** BEGIN TEST CASES **/
var testCases = [
{
"type": "web",
"url": "https://www.amazon.com/Test-William-Sleator/dp/0810989891/ref=sr_1_1?ie=UTF8&qid=1308010556&sr=8-1",
"items": [
{
"itemType": "book",
"title": "Test",
"creators": [
{
"firstName": "William",
"lastName": "Sleator",
"creatorType": "author"
}
],
"date": "2010-04-01",
"ISBN": "9780810989894",
"abstractNote": "Now in paperback! Pass, and have it made. Fail, and suffer the consequences. A master of teen thrillers tests readers’ courage in an edge-of-your-seat novel that echoes the fears of exam-takers everywhere. Ann, a teenage girl living in the security-obsessed, elitist United States of the very near future, is threatened on her way home from school by a mysterious man on a black motorcycle. Soon she and a new friend are caught up in a vast conspiracy of greed involving the mega-wealthy owner of a school testing company. Students who pass his test have it made; those who don’t, disappear . . . or worse. Will Ann be next? For all those who suspect standardized tests are an evil conspiracy, here’s a thriller that really satisfies! Praise for Test “Fast-paced with short chapters that end in cliff-hangers . . . good read for moderately reluctant readers. Teens will be able to draw comparisons to contemporary society’s shift toward standardized testing and ecological concerns, and are sure to appreciate the spoofs on NCLB.” ―School Library Journal “Part mystery, part action thriller, part romance . . . environmental and political overtones . . . fast pace and unique blend of genres holds attraction for younger teen readers.” ―Booklist",
"edition": "Reprint edition",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 320,
"publisher": "Amulet Paperbacks",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.com/s?k=foot&i=stripbooks&x=0&y=0&ref=nb_sb_noss",
"items": "multiple"
},
{
"type": "web",
"url": "https://www.amazon.com/Loveless-My-Bloody-Valentine/dp/B000002LRJ/ref=ntt_mus_ep_dpi_1",
"items": [
{
"itemType": "audioRecording",
"title": "Loveless",
"creators": [
{
"lastName": "My Bloody Valentine",
"creatorType": "performer",
"fieldMode": 1
}
],
"date": "1991",
"label": "Sire",
"language": "English",
"libraryCatalog": "Amazon",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.com/s?k=The+Harvard+Concise+Dictionary+of+Music+and+Musicians&Go=o",
"items": "multiple"
},
{
"type": "web",
"url": "https://www.amazon.com/Adaptation-Superbit-Collection-Nicholas-Cage/dp/B00005JLRE/ref=sr_1_1?ie=UTF8&qid=1309683150&sr=8-1",
"items": [
{
"itemType": "videoRecording",
"title": "Adaptation",
"creators": [
{
"firstName": "Nicolas",
"lastName": "Cage",
"creatorType": "castMember"
},
{
"firstName": "Tilda",
"lastName": "Swinton",
"creatorType": "castMember"
},
{
"firstName": "Meryl",
"lastName": "Streep",
"creatorType": "castMember"
},
{
"firstName": "Chris",
"lastName": "Cooper",
"creatorType": "castMember"
},
{
"firstName": "Maggie",
"lastName": "Gyllenhaal",
"creatorType": "castMember"
},
{
"firstName": "Spike",
"lastName": "Jonze",
"creatorType": "director"
},
{
"firstName": "Vincent",
"lastName": "Landay",
"creatorType": "producer"
},
{
"firstName": "Jonathan",
"lastName": "Demme",
"creatorType": "producer"
},
{
"firstName": "Ed",
"lastName": "Saxon",
"creatorType": "producer"
}
],
"date": "May 20, 2003",
"language": "English (Dolby Digital 2.0 Surround), English (Dolby Digital 5.1), English (DTS 5.1), French (Dolby Digital 5.1), Unqualified (DTS ES 6.1)",
"libraryCatalog": "Amazon",
"runningTime": "1 hour and 55 minutes",
"studio": "Sony Pictures Home Entertainment",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.fr/Candide-Fran%C3%A7ois-Marie-Voltaire-Arouet-dit/dp/2035866014/ref=sr_1_2?s=books&ie=UTF8&qid=1362329827&sr=1-2",
"items": [
{
"itemType": "book",
"title": "Candide",
"creators": [
{
"firstName": "",
"lastName": "Voltaire",
"creatorType": "author"
}
],
"date": "2011",
"ISBN": "9782035866011",
"abstractNote": "Que signifie ce nom \"Candide\" : innocence de celui qui ne connaît pas le mal ou illusion du naïf qui n'a pas fait l'expérience du monde ? Voltaire joue en 1759, après le tremblement de terre de Lisbonne, sur ce double sens. Il nous fait partager les épreuves fictives d'un jeune homme simple, confronté aux leurres de l'optimisme, mais qui n'entend pas désespérer et qui en vient à une sagesse finale, mesurée et mystérieuse. Candide n'en a pas fini de nous inviter au gai savoir et à la réflexion.",
"edition": "Larousse édition",
"language": "Français",
"libraryCatalog": "Amazon",
"numPages": 176,
"publisher": "Larousse",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.de/Fiktionen-Erz%C3%A4hlungen-Jorge-Luis-Borges/dp/3596105811/ref=sr_1_1?ie=UTF8&qid=1362329791&sr=8-1&lang=de-de&language=de_DE",
"items": [
{
"itemType": "book",
"title": "Fiktionen: Erzählungen 1939 - 1944",
"creators": [
{
"firstName": "Jorge Luis",
"lastName": "Borges",
"creatorType": "author"
}
],
"date": "1992",
"ISBN": "9783596105816",
"abstractNote": "Gleich bei seinem Erscheinen in den 40er Jahren löste Jorge Luis Borges’ erster Erzählband »Fiktionen« eine literarische Revolution aus. Erfundene Biographien, fiktive Bücher, irreale Zeitläufe und künstliche Realitäten verflocht Borges zu einem geheimnisvollen Labyrinth, das den Leser mit seinen Rätseln stets auf neue herausfordert. Zugleich begründete er mit seinen berühmten Erzählungen wie»›Die Bibliothek zu Babel«, «Die kreisförmigen Ruinen« oder»›Der Süden« den modernen »Magischen Realismus«.\n\n»Obwohl sie sich im Stil derart unterscheiden, zeigen zwei Autoren uns ein Bild des nächsten Jahrtausends: Joyce und Borges.« Umberto Eco",
"edition": "16",
"language": "Deutsch",
"libraryCatalog": "Amazon",
"numPages": 192,
"place": "Frankfurt am Main",
"publisher": "FISCHER Taschenbuch",
"shortTitle": "Fiktionen",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.co.uk/Tale-Two-Cities-ebook/dp/B004EHZXVQ/ref=sr_1_1?s=books&ie=UTF8&qid=1362329884&sr=1-1",
"items": [
{
"itemType": "book",
"title": "A Tale of Two Cities",
"creators": [
{
"firstName": "Charles",
"lastName": "Dickens",
"creatorType": "author"
}
],
"date": "2010-12-01",
"abstractNote": "Novel by Charles Dickens, published both serially and in book form in 1859. The story is set in the late 18th century against the background of the French Revolution. Although Dickens borrowed from Thomas Carlyle's history, The French Revolution, for his sprawling tale of London and revolutionary Paris, the novel offers more drama than accuracy. The scenes of large-scale mob violence are especially vivid, if superficial in historical understanding. The complex plot involves Sydney Carton's sacrifice of his own life on behalf of his friends Charles Darnay and Lucie Manette. While political events drive the story, Dickens takes a decidedly antipolitical tone, lambasting both aristocratic tyranny and revolutionary excess--the latter memorably caricatured in Madame Defarge, who knits beside the guillotine. The book is perhaps best known for its opening lines, \"It was the best of times, it was the worst of times,\" and for Carton's last speech, in which he says of his replacing Darnay in a prison cell, \"It is a far, far better thing that I do, than I have ever done; it is a far, far better rest that I go to, than I have ever known.\" -- The Merriam-Webster Encyclopedia of Literature",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 290,
"publisher": "Public Domain Books",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.it/Emil-Astrid-Lindgren/dp/888203867X/ref=sr_1_1?s=books&ie=UTF8&qid=1362324961&sr=1-1",
"items": [
{
"itemType": "book",
"title": "Emil. Ediz. illustrata",
"creators": [
{
"firstName": "Astrid",
"lastName": "Lindgren",
"creatorType": "author"
},
{
"firstName": "Björn",
"lastName": "Berg",
"creatorType": "contributor"
},
{
"firstName": "Annuska Palme Larussa",
"lastName": "Sanavio",
"creatorType": "translator"
}
],
"date": "2008",
"ISBN": "9788882038670",
"abstractNote": "Si pensa che soprattutto in una casa moderna, con prese elettriche, gas, balconi altissimi un bambino possa mettersi in pericolo: Emil vive in una tranquilla casa di campagna, ma riesce a ficcare la testa in una zuppiera e a rimanervi incastrato, a issare la sorellina Ida in cima all'asta di una bandiera, e a fare una tale baldoria alla fiera del paese che i contadini decideranno di organizzare una colletta per spedirlo in America e liberare così la sua povera famiglia. Ma questo succederà nel prossimo libro di Emil, perché ce ne sarà un altro, anzi due, tante sono le sue monellerie. Età di lettura: da 7 anni.",
"edition": "3° edizione",
"language": "Italiano",
"libraryCatalog": "Amazon",
"numPages": 72,
"publisher": "Nord-Sud",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.co.uk/Walt-Disney-Pixar-Up-DVD/dp/B0029Z9UQ4/ref=sr_1_1?s=dvd&ie=UTF8&qid=1395560537&sr=1-1&keywords=up",
"items": [
{
"itemType": "videoRecording",
"title": "Up",
"creators": [
{
"firstName": "Ed",
"lastName": "Asner",
"creatorType": "castMember"
},
{
"firstName": "Christopher",
"lastName": "Plummer",
"creatorType": "castMember"
},
{
"firstName": "Jordan",
"lastName": "Nagai",
"creatorType": "castMember"
},
{
"firstName": "Pete",
"lastName": "Docter",
"creatorType": "director"
},
{
"firstName": "Bob",
"lastName": "Peterson",
"creatorType": "director"
}
],
"date": "15 Feb. 2010",
"language": "English, Hindi",
"libraryCatalog": "Amazon",
"runningTime": "1 hour and 33 minutes",
"studio": "Walt Disney Studios Home Entertainment",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.de/gp/product/B00GKBYC3E?ie=UTF8&*Version*=1&*entries*=0",
"items": [
{
"itemType": "audioRecording",
"title": "Die Eiskönigin Völlig Unverfroren",
"creators": [
{
"lastName": "Various artists",
"creatorType": "performer",
"fieldMode": 1
}
],
"libraryCatalog": "Amazon",
"runningTime": "1:09:16",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.co.jp/gp/product/0099578077/",
"items": [
{
"itemType": "book",
"title": "1Q84: Books 1, 2 and 3",
"creators": [
{
"firstName": "Haruki",
"lastName": "Murakami",
"creatorType": "author"
}
],
"date": "2012-08-02",
"ISBN": "9780099578079",
"abstractNote": "The year is 1Q84. This is the real world, there is no doubt about that. But in this world, there are two moons in the sky. In this world, the fates of two people, Tengo and Aomame, are closely intertwined. They are each, in their own way, doing something very dangerous. And in this world, there seems no way to save them both. Something extraordinary is starting.",
"edition": "Combined edition",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 1328,
"publisher": "Vintage",
"shortTitle": "1Q84",
"place": "London",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.com/Mark-LeBar/e/B00BU8L2DK",
"items": "multiple"
},
{
"type": "web",
"url": "https://www.amazon.com/First-Quarto-Hamlet-Cambridge-Shakespeare-dp-0521418194/dp/0521418194/ref=mt_hardcover?_encoding=UTF8&me=&qid=",
"items": [
{
"itemType": "book",
"title": "The First Quarto of Hamlet",
"creators": [
{
"firstName": "William",
"lastName": "Shakespeare",
"creatorType": "author"
},
{
"firstName": "Kathleen O.",
"lastName": "Irace",
"creatorType": "editor"
}
],
"date": "1998-04-28",
"ISBN": "9780521418195",
"abstractNote": "The first printed text of Shakespeare's Hamlet is about half the length of the more familiar second quarto and Folio versions. It reorders and combines key plot elements to present its own workable alternatives. This is the only modernized critical edition of the 1603 quarto in print. Kathleen Irace explains its possible origins, special features and surprisingly rich performance history, and while describing textual differences between it and other versions, offers alternatives that actors or directors might choose for specific productions.",
"edition": "First Edition",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 144,
"place": "New York",
"publisher": "Cambridge University Press",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.co.jp/dp/4003314212",
"items": [
{
"itemType": "book",
"title": "日本イデオロギー論",
"creators": [
{
"firstName": "潤",
"lastName": "戸坂",
"creatorType": "author"
}
],
"date": "1977-09-16",
"ISBN": "9784003314210",
"language": "Japanese",
"libraryCatalog": "Amazon",
"publisher": "岩波書店",
"abstractNote": "帯ありません。若干のスレはありますがほぼ普通です。小口、天辺に少しヤケがあります。中身は少しヤケはありますがきれいです。",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.com/Studies-Saiva-Siddhanta-Classic-Reprint-Nallasvami/dp/1333821387/ref=sr_1_1?keywords=saiva+siddhanta&s=gateway",
"items": [
{
"itemType": "book",
"title": "Studies in Saiva-Siddhanta",
"creators": [
{
"firstName": "J. M. Nallasvami",
"lastName": "Pillai",
"creatorType": "author"
}
],
"date": "2018-08-24",
"ISBN": "9781333821388",
"abstractNote": "Excerpt from Studies in Saiva-SiddhantaEuropean Sanskritist, unaware perhaps of the bearings of the expression, rendered the collocation Parama-hamsa' into 'great goose'. The strictly pedagogic purist may endeavour to justify such puerile versions on etymological grounds, but they stand Self-condemned as mal-interpretations re?ecting anything but the sense and soul of the original. Such lapses into unwitting ignorance, need never be expected in any of the essays contained in the present collection, as our author is not only a sturdy and indefatigable researcher in Tamil philosophic literature illuminative Of the Agamic religion, but has also, in his quest after Truth, freely utilised the services of those Indigenous savam's, who represent the highest water-mark of Hindu traditional learning and spiritual associations at the present-day.",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 396,
"publisher": "Forgotten Books",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",