You can make news from any website appear on your blog's or website's page or even as a blogger's widget anywhere you want.
Copy the script below and paste it before </head> tag of your website or the blog.
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");
#feedControl {
margin-top : 10px;
margin-left: auto;
margin-right: auto;
width : 440px;
font-size: 12px;
color: #9CADD0;
}
</style>
<script type="text/javascript">
function load() {
var feed ="http://feeds.bbci.co.uk/news/world/rss.xml";
new GFdynamicFeedControl(feed, "feedControl");
}
google.load("feeds", "1");
google.setOnLoadCallback(load);
</script>
Now save your template and copy and paste the script below in the place where you want the news to appear.
<div id="body">
<div id="feedControl">Loading...</div>
</div>
If you want to change the news feed from bbc to any other website then simple change the url http://feeds.bbci.co.uk/news/world/rss.xml to the desired news website's rss url.
If you need any other help let me know. Mail me:: tech3lper@gmail.com
Thanks for sharing this great article! That is very interesting I love reading and I am always searching for informative information like this.
ReplyDeleteIntrepid
Thankss... :)
Delete