-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (60 loc) · 1.41 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
<!doctype html>
<title>Extract an RSS url from iTunes podcast directory</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html { height: 100%; }
body {
display: flex;
flex-direction: column;
height: calc(100% - 16px);
}
@media (min-width: 601px) {
body {
max-width: 700px;
margin: 8px auto;
}
}
img { max-width: 100%; }
fieldset {
margin: 0;
padding: 0;
border: 0;
}
#status, #podcast {
margin: 10px 0;
}
td {
vertical-align: top;
overflow-wrap: anywhere;
}
footer {
margin-top: 1em;
border-top: 1px solid gray;
}
</style>
<main style="flex-grow: 1">
<form>
<fieldset id="itunes__fieldset">
<div style="display: flex">
<input id="itunes__url" type="search"
placeholder="iTunes podcast URL, like, https://podcasts.apple.com/us/podcast/car-talk/id253191823"
required
style="margin-right: 5px; width: 100%">
<input type="submit">
</div>
</fieldset>
</form>
<div id="status"></div>
<div id="podcast"></div>
</main>
<footer>
<p>
<a href='https://github.com/gromnitsky/itunesrss'>Github</a>
</p>
<p>
Apple and iTunes Store are trademarks of Apple Inc., registered in
the U.S. and other countries.
</p>
</footer>
<script src="node_modules/fetch-jsonp/build/fetch-jsonp.js"></script>
<script src="main.js"></script>