Created
May 21, 2012 03:43
-
-
Save sjoonk/2760465 to your computer and use it in GitHub Desktop.
Facebook App Template: Blog RSS Feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Blog Demo</title> | |
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> | |
<link rel="stylesheet" href="../stylesheets/facebook.css" type="text/css"> | |
<link rel="stylesheet" href="../stylesheets/application.css" type="text/css"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script> | |
<body class="container timeline"> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/ko_KR/all.js#xfbml=1&appId={YOUR APP ID}"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
<h1>블로그 데모</h1> | |
<p> | |
<span class="label important">Notice</span> | |
이 블로그는 쿠킹 페이스북 앱 템플릿™ 을 이용하여 제작되었습니다. | |
</p> | |
<h5 class="tab"> | |
쿠킹 페이스북 | 맛있는 페이스북 만들기 | |
<a class="pull-right" href="http://cookinfacebook.com">블로그 바로가기</a> | |
</h5> | |
<div id="feedData"> | |
<div class="loading"></div> | |
</div> | |
<script src="../javascripts/jquery.zrssfeed.min.js" type="text/javascript"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function() { | |
$('#feedData').rssfeed('{Your Feed URL}', { | |
limit: 5, | |
header: false, | |
ssl: true | |
}); | |
}); | |
</script> | |
<hr /> | |
<div class="fb-like" data-href="http://www.facebook.com/cookinthisbook" data-send="false" data-width="450" data-show-faces="true"></div> | |
<h6 class="right">© 쿠킹 페이스북, 2012. All right reserved.</h6> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment