<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stats &quot;speciali&quot;, come fare? (PR,backlink,statistiche sui motori di ricerca)]]></title><description><![CDATA[<p dir="auto">Conoscete qualche classe a riguardo?</p>
]]></description><link>https://dev.connect.gt/topic/27604/stats-quot-speciali-quot-come-fare-pr-backlink-statistiche-sui-motori-di-ricerca</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 16:59:18 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/27604.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Feb 2007 00:47:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stats &quot;speciali&quot;, come fare? (PR,backlink,statistiche sui motori di ricerca) on Mon, 12 Apr 2010 18:31:25 GMT]]></title><description><![CDATA[<p dir="auto">ho provato ma non funziona lo script.</p>
<p dir="auto">Il mio sito web è su un server di Aruba.</p>
<p dir="auto">Eccolo la mia prova che non funziona<br />
www            <a href="http://paesaggioitaliano.eu/pagerank3.php" rel="nofollow ugc">paesaggioitaliano.eu/pagerank3.php</a></p>
<p dir="auto">Volete il codice?</p>
]]></description><link>https://dev.connect.gt/post/460371</link><guid isPermaLink="true">https://dev.connect.gt/post/460371</guid><dc:creator><![CDATA[lux78]]></dc:creator><pubDate>Mon, 12 Apr 2010 18:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Stats &quot;speciali&quot;, come fare? (PR,backlink,statistiche sui motori di ricerca) on Thu, 15 Feb 2007 10:49:14 GMT]]></title><description><![CDATA[<p dir="auto">vorrei fare qualcosa a mo di: <a href="http://shop.devwebpage.com/product.php?product=pro-001" rel="nofollow ugc">Script Shop : Search Engine Report Script 2.10 [PHP]</a></p>
<p dir="auto">pero ovviamente siccome so programmare non è un problema per me realizzarlo se sapessi dove studiare per avere quei risultati ^^</p>
]]></description><link>https://dev.connect.gt/post/460360</link><guid isPermaLink="true">https://dev.connect.gt/post/460360</guid><dc:creator><![CDATA[stermi]]></dc:creator><pubDate>Thu, 15 Feb 2007 10:49:14 GMT</pubDate></item><item><title><![CDATA[Reply to Stats &quot;speciali&quot;, come fare? (PR,backlink,statistiche sui motori di ricerca) on Thu, 15 Feb 2007 10:21:08 GMT]]></title><description><![CDATA[<p dir="auto">intendevo proprio questo! Pero se magari so dove posso trovare informazioni su come costruire gli script me li faccio anche da solo <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f603.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--smiley" style="height:1.4em;width:auto;vertical-align:middle" title="=)" alt="😃" /><br />
mi interesserebbero anche i vari risultati che ti da SEO For Firefox ( il plugin ^^ )</p>
]]></description><link>https://dev.connect.gt/post/460359</link><guid isPermaLink="true">https://dev.connect.gt/post/460359</guid><dc:creator><![CDATA[stermi]]></dc:creator><pubDate>Thu, 15 Feb 2007 10:21:08 GMT</pubDate></item><item><title><![CDATA[Reply to Stats &quot;speciali&quot;, come fare? (PR,backlink,statistiche sui motori di ricerca) on Wed, 14 Feb 2007 18:04:01 GMT]]></title><description><![CDATA[<p dir="auto">Non ho capito se vuoi creare tu uno script o se vuoi utilizzarne alcuni già fatti che riportino statistiche "speciali" come le definisci tu.</p>
<p dir="auto">Nel primo caso ti posso aiutare soltanto fornendoti uno script che può essere utilizzato per restituire il pr di una pagina.</p>
<pre><code class="language-php">&lt;?php
define('GOOGLE_MAGIC', 0xE6359A60);
class pageRank{
var $pr; 
 function zeroFill($a, $b){
 $z = hexdec(80000000);
  if ($z &amp; $a){
   $a = ($a&gt;&gt;1);
   $a &amp;= (~$z);
   $a |= 0x40000000;
   $a = ($a&gt;&gt;($b-1));
  }else{
   $a = ($a&gt;&gt;$b);
  }
 return $a;
 } 
 
 function mix($a,$b,$c) {
   $a -= $b; $a -= $c; $a ^= ($this-&gt;zeroFill($c,13));
   $b -= $c; $b -= $a; $b ^= ($a&lt;&lt;8);
   $c -= $a; $c -= $b; $c ^= ($this-&gt;zeroFill($b,13));
   $a -= $b; $a -= $c; $a ^= ($this-&gt;zeroFill($c,12));
   $b -= $c; $b -= $a; $b ^= ($a&lt;&lt;16);
   $c -= $a; $c -= $b; $c ^= ($this-&gt;zeroFill($b,5));
   $a -= $b; $a -= $c; $a ^= ($this-&gt;zeroFill($c,3));
   $b -= $c; $b -= $a; $b ^= ($a&lt;&lt;10);
   $c -= $a; $c -= $b; $c ^= ($this-&gt;zeroFill($b,15));
   return array($a,$b,$c);
 }
 
