在表格中找到使用标记的类似网站?

时间:2011-02-08 18:51:30

标签: php mysql

tags

   web          |    tags                                       |     rank

-----------------------------------------------------------------------------------
    google.com   |search,google,searchengine,engine,web          |     1
    facebook.com |facebook,social,networking,friends,community   |     2
    youtube.com  |video,youtube,videos,entertainment,media       |     3
    yahoo.com    |yahoo,search,email,news,searchengine           |     4
    bing.com     |search,searchengine,microsoft,bing,tools       |     25
    twitter.com  |twitter,social,community,blog,socialnetworking |     11
    orkut.com    |orkut,social,google,community,networking       |     109
    myspace.com  |myspace,social,networking,community,friends    |     53   

是否可以通过搜索web找到类似网站并按其rank订购

搜索google.com结果必须为yahoo.com,bing.com (yahoo.com排名第四,所以bing来自雅虎)

搜索facebook.com结果必须是myspace.com,orkut.com(myspace.com在53级,所以orkut来自myspace)

OR ELSE

tags搜索并获得上述结果??

NB

上面的一个不是最终的表结构,因为这个用于开发...... 最终结构将是这样的

web      |     similar
-----------------------
google.com | yahoo.com,bing.com,baidu.com,ask.com

等...

1 个答案:

答案 0 :(得分:0)

按相似性搜索特别复杂。但是,您可以使用cURL来执行请求,simpleXML来解析响应,此时您可以保存页面在结果上的位置。

也许你想要检索谷歌网页排名,你可以使用这个课程Google Page Rank Checker

相关问题