-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
394 lines (321 loc) · 16.8 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="The things that are most spoken today, from all points of view, and in just one place.">
<meta name="author" content="Nahuel Barrios <[email protected]>">
<meta name="designer" content="Nahuel Barrios <[email protected]>">
<meta name="email" content="[email protected]">
<meta name="copyright" content="Copyright © 2013">
<meta name="keywords"
content="news,today,today news,spoken today,spokentoday,Twitter,Facebook,Google+,Instagram,Flickr,YouTube,Google,Trends,Trending topics,Hot searches,nahuel,nahuel barrios, newspapers,social networks,social,real time,barrios.nahuel,open source,media,images,video">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--Facebook metatags\required-->
<meta property="og:title" content="Spoken Today (the top things...)"/>
<meta property="og:url" content="http://www.spokentoday.info"/>
<meta property="og:description" content="What people around the world are saying when you want to listen."/>
<!--Facebook metatags\optional-->
<meta property="og:type" content="website"/>
<meta property="og:image" content="http://cdn1.iconfinder.com/data/icons/49handdrawing/256x256/rss.png"/>
<title>Spoken Today (the top things...)</title>
<link rel="author" href="https://plus.google.com/u/0/+NahuelBarrios"/>
<link rel="shortcut icon" href="img/1370895148_rss.png">
<!-- Bootstrap core CSS -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Merienda+One|Jura" rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/spoken-today.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="lib/bootstrap-3.0.0/assets/js/html5shiv.js"></script>
<script src="lib/bootstrap-3.0.0/assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function () {
// init the FB JS SDK
FB.init({
appId: '383847951737582', // App ID from the app dashboard
// channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel file for x-domain comms
cookie: true, // enable cookies to allow the server to access the session
status: true, // Check Facebook Login status
xfbml: true // Look for social plugins on the page
});
// Additional initialization code such as adding Event Listeners goes here
};
// Load the SDK asynchronously
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_US/all.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<header>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Spoken Today</a>
</div>
<div class="navbar-collapse collapse">
<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" placeholder="Wanna know about..." class="form-control input-sm" tabindex="1">
</div>
</form>
<ul class="nav navbar-nav">
<li class="active st-topNews-menuItem">
<a href="#top" data-toggle="tab">
<span class="glyphicon glyphicon-star"></span>Top
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b></a>
<ul class="dropdown-menu" id="localTrends"></ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Global news! <b class="caret"></b></a>
<ul class="dropdown-menu" id="globalTrends"></ul>
</li>
</ul>
<ul class="st-headline">
<li>"Trending topics;</li>
<li>all points of view;</li>
<li>one place."</li>
</ul>
</div>
<!--/.navbar-collapse -->
</div>
</div>
</header>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-12">
<div class="tab-content">
<section class="row tab-pane fade in active" id="top">
<div id="instagramPopularPhotos">
<h3>
<a href="http://instagram.com/" target="_blank" title="Navigate to Instagram official site">Instagram</a>
popular photos
</h3>
</div>
</section>
</div>
</div>
</div>
<footer class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<!-- I got these buttons from simplesharebuttons.com -->
<div class="st-shareSite">
<span>Share Spoken Today with friends</span>
<div>
<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=http://spokentoday.info" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/facebook.png" alt="Facebook"/></a>
<!-- Twitter -->
<a href="http://twitter.com/share?url=http://spokentoday.info&text=Spoken Today" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/twitter.png" alt="Twitter"/></a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=http://spokentoday.info" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/google.png" alt="Google"/></a>
<!-- Digg -->
<a href="http://www.digg.com/submit?url=http://spokentoday.info" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/diggit.png" alt="Digg"/></a>
<!-- Reddit -->
<a href="http://reddit.com/submit?url=http://spokentoday.info&title=Spoken Today" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/reddit.png" alt="Reddit"/></a>
<!-- LinkedIn -->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http://spokentoday.info" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/linkedin.png" alt="LinkedIn"/></a>
<!-- Pinterest -->
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img
src="http://www.simplesharebuttons.com/images/somacro/pinterest.png" alt="Pinterest"/></a>
<!-- StumbleUpon-->
<a href="http://www.stumbleupon.com/submit?url=http://spokentoday.info&title=Spoken Today" target="_blank"><img
src="http://www.simplesharebuttons.com/images/somacro/stumbleupon.png" alt="StumbleUpon"/></a>
<!-- Email -->
<a href="mailto:?Subject=Spoken Today&Body=Hi, check this awesome site I'm using right now: http://SpokenToday.info"
target="_blank"><img src="http://www.simplesharebuttons.com/images/somacro/email.png" alt="Email"/></a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span>© Spoken Today 2013 All rights reserved.</span>
| <span>Created by <a
href="https://www.vizify.com/barriosnahuel" target="_blank" title="My infographic">Nahuel Barrios</a></span>
| <span><a href="mailto:[email protected]" target="_blank" title="Send me an email">[email protected]</a></span>
| <span><a href="https://github.com/barriosnahuel/spoken-today" target="_blank" title="Navigate to the project main site">Project
site</a></span>
| <span><a href="https://github.com/barriosnahuel/spoken-today/issues" target="_blank" title="Report an issue">Report an
issue</a></span>
</div>
</div>
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="myModal">
<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">Facebook login</h4>
</div>
<div class="modal-body">
To enable Facebook public posts results please login with your Facebook account.
</div>
<div class="modal-footer">
<!--<button type="button" class="btn btn-default" data-dismiss="modal">Skip Facebook results</button>-->
<div
class="fb-login-button"
data-show-faces="true"
data-width="240"
data-max-rows="1"
data-scope="">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/geo-location-javascript/0.4.8/geo-min.js"></script>
<script type="text/javascript" src="js/lib/codebird-js-2.4.1/sha1.js"></script>
<script type="text/javascript" src="js/lib/codebird-js-2.4.1/codebird.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/lib/jsrender.js"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("feeds", "1");</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.isotope/1.5.25/jquery.isotope.min.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{
"parsetags"
:
"explicit"
}
</script>
<script type="text/javascript">
function renderPlusone() {
gapi.person.go();
gapi.page.go();
gapi.community.go();
gapi.plusone.go("myTabContent", {"size": "medium", annotation: "inline"});
}
</script>
<script id="menuItemTemplate" type="text/x-jsrender">
<li {{if closeable}}class="st-closeable"{{/if}}>
<a href="#{{:topicId}}" data-toggle="tab">
{{:topicName}}
</a>
{{if closeable}}
<span class="glyphicon glyphicon-remove"></span>
{{/if}}
</li>
</script>
<script id="newsSectionTemplate" type="text/x-jsrender">
<section class="row tab-pane fade" id="{{:topicId}}">
<div class="col-md-1" id="leftColumn"></div>
<div class="col-md-10">
<h2>{{:topicName}}</h2>
<ul></ul>
</div>
<div class="col-md-1" id="rightColumn"></div>
</section>
</script>
<script id="instagramNewsTemplate" type="text/x-jsrender">
<a href="{{url:link}}" target="_blank"><img src="{{url:thumbnail}}" class="st-thumbnail" title="View on Instagram"></a>
</script>
<script id="rssFeedTemplate" type="text/x-jsrender">
<li class="row rss">
<div class="col-md-12">
<h4>{{:title}}</h4>
<p>{{:contentSnippet}} - <a href="{{url:link}}" target="_blank"><span class="st-original-post">[Original post]</span></a> <g:plusone size="medium" annotation="inline" href="{{url:link}}" width="250"></g:plusone></p>
<h6>{{:source}}</h6>
</div>
</li>
</script>
<script id="facebookNewsTemplate" type="text/x-jsrender">
<li class="row facebook">
<div class="col-md-12">
<p>
<a href="http://facebook.com/{{:userId}}" target="_blank">{{:userName}}</a>
<span> said: </span>{{:text}} -
</p>
<a href="http://facebook.com/{{:id}}" target="_blank" title="View original status update on Facebook"><span class="st-original-post">[Original post]</span></a>
<g:plusone size="medium" annotation="inline" href="http://facebook.com/{{:id}}"></g:plusone>
</div>
</li>
</script>
<script id="googlePlusNewsTemplate" type="text/x-jsrender">
<li class="row gplus">
<div class="col-md-8 st-left">
<p>{{:text}} - </p>
<a href="{{url:link}}" target="_blank" title="View original post on Google+">
<span class="st-original-post">[Original post]</span>
</a>
<g:plusone size="medium" annotation="inline" href="{{url:link}}" width="250"></g:plusone>
</div>
<div class="col-md-4 st-right">
<div class="g-person" data-width="273" data-href="{{:userUrl}}" data-rel="author" data-layout="landscape"></div>
<div class="g-page" data-width="273" data-href="{{:userUrl}}" data-rel="author" data-layout="landscape"></div>
<div class="g-community" data-width="273" data-href="{{:userUrl}}" data-rel="author" data-layout="landscape"></div>
</div>
</li>
</script>
<script id="twitterNewsTemplate" type="text/x-jsrender">
<li class="twitter">
<blockquote class="twitter-tweet" align="center">
<a href="https://twitter.com/{{:userName}}/statuses/{{:id}}"></a>
</blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"/>
</li>
</script>
<script id="youTubeNewsTemplate" type="text/x-jsrender">
<div>
{{for videos}}
<object width="300" height="168.75">
<param name="movie" value="https://www.youtube.com/v/{{:id}}"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="https://www.youtube.com/v/{{:id}}" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="300" height="168.75"></embed>
</object>
{{/for}}
</div>
</script>
<script id="flickrAndInstagramNewsTemplate" type="text/x-jsrender">
<div>
{{for photos}}
<a href="{{url:link}}" target="_blank" class="isotopeTest"><img src="{{url:photo}}" class="st-thumbnail img-responsive" title="View on {{:socialNetworkName}}"></a>
{{/for}}
</div>
</script>
<!--Scripts propios de los que dependo-->
<script type="text/javascript" src="js/app/service/newsFinder.js"></script>
<script type="text/javascript" src="js/app/service/socialNetworks.js"></script>
<script type="text/javascript" src="js/app/service/google.js"></script>
<script type="text/javascript" src="js/app/util/strings.js"></script>
<!--Script asociado a esta pantalla-->
<script type="text/javascript" src="js/app/ui/index.js"></script>
</body>
</html>