", ">", $feed); $clean = explode("", $feed); $amount = count($clean) - 1; $key_tweeterwords = array(); $urls = array(); $urls_index=0; for ($i = 1; $i <= $amount; $i++) { $entry_close = explode("", $clean[$i]); $clean_content_1 = explode("", $entry_close[0]); $clean_content = explode("", $clean_content_1[1]); $clean_name_2 = explode("", $entry_close[0]); $clean_name_1 = explode("(", $clean_name_2[1]); $clean_name = explode(")", $clean_name_1[1]); $clean_uri_1 = explode("", $entry_close[0]); $clean_uri = explode("", $clean_uri_1[1]); $stripped_clean = strip_tags($clean_content[0]); $tweeterwords = explode(" ", $stripped_clean); $num_tweeterwords = count($tweeterwords) - 1; for ($s = 0; $s <= $num_tweeterwords; $s++) { $tweeterwords[$s] = str_replace("'","'", $tweeterwords[$s]); $tweeterwords[$s] = str_replace("<b>","", $tweeterwords[$s]); $tweeterwords[$s] = str_replace("</b>","", $tweeterwords[$s]); if (stristr($tweeterwords[$s], "http")) { $currenturl = stristr($tweeterwords[$s], "http"); $endcharacter = strpos($currenturl, ">"); $currenturl = str_replace(substr($currenturl, $endcharacter), "", $currenturl); $currenturl = str_replace(""", "", $currenturl); //echo $tweeterwords[$s] . "
"; $tweeterwords[$s] = str_replace($currenturl, " ",$tweeterwords[$s]); //echo $tweeterwords[$s] . "
"; $urls[$urls_index] = $currenturl; $urls_index++; } } } $num_urls = count($urls) - 1; $tags = array_count_values($urls); //arsort($tags); if ($tags) { $max_size = 36; // max font size in pixels $min_size = 14; // min font size in pixels // largest and smallest array values $max_qty = max(array_values($tags)); $min_qty = min(array_values($tags)); // find the range of values $spread = $max_qty - $min_qty; if ($spread == 0) { $spread = 1; } // set the font-size increment $step = ($max_size - $min_size) / ($spread); foreach ($tags as $key => $value) { $size = round($min_size + (($value - $min_qty) * $step)); if ($users == "users") { if (strpos($key, "ttp://twitter.com/") && !strpos($key, "%23")) { echo "" . str_replace("http://twitter.com/" , "", $key) . "    "; } } if ($users == "hashtags") { if (strpos($key, "%23")) { echo "" . str_replace("http://search.twitter.com/search?q=%23", "", $key) . "    "; } } if ($users == "links") { if (!strpos($key, "twitter")) { $url = $key; $file = file($url); $file = implode("",$file); if(preg_match("/(.+)<\/title>/i",$file,$m)) { $title="$m[1]"; } echo "<a href='" . $key . "' style='font-size: " . $size . "px'>" . $title . "</a>    "; } } } } else { echo "No data found."; } } //parse_feed($limit, $show, 0); ?> <html> <head> <title>Tweeterpedia: Your Links Define You

Enter Twitter Username:

Links

Hashtags #

Users @