Site: ", $rss->channel['title'], "
    "; // get title from rss foreach ($rss->items as $item) { // loop thru all items in rss and mashup $title = isset($item['title']) ? $item['title'] : ''; echo "
  1. Movie Title from rss = ".$title."
    "; // what about urlencoding? as in: urlencode($item[title]); $url_omdbapi = 'http://www.omdbapi.com/?t=A.I.%20Rising&y=&plot=short&r=json&apikey=1cdf8d38'; // wrong - hardcoded!! $movie = omdbapi($url_omdbapi); // this returns the omdb data using the title from the rss echo "

    Movie Title from api = ".$movie->Title." (do they match?)

    "; // why do they not match??? echo("

    ".$movie->Genre."

    "); // from the omdbapi $url_rss = $item['link']; // from the rss echo "RSS item = ".$title."
  2. "; echo "

    "; //if(++$i==3) break; // show at most 3 of a big list, actual items shown might be less than 3 } echo "

"; ?>