forked from mikaelbr/SocialFeed.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (57 loc) · 2.5 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
<!DOCTYPE html>
<html>
<head>
<title>SocialFeed test</title>
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.1.0/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="socialfeed.min.css">
<style>
body {
background: #3f4c6b; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #3f4c6b 0%, #3f4c6b 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#3f4c6b), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, #3f4c6b 0%,#3f4c6b 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, #3f4c6b 0%,#3f4c6b 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, #3f4c6b 0%,#3f4c6b 100%); /* IE10+ */
background: radial-gradient(ellipse at center, #3f4c6b 0%,#3f4c6b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
color: #f9f9f9;
}
a:link, a:visited {
color: #33D5F5;
text-decoration: none;
transition: 500ms;
}
a:hover, a:active {
color: #0CAAC9;
}
</style>
</head>
<body>
<div id="socialfeed" class="socialfeed-container">
</div>
<script src="bower_components/jquery/jquery.js"></script>
<script src="socialfeed.js"></script>
<script>
;(function () {
var sfeed1 = new SocialFeed({
el: $('#socialfeed')
, count: 50
})
.addModule(new SocialFeed.Modules.Disqus('mikaelbr', 'OEMdBc63xd0MZGKiVV5JgExTqdO7OSYkjgv613LJ8Py89y44pcoSKeBrelZjepVS'))
.addModule(new SocialFeed.Modules.Github('mikaelbr', {
'IssuesEvent': false
}))
.addModule(new SocialFeed.Modules.Delicious('mikaelbr'))
.addModule(new SocialFeed.Modules.Tumblr('peacecorps.tumblr.com', 'VLazrfQDUhSamA0EX42IYdkec3MjDfheKKIrToxnVJOa0qii1g'))
.addModule(new SocialFeed.Modules.YouTubeUploads('nettutsplus'))
.addModule(new SocialFeed.Modules.Vimeo('mikaelbr'))
.start();
sfeed1.on('dataReady', function (htmlList, modules) {
console.log(htmlList);
console.log(modules);
});
window.sfeed = sfeed1;
})();
</script>
</body>
</html>