-
Notifications
You must be signed in to change notification settings - Fork 1
/
Amazon.js
1014 lines (974 loc) · 34.1 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": "gcsbv",
"lastUpdated": "2016-09-03 10:43:32"
}
function detectWeb(doc, url) {
if(getSearchResults(doc, true)) {
return (Zotero.isBookmarklet ? "server" : "multiple");
} else {
var xpath = '//input[contains(@name, "ASIN")]';
if(doc.evaluate(xpath, doc, null, XPathResult.ANY_TYPE, null).iterateNext()) {
if(Zotero.isBookmarklet) return "server";
var elmt = doc.evaluate('//input[@name="storeID"]', doc, null, XPathResult.ANY_TYPE, null).iterateNext();
if(elmt) {
var storeID = elmt.value;
//Z.debug(storeID);
if (storeID=="music"|storeID=="dmusic"){
return "audioRecording";
} else if (storeID=="dvd"|storeID=="dvd-de"|storeID=="video"|storeID=="movies-tv"){
return "videoRecording";
} else if (storeID=="videogames"|storeID=="mobile-apps") {
return "computerProgram";
} else {
return "book";
}
} else {
return "book";
}
}
}
}
function getSearchResults(doc, checkOnly) {
//search results
var links = [],
container = doc.getElementById('searchTemplate');
if (container) {
links = container.getElementsByClassName('s-access-detail-page');
if (!links.length) {
links = ZU.xpath(container, './/div[contains(@class,"results")]/div[starts-with(@id,"result_")]//h3/a');
}
}
if(!links.length) {
//wish lists
container = doc.getElementById('item-page-wrapper');
if(container) {
links = ZU.xpath(container, './/a[starts-with(@id, "itemName_")]');
}
}
if(!links.length) {
//author pages
container = doc.getElementById('mainResults');
if(container) {
links = ZU.xpath(container, './/li[starts-with(@id, "result_")]//a[h2]');
}
}
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 true;
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"
];
//localization
var i15dFields = {
'ISBN' : ['ISBN-13', 'ISBN-10', 'ISBN', '条形码'],
'Publisher': ['Publisher', 'Verlag', '出版社'],
'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;
for(var i=0; i<i15dFields[field].length; i++) {
if(info[i15dFields[field][i]] !== undefined) return info[i15dFields[field][i]];
}
}
function translateField(str) {
for(var f in i15dFields) {
if(i15dFields[f].indexOf(str) != -1) {
return f;
}
}
}
function get_nextsibling(n) {
//returns next sibling of n, or if it was the last one
//returns next sibling of its parent node, or... --> while(x == null)
//accepts only element nodes (type 1) or nonempty textnode (type 3)
//and skips everything else
var x=n.nextSibling;
while (x == null || (x.nodeType != 1 && (x.nodeType != 3 || x.textContent.match(/^\s*$/) ))) {
if (x==null) {
x = get_nextsibling(n.parentNode);
} else {
x=x.nextSibling;
}
}
return x;
}
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');
// 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;
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;
}
if(baseNode) {
var 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, './/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(var i=0; i<authors.length; i++) {
var 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';
var name = ZU.trimInternal(authors[i].textContent)
.replace(/\s*\([^)]+\)/, '');
if(item.itemType == 'audioRecording') {
item.creators.push({
lastName: name,
creatorType: 'performer',
fieldMode: 1
});
} else {
var invertName = isAsian && !(/[A-Za-z]/.test(name));
if (invertName) {
// Use last character as given name if there is no space
if (name.indexOf(' ') == -1) name = name.replace(/.$/, ' $&');
name = name.replace(/\s+/, ', '); // Surname comes first
}
item.creators.push(ZU.cleanAuthor(name, role, invertName));
}
}
}
//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();
}
}
}
// Extract info into an array
var info = {},
els = ZU.xpath(doc, '//div[@class="content"]/ul/li[b]');
if(els.length) {
for(var i=0; i<els.length; i++) {
var el = els[i],
key = ZU.xpathText(el, 'b[1]').trim()
if(key) {
info[key.replace(/\s*:$/, "")] = el.textContent.substr(key.length+1).trim();
}
}
} else {
// New design encountered 06/30/2013
els = ZU.xpath(doc, '//tr[td[@class="a-span3"]][td[@class="a-span9"]]');
for(var i=0; i<els.length; i++) {
var 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()] = value.trim();
}
}
item.ISBN = getField(info, 'ISBN');
if (item.ISBN) {
item.ISBN = ZU.cleanISBN(item.ISBN);
}
// Date
for(var i=0; i<DATE.length; i++) {
item.date = info[DATE[i]];
if(item.date) break;
}
if(!item.date) {
for(var i in info) {
var 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?:/, '');
if(m[3] && m[3].search(/\b\d{4}\b/) != -1) item.date = m[3].trim(); // Looks like a date
}
var pages = getField(info, 'Hardcover') || getField(info, 'Paperback') || getField(info, 'Print Length');
if(pages) item.numPages = parseInt(pages, 10);
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": "April 1, 2010",
"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,
"place": "New York",
"publisher": "Harry N. Abrams",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords=foot&x=0&y=0",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.amazon.com/Loveless-My-Bloody-Valentine/dp/B000002LRJ/ref=ntt_mus_ep_dpi_1",
"items": [
{
"itemType": "audioRecording",
"title": "Loveless",
"creators": [],
"date": "November 5, 1991",
"audioRecordingFormat": "Audio CD",
"label": "Sire / London/Rhino",
"libraryCatalog": "Amazon",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/s?ie=UTF8&keywords=The%20Harvard%20Concise%20Dictionary%20of%20Music%20and%20Musicians&index=blended&Go=o",
"items": "multiple"
},
{
"type": "web",
"url": "http://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": "Maggie",
"lastName": "Gyllenhaal",
"creatorType": "castMember"
},
{
"firstName": "Nicolas",
"lastName": "Cage",
"creatorType": "castMember"
},
{
"firstName": "Meryl",
"lastName": "Streep",
"creatorType": "castMember"
},
{
"firstName": "Tilda",
"lastName": "Swinton",
"creatorType": "castMember"
},
{
"firstName": "Chris",
"lastName": "Cooper",
"creatorType": "castMember"
},
{
"firstName": "Spike",
"lastName": "Jonze",
"creatorType": "director"
},
{
"firstName": "Ed",
"lastName": "Saxon",
"creatorType": "producer"
},
{
"firstName": "Jonathan",
"lastName": "Demme",
"creatorType": "producer"
},
{
"firstName": "Vincent",
"lastName": "Landay",
"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)",
"libraryCatalog": "Amazon",
"runningTime": "115 minutes",
"studio": "Sony Pictures Home Entertainment",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/gp/registry/registry.html?ie=UTF8&id=1Q7ELHV59D7N&type=wishlist",
"items": "multiple"
},
{
"type": "web",
"url": "http://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": "François-Marie",
"lastName": "Voltaire",
"creatorType": "author"
}
],
"date": "17 août 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",
"language": "Français",
"libraryCatalog": "Amazon",
"numPages": 176,
"place": "Paris",
"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",
"items": [
{
"itemType": "book",
"title": "Fiktionen: Erzählungen 1939 - 1944",
"creators": [
{
"firstName": "Jorge Luis",
"lastName": "Borges",
"creatorType": "author"
}
],
"date": "1. Mai 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«. »Obwohl sie sich im Stil derart unterscheiden, zeigen zwei Autoren uns ein Bild des nächsten Jahrtausends: Joyce und Borges.« Umberto Eco",
"edition": "13",
"language": "Deutsch",
"libraryCatalog": "Amazon",
"numPages": 192,
"place": "Frankfurt a.M",
"publisher": "FISCHER Taschenbuch",
"shortTitle": "Fiktionen",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://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": "1 Dec. 2010",
"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": 477,
"publisher": "Public Domain Books",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://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",
"creators": [
{
"firstName": "Astrid",
"lastName": "Lindgren",
"creatorType": "author"
},
{
"firstName": "B.",
"lastName": "Berg",
"creatorType": "contributor"
},
{
"firstName": "A. Palme",
"lastName": "Sanavio",
"creatorType": "translator"
}
],
"date": "26 giugno 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,
"place": "Milano",
"publisher": "Nord-Sud",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.amazon.cn/%E5%9B%BE%E4%B9%A6/dp/B007CUSP3A",
"items": [
{
"itemType": "book",
"title": "汉语语音合成:原理和技术",
"creators": [
{
"firstName": "楠",
"lastName": "吕士",
"creatorType": "author"
},
{
"firstName": "敏",
"lastName": "初",
"creatorType": "author"
},
{
"firstName": "萍",
"lastName": "许洁",
"creatorType": "author"
},
{
"firstName": "琳",
"lastName": "贺",
"creatorType": "author"
}
],
"date": "2012年1月1日",
"ISBN": "9787030329202",
"abstractNote": "《汉语语音合成:原理和技术》介绍语音合成的原理和针对汉语的各项合成技术,以及应用的范例。全书分基础篇和专题篇两大部分。基础篇介绍语音合成技术的发展历程和作为语音合成技术基础的声学语音学知识,尤其是作者获得的相关研究成果(填补了汉语语音学知识中的某些空白),并对各种合成器的工作原理和基本结构进行系统的阐述。专题篇结合近十年来国内外技术发展的热点和方向,讨论韵律分析与建模、数据驱动的语音合成方法、语音合成数据库的构建技术、文语转换系统的评估方法、语音合成技术的应用等。 《汉语语音合成:原理和技术》面向从事语言声学、语音通信技术,特别是语音合成的科学工作者、工程技术人员、大学教师、研究生和高年级的大学生,可作为他们研究、开发、进修的参考书。",
"edition": "第1版",
"libraryCatalog": "Amazon",
"numPages": 373,
"place": "Beijing",
"publisher": "科学出版社",
"shortTitle": "汉语语音合成",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://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": "93 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:08:58",
"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/8/2",
"ISBN": "9780099578079",
"edition": "Combined volume版",
"language": "英語",
"libraryCatalog": "Amazon",
"numPages": 1328,
"place": "London",
"publisher": "Vintage",
"shortTitle": "1Q84",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/Mark-LeBar/e/B00BU8L2DK",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.amazon.com/About-Nothing-Shakespeares-Globe-Theatre/dp/B00AJER4EM/ref=sr_1_1/175-9708720-8034706?ie=UTF8&qid=1409188213&sr=8-1&keywords=globe+shakespeare",
"items": [
{
"itemType": "videoRecording",
"title": "Much Ado About Nothing",
"creators": [
{
"firstName": "Charles",
"lastName": "Edwards",
"creatorType": "castMember"
},
{
"firstName": "Eve",
"lastName": "Best",
"creatorType": "castMember"
},
{
"firstName": "Shakespeare's Globe",
"lastName": "Theatre",
"creatorType": "director"
}
],
"date": "February 26, 2013",
"language": "English",
"libraryCatalog": "Amazon",
"runningTime": "166 minutes",
"studio": "Kultur",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/First-Quarto-Hamlet-Cambridge-Shakespeare/dp/0521653908/",
"items": [
{
"itemType": "book",
"title": "The First Quarto of Hamlet",
"creators": [
{
"firstName": "William",
"lastName": "Shakespeare",
"creatorType": "author"
},
{
"firstName": "Kathleen O.",
"lastName": "Irace",
"creatorType": "editor"
}
],
"date": "April 13, 1999",
"ISBN": "9780521653909",
"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.",
"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": "http://www.amazon.co.jp/dp/4003314212",
"items": [
{
"itemType": "book",
"title": "日本イデオロギー論",
"creators": [
{
"firstName": "潤",
"lastName": "戸坂",
"creatorType": "author"
}
],
"date": "1977/9/16",
"ISBN": "9784003314210",
"language": "日本語",
"libraryCatalog": "Amazon",
"publisher": "岩波書店",
"attachments": [
{
"title": "Amazon.com Link",
"snapshot": false,
"mimeType": "text/html"
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.amazon.com/gp/product/B00TWK3NFS",
"items": [
{
"itemType": "book",
"title": "Key Performance Indicators: Developing, Implementing, and Using Winning KPIs",
"creators": [
{
"firstName": "David",
"lastName": "Parmenter",
"creatorType": "author"
}
],
"date": "April 3, 2015",
"abstractNote": "Streamline KPIs to craft a simpler, more effective system of performance measurement Key Performance Indicators provides an in-depth look at how KPIs can be most effectively used to assess and drive organizational performance. Now in its third edition, this bestselling guide provides a model for simplifying KPIs and avoiding the pitfalls ready to trap the unprepared organization. New information includes guidance toward defining critical success factors, project leader essentials, new tools including worksheets and questionnaires, and real-world case studies that illustrate the practical application of the strategies presented. The book includes a variety of templates, checklists, and performance measures to help streamline processes, and is fully supported by the author’s website to provide even more in-depth information. Key Performance Indicators are a set of measures that focus on the factors most critical to an organization’s success. Most companies have too many, rendering the strategy ineffective due to overwhelming complexity. Key Performance Indicators guides readers toward simplification, paring down to the most fundamental issues to better define and measure progress toward goals. Readers will learn to: separate out performance measures between those that can be tied to a team and result in a follow-up phone call (performance measures) and those that are a summation of a number of teams working together (result indicators) look for and eradicate those measures that have a damaging unintended consequence, a major darkside Sell a KPI project to the Board, the CEO, and the senior management team using best practice leading change techniques Develop and use KPIs effectively with a simple five stage model Ascertain essential performance measures, and develop a reporting strategy Learn the things that a KPI project leader needs to know A KPI project is a chance at a legacy – the project leader, facilitator, or coordinator savvy enough to craft a winning strategy can affect the organization for years to come. KPI projects entail some risk, but this book works to minimize that risk by arming stakeholders with the tools and information they need up front. Key Performance Indicators helps leaders shape a performance measurement initiative that works.",
"edition": "3 edition",
"language": "English",
"libraryCatalog": "Amazon",
"numPages": 412,
"publisher": "Wiley",
"shortTitle": "Key Performance Indicators",
"attachments": [