Code: Select all
$doc = domxml_new_doc("1.0");
$doc = domxml_open_file('http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss');
$item_array = $doc->get_elements_by_tagname("item");Code: Select all
$title_array = $item_array->get_elements_by_tagname("title");It doesn't seem to work as I've got it above but I could be doing something else daft.
Any help would be much appreciated.
B