Google PR值查询

作者:袖梨 2022-07-02
 
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



Google</a> PR值</a>查询程序</a>

输入网址,查询Google PageRank值



 

输入网址
     
     
 



<%
if trim(Request.QueryString("act"))="ok" then
      domain=trim(Request.Form("domain"))
 if domain<>"" then
     Response.Write(""&domain&" 的Google PageRank值为"&getPr(domain)&"")
 end if
end if
Function getPr(domain)
      getContent=GetURL("http://so.5eo.com/pr/rank.asp?domain="&domain)
 getPrLine=RegExpText(getContent,"在Google PageRank满分10分评价中获得.*(d).*分")
 getPr=RegExpText(getPrLine,"sds")
End Function
Function bstr(vIn)
 Dim strReturn,i,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
 strReturn = "" 
 For i = 1 To LenB(vIn)
    ThisCharCode = AscB(MidB(vIn,i,1))
    If ThisCharCode < &H80 Then
     strReturn = strReturn & Chr(ThisCharCode)
    Else
     NextCharCode = AscB(MidB(vIn,i+1,1))
     strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
     i = i + 1

相关文章

精彩推荐