watch sexy videos at nza-vids!
HocSinhIT - Wap Game , Đọc Truyện , Giải Trí , Girl Xinh
»»
Tìm kiếm » Tệp tin (0)
↓Share Code get keyword google cho johnCMS
Share Code get keyword google cho johnCMSShare Code get keyword google cho johnCMS +1

402
04:15:49 / 2015-02-08
Chia sẻ: SMS Google Zing Facebook Twitter

Bài Viết: Share Code get keyword google cho johnCMS

»

Share Code Đăng Kí Tài Khoản Bằng Nick Facebook Cho JohnCMS

»

Hướng dẫn tạo apps login Facebook đơn giản

»

Share Code Hiển Thị thời Gian Trong Bài viết Filelist Xtgem

nó là code thôi, tùy a ce làm ntn nó mới thành mod được
cái này là mình tách trong wap ra vì mình củng chả xài,
có 2 fuction cho ae xài đây

VIEW CODE:
function loadhtml ($url){ $curl  = curl_init (); $header =array(); $header [] = "Accept: text/xml,application/xml,application/xhtml xml,"; $header [] = "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header [] = "Cache-Control: max-age=0"; $header [] = "Connection: close"; $header [] = "Content-type: text/plain"; $header [] = "Keep-Alive: 300"; $header [] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header [] = "Accept-Language: en-us,en;q=0.5"; $header [] = "Pragma: no-cache"; // browsers keep this blank. curl_setopt  ($curl, CURLOPT_URL, $url); curl_setopt  0; curl_setopt  $curl,CURLOPT_REFERER,"[url]http:; curl_setopt  ($curl, CURLOPT_AUTOREFERER, true); curl_setopt  ($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt  ($curl, CURLOPT_HTTPHEADER, $header); curl_setopt  ($curl, CURLOPT_ENCODING, "gzip,deflate"); $data = curl_exec($curl); curl_close  ($curl); return  $data; } function keyw ($str) { $url  = " http://ajax.googl eapis.com /ajax/services /search /web?v=1.0&q=". urlencode($str) . '&rsz=large&start=1'; $body  = loadhtml ($url); $json  = json_decode($body); for0;$x  ){ $tt   .= ',' . $json->responseData->results[$x]->title . ',' . $json->responseData->results[$x]->content; } preg_match_all  ('#<b>(. ?)</b>#',$tt,$result); foreach ( array_unique($result[0]) as $kw) { $keyw  .=  preg_replace(array('#<b>#','#<,array('','',''),$kw)) . ','; } return  $keyw; }

các bac dùng như sau, cho 2 thằng ấy vào 1 chỗ, nói chung là nên chèn nguyên 2 fuction ấy vào chỗ nào đó thích hợp. ok. giả sử bạn có key là "hot key này", bạn muốn kiếm tất cả key liên quan đến nó trên gg bạn chỉ việc gọi như sau
VIEW CODE:
$result = keyw ('hot key này'); echo $result;

code trên có công dụng là tìm kiếm từ khóa phù hợp, cái này hữu ích cho tags lắm nhé, giả sử bạn có tiêu đề bài viết, bạn hãy thử gọi như tn xem:
VIEW CODE:
$key = keyw ($textl); echo $key;

khè khè, thực ra nó củng chỉ là 1 ứng dụng nhỏ của api do google cấp , ta chế biến tí cho nó có hương vị khác thôi, tùy theo khả nawg sáng tạo của moder mà đoạn code trên sẽ có nhiều kiểu tags mới củng nên =)), hết

Cùng chuyên mục
» Mod Giftcode nhận quà JohnCMS
» Share Code get keyword google cho johnCMS
» Share Code xóa quảng cáo Xtgem bằng css
» Bước Seo đầu tiên cho người mới học SEO
»Seo là gì? Seo để làm gì?
Bạn Đã Xem Chưa
Tags:

share code get keyword google cho johncms

JohnCMS share code get keyword google cho johncms Share Code get keyword google cho johnCMS Share mod johncms johncms 5.5 mod full share mod khung mod johncms moi nhat share code johncms mod full
Liên Hệ0.0002290
U-ON. ..fake Taxi Videos