Skip to content

Commit 283d921

Browse files
committed
Redirect on legacy page load
1 parent 116a52e commit 283d921

File tree

1 file changed

+3
-136
lines changed

1 file changed

+3
-136
lines changed

exportify.html

+3-136
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,13 @@
11
<!--
2-
DO NOT EDIT.
32
LEGACY FILE TO KEEP RawGit URL working
43
https://rawgit.com/watsonbox/exportify/master/exportify.html
54
-->
65
<!doctype html>
76

87
<html lang="en">
98
<head>
10-
<meta charset="utf-8">
11-
<title>Exportify</title>
12-
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
13-
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
14-
15-
<style>
16-
#header {
17-
padding: 40px 15px;
18-
text-align: center;
19-
}
20-
21-
#loginButton {
22-
display: none;
23-
margin-top: 20px;
24-
}
25-
26-
#rateLimitMessage {
27-
display: none;
28-
text-align: center;
29-
}
30-
31-
h1 a { color: black; }
32-
h1 a:hover { color: black; text-decoration: none; }
33-
34-
nav.paginator:nth-child(1) {
35-
margin-top: -74px;
36-
}
37-
38-
table {
39-
float: left;
40-
}
41-
42-
#playlists {
43-
display: none;
44-
}
45-
46-
@keyframes spinner {
47-
to {transform: rotate(360deg);}
48-
}
49-
50-
@-webkit-keyframes spinner {
51-
to {-webkit-transform: rotate(360deg);}
52-
}
53-
54-
.spinner {
55-
min-width: 24px;
56-
min-height: 24px;
57-
}
58-
59-
.spinner:before {
60-
content: 'Loading…';
61-
position: absolute;
62-
top: 240px;
63-
left: 50%;
64-
width: 100px;
65-
height: 100px;
66-
margin-top: -50px;
67-
margin-left: -50px;
68-
}
69-
70-
.spinner:not(:required):before {
71-
content: '';
72-
border-radius: 50%;
73-
border: 4px solid rgba(236, 235, 232, 1);
74-
border-top-color: rgba(130, 130, 130, 1);
75-
animation: spinner 1s linear infinite;
76-
-webkit-animation: spinner 1s linear infinite;
77-
}
78-
79-
.ribbon {
80-
background-color: #84BD00;
81-
overflow: hidden;
82-
white-space: nowrap;
83-
/* top left corner */
84-
position: absolute;
85-
left: -50px;
86-
top: 40px;
87-
/* 45 deg ccw rotation */
88-
-webkit-transform: rotate(-45deg);
89-
-moz-transform: rotate(-45deg);
90-
-ms-transform: rotate(-45deg);
91-
-o-transform: rotate(-45deg);
92-
transform: rotate(-45deg);
93-
/* shadow */
94-
-webkit-box-shadow: 0 0 10px #888;
95-
-moz-box-shadow: 0 0 10px #888;
96-
box-shadow: 0 0 10px #888;
97-
}
98-
.ribbon a {
99-
border: 1px solid #ded;
100-
color: #fff;
101-
display: block;
102-
font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
103-
margin: 1px 0;
104-
padding: 10px 50px;
105-
text-align: center;
106-
text-decoration: none;
107-
/* shadow */
108-
text-shadow: 0 0 5px #444;
109-
}
110-
</style>
111-
112-
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
113-
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-mockjax/1.6.2/jquery.mockjax.min.js"></script>
114-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
115-
<script src="//cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
116-
<script src="//cdn.rawgit.com/eligrey/FileSaver.js/631047d72f4e89fab6059203ca71eb064a0bb031/FileSaver.min.js"></script>
117-
118-
<!-- React.js -->
119-
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script>
120-
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
121-
122-
<script type="text/jsx" src="exportify.js"></script>
9+
<script>
10+
window.location.href = "https://watsonbox.github.io/exportify/";
11+
</script>
12312
</head>
124-
125-
<body>
126-
<div class="ribbon"><a href="https://github.com/watsonbox/exportify">Fork me on Github</a></div>
127-
<div class="container">
128-
<div id="header">
129-
<h1><i class="fa fa-spotify" style="color: #84BD00"></i> <a href="exportify.html">Exportify</a></h1>
130-
<p id="subtitle" class="lead">Export your Spotify playlists.</p>
131-
132-
<button id="loginButton" type="submit" class="btn btn-default btn-lg" onclick="window.Helpers.authorize()">
133-
<i class="fa fa-check-circle-o"></i> Get Started
134-
</button>
135-
</div>
136-
137-
<div id="playlistsContainer"></div>
138-
139-
<div id="rateLimitMessage" class="lead">
140-
<p><i class="fa fa-bolt" style="font-size: 50px; margin-bottom: 20px"></i></p>
141-
<p>Oops, Exportify has encountered a <a target="_blank" href="https://developer.spotify.com/web-api/user-guide/#rate-limiting">rate limiting</a> error while using the Spotify API. This might be because of the number of users currently exporting playlists, or perhaps because you have too many playlists to export all at once. Try <a target="_blank" href="https://github.com/watsonbox/exportify/issues/6#issuecomment-110793132">creating your own</a> Spotify application. If that doesn't work, please add a comment to <a target="_blank" href="https://github.com/watsonbox/exportify/issues/6">this issue</a> where possible resolutions are being discussed.</p>
142-
<p style="margin-top: 50px">It should still be possible to export individual playlists, particularly when using your own Spotify application.</p>
143-
<div>
144-
</div><!-- /.container -->
145-
</body>
14613
</html>

0 commit comments

Comments
 (0)