 function GoogleCH($url, $length=null, $init=GOOGLE_MAGIC) {
  if(is_null($length)) {
   $length = sizeof($url);
  }
  $a = $b = 0x9E3779B9;
  $c = $init;
  $k = 0;
  $len = $length;
  while($len &gt;= 12) {
   $a += ($url[$k+0] +($url[$k+1]&lt;&lt;8) +($url[$k+2]&lt;&lt;16) +($url[$k+3]&lt;&lt;24));
   $b += ($url[$k+4] +($url[$k+5]&lt;&lt;8) +($url[$k+6]&lt;&lt;16) +($url[$k+7]&lt;&lt;24));
   $c += ($url[$k+8] +($url[$k+9]&lt;&lt;8) +($url[$k+10]&lt;&lt;16)+($url[$k+11]&lt;&lt;24));
   $mix = $this-&gt;mix($a,$b,$c);
   $a = $mix[0]; $b = $mix[1]; $c = $mix[2];
   $k += 12;
   $len -= 12;
  }
  $c += $length;
  switch($len){
   case 11: $c+=($url[$k+10]&lt;&lt;24);
   case 10: $c+=($url[$k+9]&lt;&lt;16);
   case 9 : $c+=($url[$k+8]&lt;&lt;8);
   /* the first byte of c is reserved for the length */
   case 8 : $b+=($url[$k+7]&lt;&lt;24);
   case 7 : $b+=($url[$k+6]&lt;&lt;16);
   case 6 : $b+=($url[$k+5]&lt;&lt;8);
   case 5 : $b+=($url[$k+4]);
   case 4 : $a+=($url[$k+3]&lt;&lt;24);
   case 3 : $a+=($url[$k+2]&lt;&lt;16);
   case 2 : $a+=($url[$k+1]&lt;&lt;8);
   case 1 : $a+=($url[$k+0]);
  }
  $mix = $this-&gt;mix($a,$b,$c);
 /* report the result */
 return $mix[2];
 }
 
 //converts a string into an array of integers containing the numeric value of the char
 
 function strord($string) {
  for($i=0;$i&lt;strlen($string);$i++) {
   $result[$i] = ord($string{$i});
  }
 return $result;
 }
 
 function printrank($url){
  $ch = "6".$this-&gt;GoogleCH($this-&gt;strord("info:" . $url));
  
  $fp = fsockopen("www.google.com", 80, $errno, $errstr, 30);
  if (!$fp) {
     echo "$errstr ($errno)&lt;br /&gt;\n";
  } else {
     $out = "GET /search?client=navclient-auto&amp;ch=" . $ch .  "&amp;features=Rank&amp;q=info:" . $url . " HTTP/1.1\r\n" ;
     $out .= "Host: www.google.com\r\n" ;
     $out .= "Connection: Close\r\n\r\n" ; 
     fwrite($fp, $out);
     while (!feof($fp)) {
       $data = fgets($fp, 128);
       $pos = strpos($data, "Rank_");
         if($pos === false){
         }else{
           $pagerank = substr($data, $pos + 9);
           $this-&gt;pr_image($pagerank);
         }
     }
     fclose($fp);
  }
 }
//display pagerank image. Create your own or download images I made for this script. If you make your own make sure to call them pr0.gif, pr1.gif, pr2.gif etc.
 function pr_image($pagerank){
  if($pagerank == 0){
   $this-&gt;pr = "&lt;img src=\"images/pr0.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 1){
   $this-&gt;pr = "&lt;img src=\"images/pr1.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 2){
   $this-&gt;pr = "&lt;img src=\"images/pr2.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 3){
   $this-&gt;pr = "&lt;img src=\"images/pr3.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 4){
   $this-&gt;pr = "&lt;img src=\"images/pr4.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 5){
   $this-&gt;pr = "&lt;img src=\"images/pr5.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 6){
   $this-&gt;pr = "&lt;img src=\"images/pr6.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 7){
   $this-&gt;pr = "&lt;img src=\"images/pr7.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 8){
   $this-&gt;pr = "&lt;img src=\"images/pr8.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }elseif($pagerank == 9){
   $this-&gt;pr = "&lt;img src=\"images/pr9.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
   }else{
   $this-&gt;pr = "&lt;img src=\"images/pr10.gif\" alt=\"PageRank " .$pagerank. " out of 10\"&gt;" ;
  }
 }
 function get_pr(){
  return $this-&gt;pr;
 }
}
?&gt;
</code></pre>
<p dir="auto">e per la visualizzazione:</p>
<pre><code class="language-php">&lt;?php
include("pagerank.php");
$gpr = new pageRank();
$gpr-&gt;printrank("http://www.yahoo.com");
//display image
echo $gpr-&gt;get_pr();
?&gt;
</code></pre>
<p dir="auto">dacci + info e magari sapremo fornirti un supporto migliore <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/460362</link><guid isPermaLink="true">https://dev.connect.gt/post/460362</guid><dc:creator><![CDATA[probid]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:04:01 GMT</pubDate></item></channel></rss>