Monthly Archives: June 2012

Azon Content Generator

Plugin Terbaru :D Auto Generate Content (AGC) ,dari nama dah keliatan wkwkwkwkkw

Beberapa Fasilitas Azon Content Generator

Sesuai dengan namanya, plugin ini berfungsi untuk menciptakan konten secara otomatis. Kami menggunakan teknologi Amazon API, sehingga hasil pencarian produk yang akan diambil sebagai konten akan jauh lebih tertarget sesuai dengan keyword yang ada.
Mendukung Website Amazon dari Sembilan (9) Negara

Dimanapun fokus market Anda, apakah Amerika, Inggris, Kanada, Jerman, Itali, Spanyol, Prancis, Jepang atau bahkan China sekalipun Anda cukup memiliki satu tools, yaitu Azon Content Generator!
Usia Cookie Lebih Lama

Anda bisa mengatur agar usia cookie menjadi lebih panjang, yaitu 90 hari! Hal ini akan meningkatkan kemungkinan Anda untuk memperoleh komisi dari transaksi yang terjadi selama 90 hari kedepan setelah Anda mengirimkan trafik ke website Amazon.

selengkapnya silahkan kunjungi http://azoncontentgenerator.com/

AGC Image Dari Flickr

AGC Image Dari Flickr,oke langsung saja heheheh,untuk membuat agc image dengan source flickr ada 2 cara.
1.menggunakan API kunjungi http://www.flickr.com/services/api/
2.menggunakan RSS kunjungi http://www.flickr.com/services/feeds/

di sini akan ane tulis contoh cara membuat agc dari flickr dengan menggunakan RSS,kode yang di gunakan sama dengan kode yang ada di sini.

sedikit cuplikan dari http://www.flickr.com/services/feeds/

Feed Formats

All Flickr feeds can be requested in a number of formats using a format parameter. The following values are accepted:

rss_200 or rss2
An RSS 2.0 formatted feed.
atom_1 or atom
An Atom 1.0 formatted feed.
rss_091
An RSS 0.91 formatted feed.
rss_092 or rss
An RSS 0.92 formatted feed.
rss_100 or rdf
An RSS 1.0 formatted feed.
rss_200_enc
An RSS 2.0 formatted feed with enclosures (but without enclosure sizes).

Other feed formats include php, php_serial, csv, json, sql, yaml, cdf and more.

Feed Languages

All Flickr feeds can be requested in a number of languages using a lang parameter. The following values are accepted:

de-de
German
en-us
English
es-us
Spanish
fr-fr
French
it-it
Italian
ko-kr
Korean
pt-br
Portuguese (Brazilian)
zh-hk
Traditional Chinese (Hong Kong)

dari situ kita pilih feed untuk public photo & video,parameter rss2 dan languange biarin default (en-us).hasil ahir url feed yang kita dapatkan kurang lebih seperti ini

http://api.flickr.com/services/feeds/photos_public.gne?format=rss2&tags=keywords&tagmode=any

oke mulai memasang kode php untuk membuat agc dari url feeds tersebut

pertama kita buat fungsi untuk memanggil keywords

untuk halaman search :

?Download download.txt
1
2
3
4
<?php
$cari = urlencode($s);
$cari = preg_replace('/([^a-z0-9]+)/i',' ',$cari);
?>

untuk halaman single / 404 :

?Download download.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
function agcku_judul(){
	$basename = str_replace(array('.php','.html','.htm'),'',basename($_SERVER['REQUEST_URI']));
	$ser = array ('@[/]+@', '@(..*)@', '@[-]+@', '@[_]+@', '@[s]+@', '@archives@','@(?.*)@','/d/');
	$replace = array (' ', '', ' ', ' ', ' ', '', '','');
	$term = preg_replace($ser, $replace, $basename);
	$term = trim($term);	
	return $term;
}
?>
<?php
$cari = agcku_judul();
$cari = preg_replace('/([^a-z0-9]+)/i',' ',$cari);
?>

kemudian proses penggunaan feed

?Download download.txt
1
2
3
4
5
6
7
8
<?php
include_once(ABSPATH . WPINC . '/feed.php');
$rss = fetch_feed('http://api.flickr.com/services/feeds/photos_public.gne?format=rss2&tags='.str_replace(" ",",",$cari).'&tagmode=any');
if (!is_wp_error( $rss ) ) :
$maxitems = $rss->get_item_quantity(6);
$rss_items = $rss->get_items(0, $maxitems);
endif;
?>

proses menampilkan hasil :

?Download download.txt
1
2
3
4
5
6
7
<?php if ($maxitems == 0)
echo ' ';
else
foreach ( $rss_items as $item ) : ?>
<h2><?php echo $item->get_title();?></h2>
<p><?php $item->get_description();?></p>
<?php endforeach; ?>

untuk mengambil gambar nya saja tanpa title / deskripsi bisa pake kode seperti berikut ini (gambar bawaan feed ukuran thumbnail)

?Download download.txt
1
2
3
4
5
6
7
8
9
10
<?php if ($maxitems == 0)
echo ' ';
else
foreach ( $rss_items as $item ) : ?>
<?php 
$gambare = $item->get_description();
preg_match('/<img src="(.*?)"/i', $gambare, $gambar);
	$gambar = $gambar[1]; ?>
<img src="<?php echo $gambar;?>">
<?php endforeach; ?>

kalau ingin gambar dalam ukuran aslinya

?Download download.txt
1
2
3
4
5
6
7
8
9
10
<?php if ($maxitems == 0)
echo ' ';
else
foreach ( $rss_items as $item ) : ?>
<?php 
$gambare = $item->get_description();
preg_match('/<img src="(.*?)"/i', $gambare, $gambar);
	$gambar = $gambar[1]; ?>
<img src="<?php echo str_replace("_m","",$gambar);?>">
<?php endforeach; ?>

selesai :lol:

Alternative AGC BING Tanpa API

agc bing tanpa apiAlternative 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>