First you must to include the JS files in the head of your HTML document.
#HEAD
<script src="http://www.google.com/jsapi?key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></script>
<script type="text/javascript">google.load("mootools", "1.3.2");</script>
<script type="text/javascript" src="rss.js"></script>
In your HTML/Body source:
#BODY
<h2>Ajaxian RSS</h2>
<div id="ajaxian"></div>
<h2>MooTools Blog RSS</h2>
<div id="mootools"></div>
In your JavaScript source:
#JS
(function($){
//when DOM is ready
window.addEvent('domready', function(){
$('ajaxian').rss('http://feeds.feedburner.com/ajaxian');
$('mootools').rss('http://feeds.feedburner.com/mootools-blog');
});
})(document.id);
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus