Archive - Dec 12, 2006

Date
  • All
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec

AdsBlackList

AdsBlackList picks out "bad ads", include the ads that pay in pennies and the ones that destory the reputation of the publisher, list them and let you put them in your Google Adsense block list.

Editor Comment:

I just blocked over 200 sites, looks like there are no "Impressive" 1 cent per click.

adGridWork

in

AdGridWork Logo
adGridWork allow advertisers to put free ads on publishers, the trick is you also have to be a publisher to advertise other sites. In the sense of what it does, it's acually a site exchange program with a attractive name. But use adGridWork is better than making one of your own, because it saves the time and it have fair amount of users.
How adGridWork works

Editor Comment:

Now is the best time to enter adGridWork because it have relatively small amount of user, so it's easy to get referrals and get rewards.

How to use Timeline for Wordpress archives

Basically, just read this post Timeline Archive View For WordPress and then do some improvement by following my article.
First, we don't want to generate a XML file every time, so make it generate one XML file and let the Timeline uses that XML file. Here is the code, put this code in the wordpress root, this is the modified version of the original one from Crickets Chirping:

if (empty($wp)) {
    require_once('wp-config.php');
    wp('feed=atom');
}
$more = 1;
$data = '<data>';
$my_query = new WP_Query('showposts=50');//change the number for showposts
//to how many post you want to show on the timeline.
 
while ($my_query->have_posts()){
	$my_query->the_post();
    $data .= '<event 
        start="';
        ob_start();
    	$data .= get_post_time('M d Y H:i:s \G\M\T', true);
    	ob_end_clean();
        $data .= '"
        isDuration="false"
        title="';
        ob_start();
        the_title_rss();
        $data .= ob_get_contents();
        ob_end_clean();
        $data .= '"
        link="';
        ob_start();
        permalink_single_rss();
        $data .= ob_get_contents();
        ob_end_clean();
        $data .= '">';
 
	ob_start();
	the_excerpt_rss(40, 1);
	$cool = ob_get_contents();
	ob_end_clean();
	$data .= str_replace('>','&gt;',str_replace('<', '&lt;',$cool));
	$data .= '</event>';
}
 
$data .= '</data>';
$fname = "timeline-xml.xml";//name of the file
$fhandle = fopen($fname,"w");
fwrite($fhandle,$data);
fclose($fhandle);

And that generate a XML file in the server. Make the Timeline API link to that XML file
Now we just want to run it every one hour(or what ever you think it's fit), do that by configure the cron job or using a fake cron script like WP-cron.

Honey Pot that kill bots