thinkphp / MooRSS

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

Home Page:http://thinkphp.ro/apps/js-hacks/MooRSS/v1/rss.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

http://thinkphp.ro/apps/js-hacks/MooRSS/v1/rss.html


Languages

Language:PHP 56.3%Language:JavaScript 43.7%