[insert_php]

include_once( ABSPATH . WPINC . ‘/feed.php’ );
$rss = fetch_feed( ‘http://www.fandango.com/rss/newmovies.rss?pid=7308179’ );

$maxitems = 0;

if ( ! is_wp_error( $rss ) ) : // Checks that the object is created correctly
$maxitems = $rss->get_item_quantity( 10 );
$rss_items = $rss->get_items( 0, $maxitems );
endif;

print_r($rss_items);

[/insert_php]

Comments are closed.