Alternative AGC BING Tanpa API,santer kabar tentang API BING yang sebentar lagi menjadi berbayar,banyak temen yang bingung untuk mencari alternative buat ber-AGC-ria xixixixixi.sebenenrnya masih banyak cara bermain AGC tanpa api,salah satunya memanfaatkan rss dari bing seperti yang pernah saya tulis di sini,apa masih perlu di bahas lebih perinci lagi?
Kode rss tersebut bisa juga untuk tipe agc pdf dengan menambahkan “filetype:pdf” juga doc exel dan power point.
contoh untuk pdf seperti ini :
?Download download.txt
1 | $rss = fetch_feed('http://www.bing.com/search?q=filetype:pdf' . str_replace(' ', '+', $query) . '&go=&form=QBLH&filt=all&format=rss'); |
untuk agc single dan 404 contoh untuk agc pdf seperti ini
?Download download.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <div class="ayu-post"><?php $edit = array ('-' , '/' , '.html');
$sumber = str_replace($edit, ' ', $_SERVER['REQUEST_URI']);
?>
<?php
// Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/feed.php');
$query = $sumber ;
$rss = fetch_feed('http://www.bing.com/search?q=filetype:pdf' . str_replace(' ', '+', $query) . '&go=&form=QBLH&filt=all&format=rss');
if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly
// Figure out how many total items there are, but limit it to 10.
$maxitems = $rss->get_item_quantity(5);
// Build an array of all the items, starting with element 0 (first element).
$rss_items = $rss->get_items(0, $maxitems);
endif;
?>
<?php if ($maxitems == 0)
echo ' ';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<h2 class="postTitle"><a href="http://adf.ly/7498/<?php echo $item->get_permalink(); ?>" target="_blank" rel="nofollow"><?php echo $item->get_title(); ?></a></h2>
<?php echo $item->get_description(); ?>
<?php
$erase = array ('block keyword di sini',';' , '%' , '+' , '-' , '&', ':' , 'amp;' , ' ...' , ' ....' , ' .....' , '–' , '|' , '/' , '[' , ']' , '?' , '$' , ',' , '.' , '«' , '(' , ')', '::' , '~');
$first = str_replace ($erase , '' , $item->get_title());
$encode = urlencode(strtolower($first));
$plus = str_replace ('+' , '-' , $encode);
$minus = array ('--' , '---' , '----');
$link = str_replace ($minus , '-' , $plus);
?>
<a href=<?php bloginfo('url'); ?>/search/<?php echo $link; ?>><?php echo $item->get_title(); ?></a>
<?php endforeach; ?></div> |
untuk halaman search
?Download download.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <div class="ayu-post">
<?php
// Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/feed.php');
$query = urlencode($s);
$rss = fetch_feed('http://www.bing.com/search?q=filetype:pdf' . str_replace(' ', '+', $query) . '&go=&form=QBLH&filt=all&format=rss');
if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly
// Figure out how many total items there are, but limit it to 10.
$maxitems = $rss->get_item_quantity(5);
// Build an array of all the items, starting with element 0 (first element).
$rss_items = $rss->get_items(0, $maxitems);
endif;
?>
<?php if ($maxitems == 0)
echo ' ';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<h2 class="postTitle"><a href="http://adf.ly/7498/<?php echo $item->get_permalink(); ?>" target="_blank" rel="nofollow"><?php echo $item->get_title(); ?></a></h2>
<?php echo $item->get_description(); ?>
<?php
$erase = array ('block keyword di sini',';' , '%' , '+' , '-' , '&', ':' , 'amp;' , ' ...' , ' ....' , ' .....' , '–' , '|' , '/' , '[' , ']' , '?' , '$' , ',' , '.' , '«' , '(' , ')', '::' , '~');
$first = str_replace ($erase , '' , $item->get_title());
$encode = urlencode(strtolower($first));
$plus = str_replace ('+' , '-' , $encode);
$minus = array ('--' , '---' , '----');
$link = str_replace ($minus , '-' , $plus);
?>
<a href=<?php bloginfo('url'); ?>/search/<?php echo $link; ?>><?php echo $item->get_title(); ?></a>
<?php endforeach; ?></div> |
Untuk imagenya gmana kang?
@Yoyon : Belum nemu kang,paling ya grabbing pake file get content wkwkkwkwk
kalau agc buat image bisa pake Google API kan?
@4ndr1 : Gugel api kan dah tutup juga
kalau pun yang lama masih bisa itu juga terbatas,beberapa kali request akan kosong hasilnya
Yang grabbing image pake file get content gimana mastah, ndak sekalian dishare scriptnya? :Ngarep.com:
Ane pake sisa2 api google soalnya
@Assyams : bisa pake flickr
di single post bisa mas, tapi di search kok gak bisa ya? tapi kalo “filetype:pdf” di hapus bisa muncul , cuman kan bukan pdf jadinya,makasih bnyk sebelumnya atas jawabannya. moga om maxall sukses terus amin
blom dijawab….. sama kasus…
coba liat postingan yang lama
http://agcku.com/tutorial/membuat-agc-paling-mudah.html
utak atik dikit lah
klo buat image filetypenya gmna hahaha
@togok : untuk image saat ini yang masih jalan pake xml mas wkwkwkwkwk
kelemahan dari agc yg menggunakan hasil Feed akan membuat wp_options di DB akan membengkak
_transient_timeout_feed_mod_c6b49e6d6dd964060aa626
kalau pake script sendiri pasti beda hasilnya
banyak kok script buat baca feed selain di atas tanpa memanfaatkan bawaan wp xixixixi