forked from QupZilla/qupzilla.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blogger-widget.php
34 lines (31 loc) · 1.12 KB
/
blogger-widget.php
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
<?php
require_once('app/bootstrap.php');
?>
<html>
<head>
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="css/responsive.css" type="text/css" media="all">
<style>
.gfc-control { margin-top: -10px; }
.gf-author { display: none !important;}
.gf-spacer { display: none !important;}
.gf-snippet { margin-bottom:15px; }
</style>
</head>
<body style="background: #e5e5e5; width:320px; margin:3px; padding:0;" class="blw">
<div style="background: #e5e5e5; font-size:85%;">
<script type="text/javascript" src="https://www.google.com/jsapi?key=ABQIAAAAq3SVCR-K0yI5_N0cswX1txT0VykOMYx3Zz_NUtzmY0vQvYY8dRRumpjgNGF4yD2y0xdghBjp7upN8A"></script>
<script type="text/javascript">
google.load("feeds", "1");
function OnLoad() {
var feedControl = new google.feeds.FeedControl();
feedControl.addFeed("http://blog.qupzilla.com/feeds/posts/default?alt=rss", "");
feedControl.setLinkTarget("_blank");
feedControl.draw(document.getElementById("feedControl"));
}
google.setOnLoadCallback(OnLoad);
</script>
<span id="feedControl"><?php echo $LANG["feed_loading"]; ?></span>
</div>
</body>
</html>