<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Half an IP address and the fix for the Yahoo Search API 999 error</title>
	<atom:link href="http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 25 Dec 2011 23:47:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Internet marketingtips</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-30344</link>
		<dc:creator>Internet marketingtips</dc:creator>
		<pubDate>Fri, 30 Sep 2011 16:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-30344</guid>
		<description>&lt;strong&gt;Internet marketingtricks...&lt;/strong&gt;

[...]Affiliate Marketing &#187; Half an IP address and the fix for the Yahoo Search API 999 error &#187; Affiliates on Fire &#187; Blog Archive[...]...</description>
		<content:encoded><![CDATA[<p><strong>Internet marketingtricks&#8230;</strong></p>
<p>[...]Affiliate Marketing &raquo; Half an IP address and the fix for the Yahoo Search API 999 error &raquo; Affiliates on Fire &raquo; Blog Archive[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-940</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sat, 21 Mar 2009 17:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-940</guid>
		<description>James and mmfoscar - thanks for leaving a comment - glad it helped!!</description>
		<content:encoded><![CDATA[<p>James and mmfoscar &#8211; thanks for leaving a comment &#8211; glad it helped!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmfoscar</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-676</link>
		<dc:creator>mmfoscar</dc:creator>
		<pubDate>Tue, 24 Feb 2009 17:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-676</guid>
		<description>Great bug tracking (Y)

Thanks a lot for the post.</description>
		<content:encoded><![CDATA[<p>Great bug tracking (Y)</p>
<p>Thanks a lot for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-674</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-674</guid>
		<description>Hi Jonathan,

Well done for finding the solution.  I had a feeling it could be the User Agent but I had it set at Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) which, after a few calls, gave the dreaded 999 response.  Your user agent fixed it.  Cheers!</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Well done for finding the solution.  I had a feeling it could be the User Agent but I had it set at Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) which, after a few calls, gave the dreaded 999 response.  Your user agent fixed it.  Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-551</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 18 Jan 2009 23:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-551</guid>
		<description>Ryan - no problem - glad it helped!</description>
		<content:encoded><![CDATA[<p>Ryan &#8211; no problem &#8211; glad it helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-550</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 18 Jan 2009 23:55:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-550</guid>
		<description>Hemachander, you have a lot of functionality in this one file.  I suggest you break it down and output the raw results you&#039;re getting back from the call - including the HTTP code to see what&#039;s going on.</description>
		<content:encoded><![CDATA[<p>Hemachander, you have a lot of functionality in this one file.  I suggest you break it down and output the raw results you&#8217;re getting back from the call &#8211; including the HTTP code to see what&#8217;s going on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-505</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 10 Jan 2009 15:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-505</guid>
		<description>Thanks, this saved me a ton of time troubleshooting this bug!</description>
		<content:encoded><![CDATA[<p>Thanks, this saved me a ton of time troubleshooting this bug!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemachander</title>
		<link>http://www.affiliatesonfire.com/web-hosting/half-an-ip-address-and-the-fix-for-the-yahoo-search-api-999-error/comment-page-1/#comment-498</link>
		<dc:creator>Hemachander</dc:creator>
		<pubDate>Thu, 08 Jan 2009 16:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.affiliatesonfire.com/?p=55#comment-498</guid>
		<description>I got same problem for backlinks using yahoo api. It does not returns any results through php code but when i try in browser with the yahoo api url it works and it returns default 50 urls.
Please have a look my code and suggest or correct my code. Thank you.


&lt;code&gt;



Link Text Explorer




#sortby {
	display:none;
	}







Logged in as &lt;b&gt;&lt;/b&gt; &#124; &lt;a href=&quot;/tools/logout.php&quot; rel=&quot;nofollow&quot;&gt;Logout&lt;/a&gt;



	Location: 

	&lt;a href=&quot;http://217.34.144.114/tools/index.php&quot; rel=&quot;nofollow&quot;&gt;Tools&lt;/a&gt;
	 &gt; 
	&lt;a href=&quot;http://217.34.144.114/tools/backlinks/index.php&quot; rel=&quot;nofollow&quot;&gt;Backlinks&lt;/a&gt;
	 &gt; 
	Link Text Explorer		
 &lt;!-- end breadcrumbs --&gt;


	
	
	
 &lt;!-- end mast --&gt;

Link Text Explorer
The &lt;b&gt;title&lt;/b&gt;, &lt;b&gt;link text&lt;/b&gt; and number of &lt;b&gt;external links&lt;/b&gt; is retrieved from each page, together with the &lt;b&gt;page PageRank&lt;/b&gt; and &lt;b&gt;domain PageRank&lt;/b&gt; (if required).



	&lt;form action=&quot;&quot; method=&quot;get&quot;&gt;
	
	URL&lt;input type=&quot;text&quot; name=&quot;query&quot; size=&quot;60&quot; value=&quot;&quot; /&gt;
	Results
	
	
		&lt;option value=&quot;&quot; &gt;
	
		
	
	PageRank
	&lt;input type=&quot;checkbox&quot; name=&quot;pagepr&quot; id=&quot;page&quot;  /&gt;Page&#160;
	&lt;input type=&quot;checkbox&quot; name=&quot;domainpr&quot; id=&quot;domain&quot; /&gt;Domain
		
	
	
	


&lt;?php

function get_html ($url) {
	$html = &quot;&quot;;
	$timeout = 10;
	ini_set(&#039;user_agent&#039;,&#039;Mozilla: (compatible; Windows XP)&#039;);
	$old = ini_set(&#039;default_socket_timeout&#039;, $timeout);
	$fh = fopen($url, &#039;r&#039;);
	if ($fh) {
		ini_set(&#039;default_socket_timeout&#039;, $old);
		stream_set_timeout($fh, $timeout);
		stream_set_blocking($fh, 0);
		while (! feof($fh)) {
			$html .= fread($fh, 4096);
		}
		fclose($fh);
		return $html;
	} else {
		return 0;
	}
}

function get_pageinfo($url, $query) {
	$html = get_html ($url);
	if ($html) {
		$pageinfo[&#039;success&#039;] = 1;	
		$html = preg_replace(&#039;/\n/&#039;, &#039; &#039;, $html);
		$pattern  = &#039;#&lt;a&gt;#im&#039;;
		preg_match_all($pattern, $html, $matches);
		$pageinfo[&#039;ExternalLinks&#039;] = 0;
		$linktext = &quot;&quot;;
		if ($matches) {
			foreach ($matches[0] as $match) {
				if ( preg_match(&quot;#$query#i&quot;, $match) ) {
					$text = &quot;&quot;;
					if ( preg_match(&#039;#&lt;img#im&#039;, $match) ) {
						$text .= &quot;[IMG]&quot;;
						if ( preg_match(&#039;#alt\s*=\s*&quot;(.*?)&quot;#im&#039;, $match, $alt) ) {
							$text .= &quot; $alt[1]&quot;;
						}
					} else {
						$text = strip_tags($match);
					}
					$pageinfo[&#039;LinkText&#039;] = $text;
				}
				if ( preg_match(&quot;#http://#i&quot;, $match) ) {
					$pageinfo[&#039;ExternalLinks&#039;]++;
				}			
			}
		}
	} else {
		$pageinfo[&#039;success&#039;] = 0;
	}
	return $pageinfo;
}

if ( isset($_GET[&#039;query&#039;]) ) {

	require_once (&#039;pagerank2.php&#039;);
?&gt;
Results
Notes

[IMG] denotes link is an image. The text following is the ALT text.
[X] denotes the page could not be loaded.

&lt;?php

	flush();
	
	echo &quot;&lt;b&gt;$query&lt;/b&gt; has a PageRank of &lt;b&gt;&quot;.trim(getrank($query)).&quot;&lt;/b&gt;.\n&quot;;
	flush();
	#mryahoodemo
	$params = array( &quot;appid&quot; =&gt; &quot;mryahoodemo&quot;,
					&quot;query&quot; =&gt; $query,
					&quot;results&quot; =&gt; $num,
					&quot;start&quot; =&gt; $start,
					&quot;omit_inlinks&quot; =&gt; &quot;domain&quot;
				);
				
	$request = &quot;&quot;;
	foreach ($params as $param =&gt; $value) {
		$request .= &quot;$param=$value&amp;&quot;;
	}

	$yahoo_api =&quot;http://api.search.yahoo.com/WebSearchService/V1/webSearch?&quot;;
	#$yahoo_api=&quot;http://search.yahooapis.com/SiteExplorerService/V1/inlinkData?&quot;;
	#$yahoo_api = &quot;http://api.search.yahoo.com/SiteExplorerService/V1/inlinkData?&quot;;
	$ResultSet = simplexml_load_file ( urlencode($yahoo_api.$request) );
	
	if ($ResultSet) {
	
		$totalResultsAvailable = $ResultSet[&#039;totalResultsAvailable&#039;];
		$totalResultsReturned = $ResultSet[&#039;totalResultsReturned&#039;];
		$firstResultPosition = $ResultSet[&#039;firstResultPosition&#039;];
		$lastResultPosition = $firstResultPosition + $params[&#039;results&#039;] - 1;
	
		if ($totalResultsReturned &gt; $totalResultsAvailable) {
			$lastResultPosition = $totalResultsAvailable;
		}

		echo &quot;Results &lt;b&gt;$firstResultPosition - $lastResultPosition&lt;/b&gt; of about &lt;b&gt;&quot;.number_format($totalResultsAvailable).&quot;&lt;/b&gt; for &lt;b&gt;$query&lt;/b&gt;.\n&quot;;
?&gt;


&lt;b&gt;Sort by: &lt;/b&gt;&#160;
#&#160;
External Links&#160;

Page PageRank&#160;


Domain PageRank






	
	#
	URL
	
	Visit
	Title
	Link Text
	External Links
	
	Page PageRank
	
	
	Domain PageRank
	
	


Result as $Result) {
		
		

			// InLinks
			$Title = $Result-&gt;Title;
			$Url = $Result-&gt;Url;
			$ClickUrl = $Result-&gt;ClickUrl;

			// PageInfo
			$PageInfo = get_pageinfo($Url, $query);
			if ($PageInfo[&#039;success&#039;]) {
				$success = &quot;&quot;;
			} else {
				$success = &quot;[X]&quot;;
			}
			
			// Link Text
			$LinkText = &quot;&quot;;
			if ($PageInfo[&#039;success&#039;]) {
				if (isset($PageInfo[&#039;LinkText&#039;])) {
					$LinkText = $PageInfo[&#039;LinkText&#039;];
				} else {
					$LinkText = &quot;[NULL]&quot;;
				}
			}						
			if ($LinkText != &quot;[NULL]&quot;) {

				if (++$count%2) { $class = &quot;even&quot;; } else {	$class = &quot;odd&quot;; }
				echo &quot;&quot;;				
				echo &quot;&quot;.$count.&quot;\n&quot;;
				echo &quot;&quot;.preg_replace(&#039;#^http://#&#039;, &#039;&#039;, wordwrap($Url, 25, &quot; &quot;, 1)).&quot;&quot;;
				echo &quot;&quot;.$success.&quot;&quot;;
				echo &quot;&lt;a&gt;[visit]&lt;/a&gt;&quot;;
				echo &quot;&quot;.$Title.&quot;&quot;;
				
				// External Links
				$ExternalLinks = $PageInfo[&#039;ExternalLinks&#039;];			
				echo &quot;&quot;.$LinkText.&quot;&quot;;
				echo &quot;&quot;.$ExternalLinks.&quot;&quot;;
				
				// Page PageRank
				 if ($pagepr) { 
					$PageRank = getrank($Url);
					if (!isset($PageRank)) {$PageRank = 0;}
					echo &quot;&quot;.$PageRank.&quot;&quot;;
				}
	
				// Domain PageRank			
				 if ($domainpr) { 
					$domain_array = explode(&quot;/&quot;, preg_replace(&#039;#^http[s]*://#&#039;, &#039;&#039;, $Url));
					$domain = $domain_array[0];
					$PageRank2 = getrank($domain);
					if (!isset($PageRank2)) {$PageRank2 = 0;}
					echo &quot;&quot;.$PageRank2.&quot;&quot;;
				}			
				flush();
				
			}
		}
?&gt;



var results = new SortableTable(document.getElementById(&quot;results_table&quot;),
[&quot;Number&quot;, &quot;CaseInsensitiveString&quot;, &quot;CaseInsensitiveString&quot;, &quot;CaseInsensitiveString&quot;,&quot;CaseInsensitiveString&quot;, &quot;CaseInsensitiveString&quot;, &quot;Number&quot;, &quot;Number&quot;, &quot;Number&quot;]);
document.getElementById(&quot;sortby&quot;).style.display = &quot;block&quot;;
document.getElementById(&quot;progress&quot;).style.display = &quot;none&quot;;

function addClassName(el, sClassName) {
	var s = el.className;
	var p = s.split(&quot; &quot;);
	var l = p.length;
	for (var i = 0; i &lt; l; i++) {
		if (p[i] == sClassName)
			return;
	}
	p[p.length] = sClassName;
	el.className = p.join(&quot; &quot;).replace( /(^\s+)&#124;(\s+$)/g, &quot;&quot; );
}

function removeClassName(el, sClassName) {
	var s = el.className;
	var p = s.split(&quot; &quot;);
	var np = [];
	var l = p.length;
	var j = 0;
	for (var i = 0; i &lt; l; i++) {
		if (p[i] != sClassName)
			np[j++] = p[i];
	}
	el.className = np.join(&quot; &quot;).replace( /(^\s+)&#124;(\s+$)/g, &quot;&quot; );
}

results.onsort = function () {
	var rows = this.tBody.rows;
	var l = rows.length;
	for (var i = 0; i &lt; l; i++) {
		removeClassName(rows[i], i % 2 ? &quot;even&quot; : &quot;odd&quot;);
		addClassName(rows[i], i % 2 ? &quot;odd&quot; : &quot;even&quot;);
	}
};







	&#169; Intelligent Positioning
 &lt;!-- end footer --&gt;&lt;/code&gt;

</description>
		<content:encoded><![CDATA[<p>I got same problem for backlinks using yahoo api. It does not returns any results through php code but when i try in browser with the yahoo api url it works and it returns default 50 urls.<br />
Please have a look my code and suggest or correct my code. Thank you.</p>
<p><code></p>
<p>Link Text Explorer</p>
<p>#sortby {<br />
	display:none;<br />
	}</p>
<p>Logged in as <b></b> | <a href="/tools/logout.php" rel="nofollow">Logout</a></p>
<p>	Location: </p>
<p>	<a href="http://217.34.144.114/tools/index.php" rel="nofollow">Tools</a><br />
	 &gt;<br />
	<a href="http://217.34.144.114/tools/backlinks/index.php" rel="nofollow">Backlinks</a><br />
	 &gt;<br />
	Link Text Explorer<br />
 <!-- end breadcrumbs --></p>
<p> <!-- end mast --></p>
<p>Link Text Explorer<br />
The <b>title</b>, <b>link text</b> and number of <b>external links</b> is retrieved from each page, together with the <b>page PageRank</b> and <b>domain PageRank</b> (if required).</p>
<p>	&lt;form action="" method="get"&gt;</p>
<p>	URL&lt;input type="text" name="query" size="60" value="" /&gt;<br />
	Results</p>
<p>		&lt;option value="" &gt;</p>
<p>	PageRank<br />
	&lt;input type="checkbox" name="pagepr" id="page"  /&gt;Page&nbsp;<br />
	&lt;input type="checkbox" name="domainpr" id="domain" /&gt;Domain</p>
<p>&lt;?php</p>
<p>function get_html ($url) {<br />
	$html = "";<br />
	$timeout = 10;<br />
	ini_set('user_agent','Mozilla: (compatible; Windows XP)');<br />
	$old = ini_set('default_socket_timeout', $timeout);<br />
	$fh = fopen($url, 'r');<br />
	if ($fh) {<br />
		ini_set('default_socket_timeout', $old);<br />
		stream_set_timeout($fh, $timeout);<br />
		stream_set_blocking($fh, 0);<br />
		while (! feof($fh)) {<br />
			$html .= fread($fh, 4096);<br />
		}<br />
		fclose($fh);<br />
		return $html;<br />
	} else {<br />
		return 0;<br />
	}<br />
}</p>
<p>function get_pageinfo($url, $query) {<br />
	$html = get_html ($url);<br />
	if ($html) {<br />
		$pageinfo['success'] = 1;<br />
		$html = preg_replace('/\n/', ' ', $html);<br />
		$pattern  = '#<a>#im';<br />
		preg_match_all($pattern, $html, $matches);<br />
		$pageinfo['ExternalLinks'] = 0;<br />
		$linktext = "";<br />
		if ($matches) {<br />
			foreach ($matches[0] as $match) {<br />
				if ( preg_match("#$query#i", $match) ) {<br />
					$text = "";<br />
					if ( preg_match('#&lt;img#im', $match) ) {<br />
						$text .= "[IMG]";<br />
						if ( preg_match('#alt\s*=\s*"(.*?)"#im', $match, $alt) ) {<br />
							$text .= " $alt[1]";<br />
						}<br />
					} else {<br />
						$text = strip_tags($match);<br />
					}<br />
					$pageinfo['LinkText'] = $text;<br />
				}<br />
				if ( preg_match("#http://#i", $match) ) {<br />
					$pageinfo['ExternalLinks']++;<br />
				}<br />
			}<br />
		}<br />
	} else {<br />
		$pageinfo['success'] = 0;<br />
	}<br />
	return $pageinfo;<br />
}</p>
<p>if ( isset($_GET['query']) ) {</p>
<p>	require_once ('pagerank2.php');<br />
?&gt;<br />
Results<br />
Notes</p>
<p>[IMG] denotes link is an image. The text following is the ALT text.<br />
[X] denotes the page could not be loaded.</p>
<p>&lt;?php</p>
<p>	flush();</p>
<p>	echo "<b>$query</b> has a PageRank of <b>".trim(getrank($query))."</b>.\n";<br />
	flush();<br />
	#mryahoodemo<br />
	$params = array( "appid" =&gt; "mryahoodemo",<br />
					"query" =&gt; $query,<br />
					"results" =&gt; $num,<br />
					"start" =&gt; $start,<br />
					"omit_inlinks" =&gt; "domain"<br />
				);</p>
<p>	$request = "";<br />
	foreach ($params as $param =&gt; $value) {<br />
		$request .= "$param=$value&amp;";<br />
	}</p>
<p>	$yahoo_api ="http://api.search.yahoo.com/WebSearchService/V1/webSearch?";<br />
	#$yahoo_api="http://search.yahooapis.com/SiteExplorerService/V1/inlinkData?";<br />
	#$yahoo_api = "http://api.search.yahoo.com/SiteExplorerService/V1/inlinkData?";<br />
	$ResultSet = simplexml_load_file ( urlencode($yahoo_api.$request) );</p>
<p>	if ($ResultSet) {</p>
<p>		$totalResultsAvailable = $ResultSet['totalResultsAvailable'];<br />
		$totalResultsReturned = $ResultSet['totalResultsReturned'];<br />
		$firstResultPosition = $ResultSet['firstResultPosition'];<br />
		$lastResultPosition = $firstResultPosition + $params['results'] - 1;</p>
<p>		if ($totalResultsReturned &gt; $totalResultsAvailable) {<br />
			$lastResultPosition = $totalResultsAvailable;<br />
		}</p>
<p>		echo "Results <b>$firstResultPosition - $lastResultPosition</b> of about <b>".number_format($totalResultsAvailable)."</b> for <b>$query</b>.\n";<br />
?&gt;</p>
<p><b>Sort by: </b>&nbsp;<br />
#&nbsp;<br />
External Links&nbsp;</p>
<p>Page PageRank&nbsp;</p>
<p>Domain PageRank</p>
<p>	#<br />
	URL</p>
<p>	Visit<br />
	Title<br />
	Link Text<br />
	External Links</p>
<p>	Page PageRank</p>
<p>	Domain PageRank</p>
<p>Result as $Result) {</p>
<p>			// InLinks<br />
			$Title = $Result-&gt;Title;<br />
			$Url = $Result-&gt;Url;<br />
			$ClickUrl = $Result-&gt;ClickUrl;</p>
<p>			// PageInfo<br />
			$PageInfo = get_pageinfo($Url, $query);<br />
			if ($PageInfo['success']) {<br />
				$success = "";<br />
			} else {<br />
				$success = "[X]";<br />
			}</p>
<p>			// Link Text<br />
			$LinkText = "";<br />
			if ($PageInfo['success']) {<br />
				if (isset($PageInfo['LinkText'])) {<br />
					$LinkText = $PageInfo['LinkText'];<br />
				} else {<br />
					$LinkText = "[NULL]";<br />
				}<br />
			}<br />
			if ($LinkText != "[NULL]") {</p>
<p>				if (++$count%2) { $class = "even"; } else {	$class = "odd"; }<br />
				echo "";<br />
				echo "".$count."\n";<br />
				echo "".preg_replace('#^http://#', '', wordwrap($Url, 25, " ", 1))."";<br />
				echo "".$success."";<br />
				echo "</a><a>[visit]</a>";<br />
				echo "".$Title."";</p>
<p>				// External Links<br />
				$ExternalLinks = $PageInfo['ExternalLinks'];<br />
				echo "".$LinkText."";<br />
				echo "".$ExternalLinks."";</p>
<p>				// Page PageRank<br />
				 if ($pagepr) {<br />
					$PageRank = getrank($Url);<br />
					if (!isset($PageRank)) {$PageRank = 0;}<br />
					echo "".$PageRank."";<br />
				}</p>
<p>				// Domain PageRank<br />
				 if ($domainpr) {<br />
					$domain_array = explode("/", preg_replace('#^http[s]*://#', '', $Url));<br />
					$domain = $domain_array[0];<br />
					$PageRank2 = getrank($domain);<br />
					if (!isset($PageRank2)) {$PageRank2 = 0;}<br />
					echo "".$PageRank2."";<br />
				}<br />
				flush();</p>
<p>			}<br />
		}<br />
?&gt;</p>
<p>var results = new SortableTable(document.getElementById("results_table"),<br />
["Number", "CaseInsensitiveString", "CaseInsensitiveString", "CaseInsensitiveString","CaseInsensitiveString", "CaseInsensitiveString", "Number", "Number", "Number"]);<br />
document.getElementById("sortby").style.display = "block";<br />
document.getElementById("progress").style.display = "none";</p>
<p>function addClassName(el, sClassName) {<br />
	var s = el.className;<br />
	var p = s.split(" ");<br />
	var l = p.length;<br />
	for (var i = 0; i &lt; l; i++) {<br />
		if (p[i] == sClassName)<br />
			return;<br />
	}<br />
	p[p.length] = sClassName;<br />
	el.className = p.join(" ").replace( /(^\s+)|(\s+$)/g, "" );<br />
}</p>
<p>function removeClassName(el, sClassName) {<br />
	var s = el.className;<br />
	var p = s.split(" ");<br />
	var np = [];<br />
	var l = p.length;<br />
	var j = 0;<br />
	for (var i = 0; i &lt; l; i++) {<br />
		if (p[i] != sClassName)<br />
			np[j++] = p[i];<br />
	}<br />
	el.className = np.join(" ").replace( /(^\s+)|(\s+$)/g, "" );<br />
}</p>
<p>results.onsort = function () {<br />
	var rows = this.tBody.rows;<br />
	var l = rows.length;<br />
	for (var i = 0; i &lt; l; i++) {<br />
		removeClassName(rows[i], i % 2 ? "even" : "odd");<br />
		addClassName(rows[i], i % 2 ? "odd" : "even");<br />
	}<br />
};</p>
<p>	&copy; Intelligent Positioning<br />
 <!-- end footer --></code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

