Buongiorno a tutti;
ho questa array, che proviene da un file xml;
codice:
SimpleXMLElement Object
(
[@attributes] => Array
(
[version] => 2.0
)
[channel] => SimpleXMLElement Object
(
[title] => Rss comunicati
[link] => http://rignanotest.055055.it/rss-eventi/rss.xml
[description] => SimpleXMLElement Object
(
)
[language] => it
[item] => Array
(
[0] => SimpleXMLElement Object
(
[title] => Cellai, consegnate le aiuole sensoriali alle mamme
[link] => http://rignanotest.055055.it/eventi-notizie/cellai-consegnate-le-aiuole-sensoriali-alle-mamme
[description] => xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[pubDate] => Tue, 31 May 2016 10:26:10 +0000
[guid] => 13237 at http://rignanotest.055055.it
)
[1] => SimpleXMLElement Object
(
[title] => Atti vandalici, identificati i responsabili grazie alle telecamere
[link] => http://rignanotest.055055.it/eventi-notizie/atti-vandalici-identificati-i-responsabili-grazie-alle-telecamere
[description] => xxxxxxxxxxxxxxxxxxxxxx
[pubDate] => Mon, 30 May 2016 10:46:44 +0000
[guid] => 13236 at http://rignanotest.055055.it
)
[2] => SimpleXMLElement Object
(
[title] => Pro Loco, riunioni ed elezioni
[link] => http://rignanotest.055055.it/eventi-notizie/pro-loco-riunioni-ed-elezioni
[description] => xxxxxxxxxxxxxxxx
[pubDate] => Fri, 27 May 2016 07:27:10 +0000
[guid] => 13235 at http://rignanotest.055055.it
)
[3] => SimpleXMLElement Object
(etc etc)
Mi aiutate a fare uno script per visualizzare i campi [title], [link], [description] e [pubDate] ?
Grazie