Arkadaşlar iha'nın sitesinde paylaştığı rss dökümanını php ile okumayı bir türlü beceremedim.
Link:
http://www.iha.com.tr/rss.aspx?cid=4
$xml = simplexml_load_file("http://www.iha.com.tr/rss.aspx?cid=4");
şeklinde verileri çekmeye çalışıyorum fakat şu sonucu alıyorum.
SimpleXMLElement Object
(
[head] => SimpleXMLElement Object
(
[@attributes] => Array
(
[id] => Head1
)
[title] => SimpleXMLElement Object
(
[0] =>
)
)
[body] => SimpleXMLElement Object
(
[form] => SimpleXMLElement Object
(
[@attributes] => Array
(
[method] => post
[action] => rss.aspx?cid=4
[id] => form1
)
[input] => SimpleXMLElement Object
(
[@attributes] => Array
(
[type] => hidden
[name] => __VIEWSTATE
[id] => __VIEWSTATE
[value] => /wEPDwULLTE4NzI1Nzk0NTNkZMUOoU8gV/LhD/d4rWqMrdiESOk/OmdJ3Ok+uHNySJML
)
)
[div] => SimpleXMLElement Object
(
[@attributes] => Array
(
[id] => rssdiv
)
)
)
)
)Yardımcı olabilecek varmı?