RSS Service

No Data

Getting Started

First include the jQuery and zRSSFeed libraries.

<link rel="stylesheet" type="text/css" href="http://www.mfa.go.th/inc/libs/zrssfeed/jquery.zrssfeed.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js" type="text/javascript"></script>
<script src="http://www.mfa.go.th/inc/libs/zrssfeed/jquery.zrssfeed.min.js" type="text/javascript"></script>

Add a DIV tag where you wish the feed to display and give it an ID. There is no need to specify a class, this will be added.

<div id="feed"></div>

Now add the script to call the zRSSFeed plugin with the RSS URL and any options. Our example gets 10 feeds from the Reuters site.

<script type="text/javascript">
		$(document).ready(function () {
			$('#feed').rssfeed('http://www.mfa.go.th/inc/feed-sample.xml', {
				limit: 10
			});
		});
	</script>

Finish.

<html>
	<head>
		<link rel="stylesheet" type="text/css" href="http://www.mfa.go.th/inc/libs/zrssfeed/jquery.zrssfeed.css" />
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js" type="text/javascript"></script>
		<script src="http://www.mfa.go.th/inc/libs/zrssfeed/jquery.zrssfeed.min.js" type="text/javascript"></script>
	</head>
	<body>
		<div id="feed"></div>
		<script type="text/javascript">
			$(document).ready(function () {
				$('#feed').rssfeed('http://www.mfa.go.th/inc/feed-sample.xml', {
					limit: 10
				});
			});
		</script>
	</body>
</html>

Demo