Campustream 1.0
A social network MQP for WPI
application/tasks/rss.php
Go to the documentation of this file.
00001 <?php
00002 
00003 group('rss');
00004 desc('Loads an RSS feed');
00005 
00006 task( 'load', function( $args ) {
00007         
00008         force_execution_on( any_web_server );
00009 
00010         $url = array_shift($args);
00011         
00012         $rss = rssreader::load($url);
00013         
00014         print_r($rss->get());
00015 });