June 09, 2004

Alexa API::[Search Engine]


Liang

All Alexa toolbar send request to data.alexa.com 80, here I give a short script to access data.alexa.com and get the XML output from alexa.

Simulate the alexa toolbar:

Output from Data.alexa.com: Alexa.xml

Posted at June 9, 2004 05:25 PM by Liang at 05:25 PM | Comments (3) | TrackBack(0) | Booso!| Niu.la收藏!


Trackback

You can ping this entry by using http://www.wespoke.com/cgi-bin/mt/mt-tb.cgi/494

Comments

第 1 楼:

coooool..I rewrote it by php

\n";
} else {
fputs($fp, "GET /data/TCaX/0+qO000fV?cli=10&dat=snba&ver=7.0&cdt=alx_vw%3D20%26wid%3D31472%26act%3D00000000000%26ss%3D1024x768%26bw%3D639%26t%3D0%26ttl%3D4907%26vis%3D1%26rq%3D23&url=".$my_url." HTTP/1.0\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate \r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; Alexa Toolbar) \r\nHost: ".$domain_name." \r\n\r\n");
while (!feof($fp)) {
$buffer .= fgets ($fp,1024);
}
fclose ($fp);
echo $buffer;

?>

Posted by: pear at November 11, 2004 11:33 PM from 222.209.0.106

第 2 楼:

test post date to www.alexa.com 测试

Posted by: fengyun at January 4, 2005 12:44 AM from 222.132.46.222

第 3 楼:

路过

Posted by: 减肥 at June 29, 2006 06:57 PM from 218.19.216.104

Post a comment

请注意,为了防止spam,您的留言必需含有中文字符!









Remember personal info?




所有发表