ta set từng biến nha
{ $binhtrongbk = file_get_contents("http://www.news.zing.vn/"); }
=> đoạn đó là link cần lấy
1 có thể là ten trang web
2 có thể là http://xtseo.xtgem.com/$file.html
ta set từng biến $list
{ $list = explode('<a href="',
$binhtrongbk);}
=> tự động get 1 list trang mun leech
xem trang leech la dang nao thj cac pan
dien vao nha
1 <a class="" herf="">
2 <a id="" href="">
3 <a herf="">
còn biến $link = explode('#up hoac
#new"', $list[$i]); tam goi la ten link. kem
theo neu co hay them vao ko thj co the
xoa....
den bien $nd
bien tieu de ...thuong thj la <title></title>
<h1><h2><h3>....hoac <div class="">
{ preg_match('#<h1 class="article-title">
(.*?)</h1>#is', $nd, $title);}
biến lay van ban $nd bien do cung gjong
mo the va dong the cho van ban zay
phan nay nhju pan chu hjeu .leech $nd
ve wap .nam o doan ma nay
$nd = explode('<div class="article-summary">',$nd);
$nd = explode('</div>',$nd[1]);
$nd = strip_tags($nd[0],
thuong thj <div class=""> <div id=""> <--/$ten---> tuy vao trang mun leech như
the nao nha
cũng dung tuong dung cho viet toot leech
vt va id
p/s: ai có san pham nao vuj long share
nha . L.I.N.H