Hi,
I'm new to Ajax and JavaScript. I had to use RSS feed in my project. Thankfully I got what I want in this website "https://developers.google.com/feed/v1/devguide#getting_started".
I used the below code which I edited in the above link and want to know How I could display the result in the HTML or ColdFusion pages.
Please help me out on this.
Here is my code:
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("feeds", "1");
function OnLoad() {
// Create a feed control
var feedControl = new google.feeds.FeedControl();
// Add two feeds.
feedControl.addFeed("http://feeds.feedburner.com/xyzBlog");
// Draw it.
feedControl.draw(document.getElementById("content"));
}
google.setOnLoadCallback(OnLoad);
</script>
</head>
Thanks in advance.