<?php
$feed = file_get_contents('http://thexmofo.wordpress.com/feed/');
$xml = new SimpleXMLElement($feed);
$xml->registerXPathNamespace('media', 'http://thexmofo.wordpress.com/feed/');
$images = $xml->xpath('/rss/channel/item/media:content@url');
var_dump($images);
?>
Can anyone tell my why I'm getting Warning: SimpleXMLElement::xpath() [simplexmlelement.xpath]: Invalid expression
followed by bool(false)
?