forked from shri/kimonodigest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (140 loc) · 9.29 KB
/
index.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
<meta property="og:image" content="https://www.kimonolabs.com/img/chrome-extension-256.png"/>
<title>KimDigest</title>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="bootstrap/css-compiled/ripples.css" rel="stylesheet">
<link href="bootstrap/css-compiled/material.css" rel="stylesheet">
<link href="bootstrap/icons/icons-material-design.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<!-- STYLES -->
<link href="css/custom.css" rel="stylesheet">
</head>
<!-- BODY -->
<body>
<!-- GITHUB -->
<iframe src="http://ghbtns.com/github-btn.html?user=shrig94&repo=kimonodigest&type=fork&count=true&size=large" height="30" width="170" style="position: absolute; top: 0; right: 0; margin-top:20px;z-index: 100;" frameborder="0" scrolling="0" allowtransparency="true" class="github"></iframe>
<!-- LOGIN -->
<div class="modal" id="login">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Login / Sign Up</h4>
<div class="kimdigest-warning">KimDigest accounts and Kimono Labs accounts are separate from one another.</div>
</div>
<div class="modal-body">
<div class="form-group">
<div class="col-lg-12">
<input type="email" class="form-control" id="inputEmail" placeholder="Email">
</div>
</div>
<div class="form-group">
<div class="col-lg-12">
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="loginButton">Login</button>
<button type="button" class="btn btn-primary" data-dismiss="modal" id="signupButton">Sign Up</button>
</div>
</div>
</div>
</div>
<!-- ADD SOURCE -->
<div class="modal" id="addSource">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Add New Source</h4>
</div>
<div class="modal-body">
<div class="form-group">
<div class="col-lg-12">
<input type="text" class="form-control" id="inputHeader" placeholder="Source Name (e.g. Hacker News)">
</div>
</div>
<div class="form-group">
<div class="col-lg-12">
<input type="text" class="form-control" id="inputLogo" placeholder="URL of Square Logo (e.g. http://i.imgur.com/2ZIO0eR.png)">
</div>
</div>
<div class="form-group">
<div class="col-lg-12">
<input type="text" class="form-control" id="inputColor" placeholder="Color Hexcode (e.g. #F7F7F7), remember the #!">
</div>
</div>
<div class="form-group">
<div class="col-lg-12">
<input type="text" class="form-control" id="inputApi" placeholder="API ID (e.g. bsiqi5o0)">
</div>
</div>
<div class="form-group form-button">
<button type="button" class="btn btn-primary" data-dismiss="modal" id="addButton">Add Source</button>
</div>
<div class="bitcoin-instructions">
<h4>Instructions</h4>
<ol>
<li>Install the <a target="_blank" href="https://www.kimonolabs.com/learn/chrome-extension">Kimono Labs Chrome Extension or Bookmarklet</a>.</li>
<li>Visit any website to create a kimono API (something that changes often!)</li>
<li>Make a selection for the article titles with property named <code>title</code>.</li>
<li>Optionally make selections for the date submitted (named <code>submitted</code>), the author (<code>author</code>), the number of comments (<code>comments</code>), and finally the score or points (<code>points</code>) for each article.</li>
<li><strong>Do not</strong> change the collection name (i.e. keep <code>collection1</code>)</li>
<li>Choose an update frequency of every <code>15 minutes</code>.</li>
<li>Create your API and copy the API ID (looks like <code>a1b2c33c</code>)</li>
<li>Paste the API ID into to the form field above.</li>
<li>Fill out the title of the source, the url of a square logo for it, and the hex color you'd like to use for the header, and you're done!</li>
</ol>
</div>
</div>
</div>
</div>
</div>
<!-- NAV -->
<div class="news-sources">
<div class="news-sources-scroll">
<a class="login-link" >login / sign up to add</a>
<a class="add-source" style="display:none;">++ add source</a>
<input type="text" class="search" placeholder="search for sources">
<span class="source selected" onclick="kimonoLoadArticles('HN Digest', '#ff6600', 'bsiqi5o0')"><img class="sources-img" src="http://www.ycombinator.com/images/ycombinator-logo-fb889e2e.png" /> <a class="source-link" >HN Digest</a></span>
<span class="source" onclick="kimonoLoadArticles('reddit digest','#cee3f8', '6kou6u36')"><img class="sources-img" src="http://cdn.appstorm.net/windows.appstorm.net/files/2012/10/Reddit-logo.jpg" /> <a class="source-link">reddit digest</a></span>
<span class="source" onclick="kimonoLoadArticles('reddit mixes', '#cee3f8', 'b9i4mvdm')"><img class="sources-img" src="http://i.imgur.com/2ZIO0eR.png" /> <a class="source-link">reddit mixes</a></span>
<span class="source" onclick="kimonoLoadArticles('Cryptoprices', '#111111', '3g8gqe02')"><img class="sources-img" src="https://bitcoin.org/img/opengraph.png"> <a class="source-link">Cryptoprices</a></span>
</div>
</div>
<!-- CONTENT -->
<div class="article-container">
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<h1>
<span class="kim-heading">HN Digest</span>
</h1>
<p class="lead">
KimDigest: an open reader that summarizes content from <a href="https://www.kimonolabs.com" target="_blank">Kimono</a> APIs. <a href="https://www.github.com/shrig94/kimonodigest" target="_blank">Contribute and win a BTC</a>.
<span class="social-icons">
<a href="https://twitter.com/home?status=Check%20out%20@kimonolabs's%20new%20customizable%20feed%20reader!%20kimdigest.com/" target="_blank"><i class="icon icon-material-post-twitter"></i></a>
<a href="https://www.facebook.com/sharer/sharer.php?u=kimdigest.com" target="_blank"><i class="icon icon-material-post-facebook"></i></a>
</span>
</p>
</div>
</div>
</div>
<div class="articles"></div>
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="bootstrap/scripts/ripples.js"></script>
<script src="bootstrap/scripts/material.js"></script>
<script src="bootstrap/scripts/jquery.parse.js"></script>
<script src="js/backend.js"></script>
<script src="js/client.js"></script>
<!-- Embedly script -->
<script src="http://cdn.embed.ly/jquery.embedly-3.1.1.min.js" type="text/javascript"></script>
</body>
</html>