
Başka sitenin xml dosyasından
description un içinden istedigimiz aralıgı nasıl alırız?
preg_match('/<description>(.*)<\/description>/i', $temp[$i], $desc);yazınca hepsi geliyor. Bunun içinden sadece resim linkini veya video embed ini nasıl ayıklarım?
description>Duration : 2 min<br>Url : http://www.xsitesi.com/video221629/xxx<br><img src='http://thumbs2.img.xsitesi.com/loading/thumbs/d/9/8/d9883990b515e463a533ab87cebf434e.11.jpg'><br><img src='http://thumbslll2.img.xsitesi.com/loading/thumbslll/d/9/8/d9883990b515e463a533ab87cebf434e.11.jpg'><br>&lt;object width=&quot;510&quot; height=&quot;400&quot; classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; codebase=&quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&quot; &gt;&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#000000&quot; /&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot; /&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.xsitesi.com/sitevideos/flv_player_site_v4.swf&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;flashvars&quot; value=&quot;id_video=221629&quot; /&gt;&lt;embed src=&quot;http://www.xsitesi.com/sitevideos/flv_player_site_v4.swf&quot; allowscriptaccess=&quot;always&quot; width=&quot;510&quot; height=&quot;400&quot; menu=&quot;false&quot; quality=&quot;high&quot; bgcolor=&quot;#000000&quot; allowfullscreen=&quot;true&quot; flashvars=&quot;id_video=221629&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; /&gt;&lt;/object&gt;<br> </description>