I use simplexml_load_file and expect it can be use on a url, strangely some of the data is missing.
my php
$url = "http://www.thestar.com.my/RSS/Lifestyle/Women/";
$xml = simplexml_load_file($url);
echo "<pre>";
print_r($xml);
partial result
[item] => Array
(
[0] => SimpleXMLElement Object
(
[guid] => {936842CF-550D-4CAB-A840-23BB4E766B8E}
[link] => http://www.thestar.com.my/Lifestyle/Women/Fashion/2014/07/02/Jamy-Yang-Mingjie-Shared-travelling-values
[title] => SimpleXMLElement Object
(
)
[description] => SimpleXMLElement Object
(
)
[pubDate] => Wed, 02 Jul 2014 00:00:00 +08:00
[enclosure] => SimpleXMLElement Object
(
[@attributes] => Array
(
[url] => http://www.thestar.com.my/~/media/Images/TSOL/Photos-Gallery/features/2014/07/02/JamyYangMingjie020714.ashx?crop=1&w=460&h=345&
[length] =>
[type] => image/jpeg
)
)
)
item->title
became SimpleXMLElement Object?