Google cache didnot return valid result direct call to ezine '.$x;
curl_setopt ( $this->ch, CURLOPT_URL, wp_automatic_trim( ( urldecode( $url ) ) ) );
curl_setopt ( $this->ch, CURLOPT_REFERER, 'http://ezinearticles.com' );
$exec = curl_exec ( $this->ch );
if(stristr($exec, 'comments')){
echo '
Ezinearticles returned the article successfully ';
}else{
if(stristr($exec,'excessive amount')){
echo '
Ezinearticles says there is excessive amount of traffic';
return false ;
}else{
echo '
Ezinearticles did not return the article we called... Will die now and try with a new article another time. ';
return false ;
}
}
}
}
// extracting articles
$arr = explode ( 'article-content">', $exec );
$lastpart = $arr [1];
unset ( $arr );
$newarr = explode ( '
.*?
}s', '', $cont);
// get the title
Make Money With Google Profit Kits Exposed - Don't Get Ripped Off!
@preg_match_all ( "{
(.*?)}", $exec, $matches, PREG_PATTERN_ORDER );
@$res = $matches [1];
@$ttl = $res [0];
if (isset ( $ttl )) {
$title = $ttl;
}
// get author name and author link
Naina Jain
@preg_match_all ( '{
used_keyword=$link->keyword;
if( wp_automatic_trim($ret['cont']) == '' ) echo ' exec:'.$exec;
return $ret;
} // foreach link
} // if count(links)
} // if keyword not ''
} // foreach keyword
}
}