-
Notifications
You must be signed in to change notification settings - Fork 0
/
recommendation.html
93 lines (89 loc) · 16.8 KB
/
recommendation.html
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
<html>
<head>
<title>
Recommendation
</title>
</head>
<body>
<a href="home.html"><h1>Recommender System</h1></a>
<h1>We think you might like:
</h1>
<img id="cover">
<div>
<i id="t">Warriors</i>
</div>
<div>
Available
</div>
<div>
📖
</div>
<a href=""><button>Check Out</button></a>
<div> Liked <span id="likes">43</span> Disliked <span id="dislikes">11</span> </div>
<script>
function getParameterByName(name, url) {
if (!url) {
url = window.location.href;
}
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
var coverElement = document.getElementById('cover');
var bookTitleElement = document.getElementById('t');
var recs = {
"Harry Potter": "Lord of the Rings",
"Percy Jackson": "The 39 Clues",
"Hardy Boys": "Sherlock Holmes",
"Nancy Drew": "The Spiderwick Chronicles",
"Warriors": "The Martian",
"Diary of a Wimpy Kid": "Floors",
"Magic Tree House": "Wings Of Fire",
"Floors": "The War of the Worlds",
"Big Nate": "Harry Potter",
"Geronimo Stilton": "George's Keys to the Universe",
"Cam Janson": "Nancy Drew",
"Magic School Bus": "I Survived",
"Dork Diaries": "Smile"
};
var imgs = {
"Lord of the Rings": "https://images-na.ssl-images-amazon.com/images/I/41i-SJkyCQL._AC_US160_.jpg",
"Nancy Drew": "https://images-na.ssl-images-amazon.com/images/I/51IzlUX3-+L._AC_US160_.jpg",
"Sherlock Holmes": "https://images-na.ssl-images-amazon.com/images/I/51gNNdvz0uL._AC_US160_.jpg",
"The Spiderwick Chronicles": "https://images-na.ssl-images-amazon.com/images/I/515m4JB+K5L._PI_PJStripe-Prime-Only-500px,TopLeft,0,0_AC_US160_.jpg",
"The Martian": "data:image/webp;base64,UklGRkIRAABXRUJQVlA4IDYRAABwWQCdASq5ACwBPrFYo0skIyGmJHlI4MgWCc2rd+d7VXXAw+JQtLqgdDnaOM/bq5R8onxvM8En0VeYBz4fMv+2Pqqf6j9rvdn/ifSA9LL1K/3C9kL9tOtn/v2D4ekT14Lb9x9zT44nkXOVOd+Ud9b5/6Xr6L7An8y84HSUqH7oAsLPBGQC5Qi28JHtIZSpZNgwe109buwL2Nca1D3SLRGCvIqeu5KdC5SRcITK/MGPewvfqUF6hHYcwigwzBPQwWUFHlAmg40MZiEXFD+P8iECQL3SOn8JQPQIWvmVTxwgbVq5dv973U3UXvZo0y2CH8jdVRPx7wbCsY8jMvX5v+M+qctImwtlPLE9HFwDCBor7hiCNiVESVFaaowJNx3aVvcFnwhvCNUulg2d4GtTuMyYYmbW5o3rjpkWKhwAeoyvNNZ248I5XwS/3LB5MZJEW0YxDqD9n79Q+HQpFgXefrblbbE0dBuqnePlnU7G7Su0gKo0ySvrhmldoUJY+JBXyFNKwL5RJzQQJXJdRqa9GkvhhznElOFp+1ZxsEVpmF++7yA4wKQm2rUykj7FIwSkMaThGyylmBqzo8HvqefQMi0ZZU5SN/fM6Adr9kgid4AcOoIokj3/p8tvp/geCLI33H7/Xu3AQuOXWvHHvlw7wS+NkanKLbAQPiFOL88gxqF8CKu3Ced8/kKclNMxXKegvnv9NH9F0g+lxB6RuiJNqiz0BzyL/5PvlYHKnBEFfI4ov6q2BCnW+hdlyIDa0sBBYneoHyviOFMkETAVWewiFlySAJbI+08+aUiBH2N71AuaSKN7GWeS8pyefK3B+LYvicbYwaEKWtN1XYFQLT48pe54b60V7ni1aby1Ohth46PyWZapV1Yrrimf3KwKrUW6l2hDqBMPQnxINPdgonsxa1Bz5h8g5FHD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cbGwV7ibJ/wGFJNj09yeQeE9W9ASEFCuL4+HDyqmcqrKr8hO21ZY8df+G/FmXYLkUAiCO7jg9rBdINEX/MtF1YZ3dU5yp1S6jHnZzhCvEFtZOxUGV3+auzxAi84/eFL04E4TP+Jy2GIRzxfaBqoaN399F9ipS3x3pqUjaHGA0QT3xuhgy7f3aTUUoncbRAJ38H5+getA39SicY+ex2/NzIUO9uecBIBBLPknM11uAGU1KUy5W5AnGlUkCTSfWi3a2BGN1Rx8AjtHmbJnyczPTnJ8gVi2kCXQGi3IasV9OgpPcr71wElIoLHLpzJ006O4L2C4Ykb+oiMdDeLuBCn3i8ienuKHZGPJa+Nky4SWwLJNbn0ncWeiLvzn2ieII6JJNrE+z0vKfrGg8U2HddrS8cLggENTA01GAmontblYxcDzP+IvcXLQZKK+TsRp2NoTzrAmkLEnCcLCU3z9MAmdAXRomfvlNx257Bq56yK6/1kurty8iAnm+xR+LrdFTbABavGueSvGiL8JG1Blyy2xzWNanPCjLRutPpSvgvmDCP0uh/leTCLG/A+q9b3iSYuAyZY9fiZkcVWPsiSjY7QpFJtqcPDbX2p8jjSPg4TWXkE33Ojxq72iZ2t4Y1+BpwMOvR6Dqu9eY35z/OPOhYa620p21ID/Zb9pHIcq8vwGmAAA==",
"Floors" : "https://images-na.ssl-images-amazon.com/images/I/51NIPGJB+kL._AC_US160_.jpg",
"Wings Of Fire": "https://images-na.ssl-images-amazon.com/images/I/51QSrQDru9L._AC_US160_.jpg",
"The War of the Worlds": "data:image/webp;base64,UklGRp4VAABXRUJQVlA4IJIVAACQaQCdASrEACUBPw1wq0ynI6IjKXcMUOghieRuul6iOnFyup6nt1dn/lfJOfo9M39u9LnpO86L6dd6zoJv/AdxH/D8T7CHyT+19bPavwAntdoj7kfcvNNnr+IteO9T9gn8/+kVodesPYP/nX+A60P7weyGdNu0lmHIJqrsNOPPyMNgnbSUVcrRcUZrxcbGQbIniZeyBmRVWJOXbddpQtOG5JZD0cB6bHzRHHpeXkoc4v4U/p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aFF7jVI92g4unSp7T01aRRk37wQ06GvpZITC7m4gE//7L0rNOPnqJg5zaj0JVu5x04SThTriui6Ao5+qA8ACTfseeCZuZIuAIptI9p4BRY8ePK69iy4HANAy286QJFEYLm+TtX1MR7CpmFnSGZ8Q8uzwtdel2j6j3RxrQAFok36kwmWn3cvXgW9jV/SCzbpd/0+Zd4CzzCNXXWUAOYE1t/stCuGO2ResO3hylesADo5/Av1GvcEsLrB547HINq6jqGQgsHabXKrsCE/yXwBJY3MbnjkQm4KCWgH8s0FVKskXM1ow0+TQz+wlI0j5YKxdGxrR/O8mlbfusY7Z1lBm34wrBpQGwZFqlBehFpk8mVDrh/VMvixLJS1Nh4p75Rg9TdM+es/HYne8RY8c9TIYOThxwX+9vvc1WTn1IbD5Y1Bz0UXMQ37Th7U8Q06Ca2qBLzpr03FG4KwUq95jiYVlru1W0etEnGub/DtpkB+LjiUjgHsojvSE3Y2sk6kWLwQpnxl2KfU0RDi5jcMhYS2Yf/KYqqf/Zzg8FHgGIPS1BehNIkRxs88i6EFyKT6X+WwfjMiCY3D0xUWhEWWzLQi6jgHoRcAAAD2rnn92v54rLH/Bv4/fmG39CH13Q72DCzXIcpcpN5AADgMC+miPU8+HSCHueD4EwXQAAA==",
"Harry Potter" : "https://images-na.ssl-images-amazon.com/images/I/51PxQCRCx0L._AC_US160_.jpg",
"George's Keys to the Universe" : "https://images-na.ssl-images-amazon.com/images/I/61EACHNlpLL._AC_US160_.jpg",
"I Survived" : "https://images-na.ssl-images-amazon.com/images/I/51tH+a7u0ZL._AC_US160_.jpg",
"Smile" : "https://www.amazon.com/Smile-Raina-Telgemeier/dp/0545132061/ref=sr_1_1?ie=UTF8&qid=1491168416&sr=8-1&keywords=smile+book",
"Warriors" : "https://images-na.ssl-images-amazon.com/images/I/51yzzspcmvL._SX334_BO1,204,203,200_.jpg",
"Big Nate" : "https://images-na.ssl-images-amazon.com/images/I/51eZkTlLA2L._AC_US320_FMwebp_QL65_.jpg",
"Cam Janson" : "https://images-na.ssl-images-amazon.com/images/I/5182tiqrkVL._AC_US320_FMwebp_QL65_.jpg",
"Geronimo Stilton" : "https://images-na.ssl-images-amazon.com/images/I/61dDfZUlpuL._AC_US320_QL65_.jpg",
};
var oldBook = getParameterByName('t');
if (oldBook) {
var newBook = oldBook + " book 2";
var newImg = null;
if (recs[oldBook]) {
newBook = recs[oldBook];
newImg = imgs[newBook];
}
bookTitleElement.innerText = newBook;
bookTitleElement.innerText = newBook;
coverElement.src = newImg;
}
var likes = Math.round(Math.random() * 100);
var likesElement = document.getElementById('likes');
likesElement.innerText = likes;
var dislikes = Math.round(Math.random() * 100);
var dislikesElement = document.getElementById('dislikes');
dislikesElement.innerText = dislikes;
</script>
</body>