建立一个人员搜索网站


Building a people search website

我想为我的班级做一个项目,做一个人的搜索。我应该能够搜索到谷歌,Facebook, twitter等,并显示有关它的信息。例如,我想复制www.pipl.com的功能。从哪里开始最好呢?你怎么能做到呢?任何具体/一般的回应,链接或例子是最受欢迎的。谢谢。

编辑:由于投票决定关闭,我想我应该更具体一些。我如何编写一个包装器类(或类似的东西)来从网站中挖掘我想要的信息?

注:到目前为止,我一直是C/c++/java程序员,并且有学习新的编程语言的强烈愿望。请随意重定向问题或添加标签,以便其他用户也可以查看问题。

<form action="http://www.google.com/search" action="GET" name="search">
    <p>
        <label for="name">First &amp; Last Name:</label>
        <input name="q" id="name" />
    </p>
    <p><input type="submit" name="searchBtn" value="Search" /></p>
</form>
<script>
document.forms['search'].addEventListener('submit', function() {
    // Add quotes around person's name (so that only their exact name matches)
    document.getElementById('name').value = '"'+document.getElementById('name').value+'"';
}, false);
</script>

瞧!Facebook, twitter和社交媒体都显示出来,不需要额外的工作。