2013-10-29 68 views
1

我目前正在研究一個處理從Google顯示緩存版本頁面的項目。但是,它們似乎只顯示最近緩存的頁面。在Google上查看緩存頁面的所有副本?

例如,我知道我可以用這個:

http://webcache.googleusercontent.com/search?q=cache:stackoverflow.com 

但我怎麼能查看谷歌的緩存年前stackoverflow.com其他緩存副本?

回答

0

我想出了一個解決方案,使用緩存的頁面網頁過濾器,這可能幫助

<!DOCTYPE html> 
 
<html> 
 
<title>View Text Only Cached Page</title> 
 
<head> 
 
       <script language="javascript" type="text/javascript"> 
 
        function urlGen(f) 
 
         { 
 
          var i1 = "http://webcache.googleusercontent.com/search?q=cache:"; 
 
          var i2 = f.intranet.value; 
 
          var i3 = "&hl=en&gl=ca&strip=1"; 
 

 
          var fullURL = i1 + i2 + i3; 
 
          f.action = i1 + i2 + i3; 
 

 
          return i1 + i2 + i3; 
 
         } 
 
       </script> 
 
</head> 
 
<body> 
 
<div id="row2"> 
 
       <!-- Intranet Search --> 
 
       <form action="google.com" onSubmit="window.location.href=urlGen(this)" method="post" style="width:350px"> 
 
       <fieldset> 
 
       <legend>View Text-only Cached Page</legend> 
 
       <input type="text" id="intranet" size="45" value="insert link" 
 
        onFocus="this.value = ''" 
 
        onBlur="this.value = 'insert link'"/> 
 

 
      <br> 
 
<div style="width:300px;"> 
 
paste or type the address of the webpage you would like to view in a text only cached version and press "Enter". 
 
<br/><br/> 
 
<b>If a result is not found try adding "/" at the end of the submitted address.</b> 
 
</div> 
 
</fieldset> 
 
</form> 
 
</div> 
 

 

 

 
</body> 
 
</html>