本文是系列的最后一篇文章,我们将使用Ajax及Zend框架的Zend_Json组件,以所请求的特定信息自动地对搜索结果页面进行局部更新。
Now in the final part of the series, you will use Ajax and the Zend Framework's Zend_Json component to update part of the search results page automatically with specific requested information.
对于搜索服务,您需要的是一个php页面,该页面使用纬度和经度对以及半径,并且返回与该圆具有一定位置关系的任何文章。
What you need from a search service is a PHP page that takes a latitude and longitude pair, along with a radius, and returns any articles that have a location with that circle.
我甚至发现搜索引擎蜘蛛已经爬到包含这篇新文章链接的页面,但却没有立即访问这篇新文章,而是后来才访问的。
I also looked and found that the bot assessed the page where the new links pointed to the new posts but never went on to crawl the page until later.
应用推荐