«Как исправить ошибку« Rss Xml İmage read »в PHP» - PullRequest
0 голосов
/ 29 мая 2019

rss xml img используя php код

<?php $xml = simplexml_load_file('http://kemerhaber.com/rss');?><?php $s=0;foreach($xml->channel->item as $item){if($s<5){echo'<div style="clear:both;"><h3><strong><a title="'.$item->title.'" href="'.$item>link.'">'.$item>title.'</a></strong></h3> <div style="width:100%;">'.mb_substr($item->description,0,100,"UTF-8").'.</div></div>';}$s++;}?>
...