I have a little bit of PHP:
<?php
// Get the RSS feed and load it into a SimpleXML object
$file = file_get_contents('http://rss.ent.yahoo.com/movies/top25trailers.xml');
$xml = simplexml_load_string($file);
// Pull links from $file
foreach ($xml->channel->item as $item) {
$media = $item->children('http://search.yahoo.com/mrss');
$thumb = $media->thumbnail->attributes();
$link = (string) $thumb['url'];
$img = explode('/', $link);
$img = $img[count($img) - 1];
//load links into $remote_img
} $remote_img = '$link';
$pic = imagecreatefromjpeg($remote_img);
//save images in local directory as filename
$path = '$img';
imagejpeg($pic, $path);
?>
I have pieced it together to try and get the images from the shown XML feed and download them locally onto my server. I can get the following code to work when manually inputting the URL and ###.jpg infomation into the php:
<?php
$remote_img = 'http://l.yimg.com/eb/ymv/us/img/hv/photo/movie_pix/universal_pictures/couples_retreat/couplesretreat_smallposter2-th.jpg';
$img = imagecreatefromjpeg($remote_img);
$path = 'couplesretreat_smallposter2-th.jpg';
imagejpeg($img, $path);
?>
But I have not got a clue about how to get the url from XML feed to populate these fields automatically. Any help would be appreciated.