-
Notifications
You must be signed in to change notification settings - Fork 1
/
tumblr.html
91 lines (73 loc) · 2.94 KB
/
tumblr.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="assets/ico/favicon.png">
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="css/FeedEk.css" rel="stylesheet" type="text/css" />
<!-- Custom styles for this template -->
<link href="css/news_container.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/FeedEk.js" type="text/javascript"></script>
<script type="text/javascript" >
$(document).ready(function () {
$('#divRss').FeedEk({
FeedUrl: 'http://africahacktrip.tumblr.com/rss',
MaxCount: 20,
DescCharacterLimit: 150
});
$('#divRss2').FeedEk({
FeedUrl: 'http://africahacktrip.org/feed/',
MaxCount: 5,
ShowDesc: true,
ShowPubDate: false,
DescCharacterLimit: 100
});
$('#divRss3').FeedEk({
FeedUrl: 'http://africahacktrip.org/feed/',
MaxCount: 5,
ShowDesc: false
});
});
</script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<div class="pull-right navbar-brand">
<span class="glyphicon glyphicon-refresh white-icons"></span>
<span class="glyphicon glyphicon-search white-icons"></span>
</div>
<a class="navbar-brand logo" href="news.html"><img src="img/AfricaHackFeed_logo.png"/>Afri Hack Trip</a>
</div>
</div>
</div>
<div class="container news_container" >
<div class="rssDiv">
<p>
<a href="news.html"><button class="btn btn-sm btn-primary" type="button">News Feed</button></a>
<a href="tumblr.html"><button class="btn btn-sm btn-success" type="button">Tumblr Feed</button></a>
</p>
<div id="divRss"></div>
</div>
<div class="rssDiv">
<div style="clear:both"></div>
</div>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
</body>
</html>