Skip to content

thinkphp/MooRSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MooRSS

This plugin provides a simple way to build an RSS Reader using server-side proxy.

Screenshot

How to use

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);

About

This plugin MooTools provides a simple way to build an RSS Reader using PHP proxy.

Resources

Stars

Watchers

Forks

Packages

No packages published