"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "controllers/backlink.ctrl.php" between
seopanel.v.4.5.0.zip and seopanel.v.4.6.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

backlink.ctrl.php  (seopanel.v.4.5.0):backlink.ctrl.php  (seopanel.v.4.6.0)
skipping to change at line 124 skipping to change at line 124
# alexa # alexa
case 'alexa': case 'alexa':
/*$url = 'http://data.alexa.com/data?cli=10&dat=s nbamz&url=' . urlencode($this->url);*/ /*$url = 'http://data.alexa.com/data?cli=10&dat=s nbamz&url=' . urlencode($this->url);*/
$url = $this->backUrlList[$engine] . urlencode($t his->url); $url = $this->backUrlList[$engine] . urlencode($t his->url);
$v = $this->spider->getContent($url); $v = $this->spider->getContent($url);
$pageContent = empty($v['page']) ? '' : $v['page ']; $pageContent = empty($v['page']) ? '' : $v['page '];
/*if (preg_match('/<LINKSIN NUM="(.*?)"/si', $pag eContent, $r) ) { /*if (preg_match('/<LINKSIN NUM="(.*?)"/si', $pag eContent, $r) ) {
}*/ }*/
if (preg_match('/thissite.*?<span>([0-9,]+)<\/spa n>.*?Links/si', $pageContent, $r)) { if (preg_match('/linksin".*?big.*?>(.*?)</si', $p ageContent, $r)) {
} else { } else {
$crawlInfo['crawl_status'] = 0; $crawlInfo['crawl_status'] = 0;
$crawlInfo['log_message'] = SearchEngineC ontroller::isCaptchInSearchResults($pageContent) ? "<font class=error>Captcha fo und</font> in search result page" : "Regex not matched error occured while parsi ng search results!"; $crawlInfo['log_message'] = SearchEngineC ontroller::isCaptchInSearchResults($pageContent) ? "<font class=error>Captcha fo und</font> in search result page" : "Regex not matched error occured while parsi ng search results!";
} }
$backlinkCount = !empty($r[1]) ? intval(str_repla ce(",", "", $r[1])) : 0; $backlinkCount = !empty($r[1]) ? intval(str_repla ce(",", "", $r[1])) : 0;
break; break;
} }
// update crawl log // update crawl log
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)