Thursday, November 5, 2009

New Wordpress Plugin - PingCrawl

The following article covers a topic that has recently moved to center stage--at least it seems that way. If you've been thinking you need to know more about it, here's your opportunity.
Yahoo in fact has an API function thatll go back tags connected to post book and keyword.

In my WordPress happy plugin, I use the ,next function to drag rear a group of connected tags:

function find_tags($keyword, $content) {

$content=preg_replace('|]*>|',' ',"$keywordn$content");
$content=preg_replace('|s{2,}|',' ',$content);

$url = "";
$post = array('appid'=>'YahooDemo', 'context'=>$content, 'query'=>$keyword, 'output'=>'php');

Hopefully the information presented so far has been applicable. You might also want to consider the following:

$ch = curl_init();
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec ($ch);
curl_close ($ch);

$results = unserialize($response);
$tags = @array_merge(explode(',',$tags), $results['ResultSet']['Result']);

@array_walk($tags, create_function('&$value','$value = ucwords(trim($value));'));

$tags = @array_unique($tags);


return $tags;

Unfortunately, it frequently pulls rear too a lot of tags so to efficiently use it by means of pingcrawl, optimistic require to trim the catalog somehow.

That's the latest from the seo techniques authorities. Once you're familiar with these ideas, you'll be ready to move to the next level.


Post a Comment