-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
203 lines (186 loc) · 10.3 KB
/
index.php
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
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Radio Deejay podcast per i programmi completi in reloaded">
<meta name="author" content="Lorenzo 'maxxer' Milesi">
<meta name="og:image" content="https://deejayreloadedpodcast.maxxer.it/img/radiodeejay_logo.png">
<meta http-equiv="refresh" content="10; url=v2019/" />
<title>Radio Deejay /reloaded/ podcaster</title>
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Custom CSS -->
<link href="css/grayscale.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//s.maxxer.it/t/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
<!-- Navigation -->
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand page-scroll" href="#page-top">
<i class="fa fa-play-circle"></i> Radio Deejay Reloaded <span class="light">podcaster</span>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
<ul class="nav navbar-nav">
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
<li class="hidden">
<a href="#page-top"></a>
</li>
<li>
<a class="page-scroll" href="#perche">Perché</a>
</li>
<li>
<a class="page-scroll" href="#podcast">Podcast</a>
</li>
<li>
<a class="page-scroll" href="#crediti">Crediti</a>
</li>
<li>
<a target="_blank" href="https://lorenzo.mile.si/category/deejay-reloaded-podcaster/">News</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Intro Header -->
<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1 class="brand-heading">Reloaded Podcaster</h1>
<p class="intro-text"><strong>unofficial</strong> podcast per tutti i programmi di Radio Deejay in <em>reloaded</em>.</p>
<p class="intro-text"><strong>ATTENZIONE</strong> dal 17 giugno 2019 il sito di Deejay è stato cambiato, sono stati rimossi molti programmi e sono cambiati tutti gli URL delle puntate. Essendo questi "chiave" univoca per determinare se un audio è già stato scaricato con il nuovo sito sarebbero risultati tutti episodi nuovi. Per evitare problemi ho creato una nuova pagina con nuovi podcast.<br>
Verrai rimandato entro 10 secondi, altrimenti <a href="v2019/">clicca qui</a>.
<a href="http://www.deejay.it" target="_blank"><img src="img/radiodeejay_logo.png" alt="Radio Deejay" /></a> <br />
<a href="#perche" class="btn btn-circle page-scroll">
<i class="fa fa-angle-double-down animated"></i>
</a>
</div>
</div>
</div>
</div>
</header>
<!-- About Section -->
<section id="perche" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>Perché</h2>
<p>Banalmente per avere in automatico tutte le puntate dei miei programmi preferiti sul telefono, e poterle ascoltare quando sono in giro senza doverle scaricare manualmente.</p>
</div>
</div>
</section>
<!-- Download Section -->
<section id="podcast" class="content-section text-center">
<div class="download-section">
<div class="container">
<div class="col-lg-6 col-lg-offset-3">
<h2>Elenco podcast</h2>
<p>Questo elenco non è più aggiornato, rimane solo come archivio! Vedere il <a href="v2019">nuovo feed</a> per i programmi aggiornati</p>
<ul class="list-group">
<?php
require_once 'rdjreloaded.php';
$lib = new RDJReloaded();
foreach ($lib->generaElencoProgrammi() as $p) : ?>
<li class="list-group-item">
<span class="badge"><a href="/podcast/<?=$p['slug']?>.xml" title="Feed podcast <?=$p['nome']?>"><?=$p['conteggio']?> <i class="fa fa-rss animated"></i></a></span>
<a href="<?=$p['url_archivio']?>" title="Homepage reloaded <?=$p['nome']?>" target="_blank"><i class="fa fa-home animated"></i></a>
Podcast <?=$p['nome']?>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="crediti" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>Crediti</h2>
<p>Tutti i programmi, i file audio, le immagini dei programmi e i relativi loghi sono di proprietà e © di <a href="http://www.deejay.it" target="_blank">Radio Deejay</a>.</p>
<p>Gli script PHP per il reperimento delle pagine sono stati scritti da <a href="http://it.linkedin.com/in/maxxer" target="_blank" title="il mio profilo linkedin">me medesimo</a>.</p>
<p>Per il parsing dell'HTML delle pagine del sito ho usato la libreria <a href="http://simplehtmldom.sourceforge.net/" target="_blank">simple html dom</a>.<br />
Il bellissimo layout è invece di <a href="http://startbootstrap.com/template-overviews/grayscale/" target="_blank">David Miller</a>.<br />
L'immagine di sfondo in alto arriva da <a href='http://www.djjeffh.com/2013/04/house-trax-72-philly-nites-radio.html' target="_blank">DJ Jeff Howell</a>.
</p>
<p>Per commenti o richieste scrivete pure a <a href="mailto:[email protected]">[email protected]</a>. <br />
Se avete miglioramenti da proporre:</p>
<ul class="list-inline banner-social-buttons">
<li>
<a href="https://github.com/maxxer/radiodeejaypodcaster" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
</li>
</ul>
<p>Se vuoi sostenere questo sito (magari per pagare i costi di hosting) puppati un po' di annunci ed ogni tanto clicca...</p>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- podcaster -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-0712109511578838"
data-ad-slot="2290262523"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container text-center">
<p>Copyright © maxxer 2016</p>
</div>
</footer>
<!-- who wants some cookies? -->
<script type="text/javascript"
id="cookieinfo"
src="//cookieinfoscript.com/js/cookieinfo.min.js"
data-message="Questo sito usa i cookie per le statistiche e le (infruttuose) pubblicità. Continuando la navigazione acconsenti all'uso dei cookie per questi scopi."
data-moreinfo="https://lorenzo.mile.si/la-manfrina-dei-cookie/"
data-accept-on-scroll=true
data-close-text="Ci sto!">
</script>
<!-- jQuery -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<!-- Plugin JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="js/grayscale.js"></script>
</body>
</html>