YQL也有局限性。
Listing 2. Typical call to YQL in jquery.
清单2.jQuery中典型的YQL调用。
Screen capture of a blog post added with YQL
使用YQL添加的博客文章屏幕截图
Listing 6 makes use of two nested YQL queries.
清单6使用两个嵌套的YQL查询。
YQL can also extract data from HTML web pages.
YQL还可以从HTMLweb页面提取数据。
Query Language, better known by the acronym YQL.
查询语言,其缩写YQL更广为人知。
And Listing 4 demonstrates how to delete a post with YQL.
清单4展示如何使用YQL删除一篇文章。
YQL USES the familiar relational database model of tables and rows.
YQL使用人们熟悉的表格与行的关系数据库模型。
Figure 5 illustrates what the output looks like in the YQL Console.
图5显示了YQL控制台中的输出。
Screen capture of the results of a YQL query on the Yahoo Maps data table
YahooMaps数据表上的YQL查询结果的屏幕截图
YQL analysis generates a much higher-quality set of terms, as Listing 8 shows.
YQL分析生成一个更高质量的术语集合,如 清单 8 所示。
If the underlying data source does not provide XML data, YQL does the conversion.
如果底层数据源未提供XML数据,YQL会进行转换。
The query string itself is passed to the YQL service using REST, as a GET request.
查询字符串本身将使用REST传递给YQL服务,作为一项GET请求。
YQL is currently under active development, so expect even more benefits in the future.
YQL目前正处于积极开发中,因此预计在将来会有更多益处。
For example, you must ensure that content passed to YQL does not go past request limits.
例如,您必须确保传递给YQL的内容不超出请求限制。
The YQL service then looks up the table definition, performs the query, and returns the results.
然后,YQL服务会查找表定义,执行查询并返回结果。
And one of the coolest things about YQL is that it lets you do the same thing with web services.
有关YQL最酷的事情之一就是它允许您通过Web服务做相同的事情。
As a result, the YQL service does not automatically know where this table definition is located.
因此,YQL服务不能自动获知这个表定义的位置。
As the article already mentioned, YQL is a SQL-like language to query structured data in the Web.
上文已经提到过,YQL是一种类似于SQL的语言,可在Web中查询结构化数据。
With YQL, you can simplify things by accessing the Twitter data table with a YQL query, as follows.
使用YQL,您可以通过YQL查询访问Twitter数据表,从而简化操作,如下所示。
Where command is the YQL command and query parameter represents optional parameters to the service.
其中command是YQL命令,queryparameter表示服务的可选参数。
YQL is a powerful service that makes client-side mashups possible without using server-side proxies.
YQL是一种强大的服务,使您可在无需利用服务器端代理的前提下实现客户端mashup。
Clearly, you can do a lot more with YQL than simply extract information from one or more web services.
显然,使用YQL可以做的很多,不仅仅是从一个或多个web服务提取数据。
When you submit the form, the query string is submitted to the YQL service as a URL-encoded query string.
在您提交表单时,查询字符串被作为URL 编码的查询字符串提交给YQL服务。
In this article, you learned how to use jQuery and YQL to build up a mashup Web page with few lines of code.
在这篇文章中,您了解了如何使用jQuery和YQL,通过短短几行代码构建一个mashupweb页面。
Now that you know how to query and get JSONP responses from YQL, you can start building your mashup Web page.
您已经了解了如何通过 YQL查询和获得JSONP响应,下面就可以开始构建mashupWeb 页面了。
After Zend_Paginator loads, Listing 6 performs an unbounded SELECT query to retrieve a complete set of YQL results.
加载Zend _ Paginator之后,清单6执行一个无限制的SELECT查询来检索完整的YQL结果集。
As you saw in the previous article, YQL lets you extract data from third-party web services with SELECT statements.
正如在前一篇文章中所看到的,YQL允许您使用select语句提取来自第三方web服务的数据。
Use the previously mentioned YQL console to see the resulting responses and to determine the exact response structure.
使用上文提到的YQL控制台查看得到的响应,确定正确的响应结构。
YQL includes an HTML utility table, which you can use as a filter to scrape specific pieces of data from an HTML page.
YQL包含一个html实用工具表,您可以将它作为一个过滤器来从一个html页面挖出特定的数据。
应用推荐