forked from sdepold/jquery-rss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (56 loc) · 1.27 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
<!DOCTYPE html>
<html>
<head>
<title>jquery.rss example</title>
<script src="lib/jquery-1.6.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script>
<script src="src/jquery.rss.js"></script>
<script>
jQuery(function($) {
$("#rss-feeds").rss("http://feeds.feedburner.com/dawanda", {
limit: 15,
effect: 'slideFastSynced'
})
})
</script>
<style type="text/css">
body {
font-family: Arial, Verdana, Trebuchet MS, Helvetica, lucida grande, "sans-serif";
font-size: 12px;
}
body > div {
margin: 0px auto;
width: 800px;
}
a {
color: #37D;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
li {
padding: 10px;
border-top: 1px dashed #AAA;
background-color: #EFEFEF;
}
li:first-child {
border-top: none;
}
li:nth-child(2n) {
background-color: white;
}
</style>
</head>
<body>
<div>
<h1>jquery.rss example</h1>
<div id="rss-feeds"></div>
</div>
</body>
</html>