如何在 iPhone 上解析 google 搜索结果

发布于 2024-09-01 19:26:10 字数 221 浏览 2 评论 0 原文

我正在尝试在我的 iPhone 上实现一个搜索工具,当我输入文本时,它将被发送到谷歌进行搜索。并返回结果。

我需要知道文本如何提供给 Google 搜索引擎以及 Google 如何返回结果?是 XML 格式还是 JSON 格式。

然后,我可以在 iPhone 上解析结果 XML/JSON,并希望在表视图中显示结果。有什么想法吗?需要帮助...!

提前致谢,

石斌

I am trying to implement a search tool on my iPhone, when i enter a text it will be send to the google for searching. and return the result.

I need to know how the text is given to the Google search engine and how the google is returning the result? Is it in the XML format or JSON.

I can then parse the result XML/JSON on my iPhone and want to display the results in my table view. Any idea? need Help...!

Thanks in advance,

Shibin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洛阳烟雨空心柳 2024-09-08 19:26:10

either / or / any

One approach would be to use the google REST search API which returns JSON

http://googlesystem.blogspot.com/2008/04/google-search-rest-api.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文