-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
85 lines (67 loc) · 2.35 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
---
layout: default
title: NPR.io
---
<div id="overlay"><em>V</em></div>
<div id="audioWr">
<h2><span id="title"></span><span id="titleDate"></span></h2>
<div id="settingsBtn"><a href="javascript://">settings</a></div>
<audio id="player" type="audio/mpeg" controls style="display:none"></audio>
</div>
<div id="showSelect">
<a href="javascript://" data-show="atc">ATC</a>
<a href="javascript://" data-show="me">ME</a>
<a href="javascript://" data-show="we_sat">WE sat</a>
<a href="javascript://" data-show="we_sun">WE sun</a>
<a href="javascript://" data-show="hourly" class='hourly'>Hourly</a>
</div>
<div id="stories"></div>
<p><a href="javascript://" id="loadMore">load more</a>
<script id='tmpl-story' type='text/template'>
<% if(imgSrc && showImage()){ %>
<div class='storyLeft'>
<a href="javascript://" class="playBtn">
<div class='storyImg' style="background-image:url(<%= imgSrc %>)">
</div>
</a>
</div>
<% } %>
<div class='storyRight'>
<div class='storyTitle'>
<a href="javascript://" class="playBtn">
<%= title %>
</a>
</div>
<div class='storyInfo'>
<em><%= duration %></em>
<span><%= date %></span>
<% if(hasPlayed()) { %>
<em class="hasPlayed">✓</em>
<% } %>
</div>
</div>
<div class='storyLink'>
<a href="<%= url %>" target="_blank">→</a>
</div>
<div class='break'></div>
</script>
<br/>
<br/>
<footer>
NPR.io was created by
<a href="http://twitter.com/nickmerwin" target="_blank">@NickMerwin</a>
and is not affiliated with <a href="http://www.npr.org" target="_blank">National Public Radio</a>.
<br/>
<br/>
Read more about it in the introductory <a href="http://nickmerwin.com/2012/02/25/npr-io/" target="_blank">blog post</a>.
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51136bc87bab629f"></script>
<!-- AddThis Button END -->
</footer>