Link Attraction Factors Keyword Tool

30) {
$return[‘title_class’] = ‘very good';
$return[‘title_color’] = ‘cc3300′;
}
elseif($return[‘title_perc’]>0) {
$return[‘title_class’] = ‘good';
$return[‘title_color’] = ‘ff9933′;
}
elseif($return[‘title_perc’]>-30) {
$return[‘title_class’] = ‘bad';
$return[‘title_color’] = ‘339900’;
}
else {
$return[‘title_class’] = ‘very bad';
$return[‘title_color’] = ‘006699’;
}

$return[‘desc_diff’] = $return[‘desc’]-299;
$return[‘desc_perc’] = ($return[‘desc_diff’]/299)*100;
$return[‘desc_diff’] = round($return[‘desc_diff’], 2);
$return[‘desc_perc’] = round($return[‘desc_perc’], 2);

if($return[‘desc_perc’]>30) {
$return[‘desc_class’] = ‘very good';
$return[‘desc_color’] = ‘cc3300′;
}
elseif($return[‘desc_perc’]>0) {
$return[‘desc_class’] = ‘good';
$return[‘desc_color’] = ‘ff9933′;
}
elseif($return[‘desc_perc’]>-30) {
$return[‘desc_class’] = ‘bad';
$return[‘desc_color’] = ‘339900’;
}
else {
$return[‘desc_class’] = ‘very bad';
$return[‘desc_color’] = ‘006699’;
}

return $return;
}

if($_GET[‘word’]) {
$word = $_GET[‘word’];

$laf = laf1($word);
if($laf[‘title_diff’]==-299) { $echo .= “
\”$word\” did not appear in the title of any popular stories on Digg in 2007
“;}
else {
$title_perc = $laf[‘title_perc’];
if($title_perc>100) {$title_perc_s=100; } else {$title_perc_s=round($title_perc,0); }
$title_offset = $title_perc_s*1.8;
$title_offset=$title_offset+180;

$title_offset = round($title_offset, 0);
//$title_offset = 180;
$word_data[$word] = $laf;
if($word_data[$word][‘title_diff’]>0) { $disp_data = ““.$word_data[$word][‘title_class’].” effect: “.$word_data[$word][‘title_diff’].” (“.$word_data[$word][‘title_perc’].”%) more links than the average.”;}
else { $disp_data = ““.$word_data[$word][‘title_class’].” effect: “.$word_data[$word][‘title_diff’].” (“.$word_data[$word][‘title_perc’].”%) less links than the average”; }

$echo .= “When \”$word\” occurs in the title, it has a “.$disp_data.”
“;

$echo .= “spacer “;
}
$echo .= “
spacer
“;
if($laf[‘desc’]==0) { $echo .= “
\”$word\” did not appear in the description of any popular stories on Digg in 2007
“; }
else {
$title_perc = $laf[‘desc_perc’];
if($title_perc>100) {$title_perc_s=100; } else {$title_perc_s=round($title_perc,0); }
$title_offset = $title_perc_s*1.8;
$title_offset=$title_offset+180;

$title_offset = round($title_offset, 0);

//$title_offset = round($title_offset, 0);
$word_data[$word] = $laf;
//$title_offset = 360;
if($word_data[$word][‘desc_diff’]>0) { $disp_data = ““.$word_data[$word][‘desc_class’].” effect: “.$word_data[$word][‘desc_diff’].” (“.$word_data[$word][‘desc_perc’].”%) more links than the average.”;}
else { $disp_data = ““.$word_data[$word][‘desc_class’].” effect: “.$word_data[$word][‘desc_diff’].” (“.$word_data[$word][‘desc_perc’].”%) less links than the average”; }

$echo .= “spacer “;
$echo .= “
When \”$word\” occurs in the description, it has a “.$disp_data.”
“;
}
$word_value=$word;
}
else {
$word_value = ‘Keyword or Phrase';
}

echo ‘Enter a keyword and the tool will return data on the average number of links accumulated by stories popular on Digg that mentioned that keyword. Or you can check an entire title with the title checker tool. This tool has also been released as an API and a WordPress plugin.


‘;
if($echo) { echo $echo; }
echo “




“;
?>

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.