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控制台中的输出。
We will also build a sample mashup application using YQL and jQuery.
最后还使用YQL和jQuery构建mashup应用程序。
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的内容不超出请求限制。
Hence, SELECT is the main verb in YQL statements. The syntax is also very similar to SQL.
因此,SELECT是yql语句中的主要动词。
The YQL service then looks up the table definition, performs the query, and returns the results.
然后,YQL服务会查找表定义,执行查询并返回结果。
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中查询结构化数据。
You can view YQL as a unified way to query data served up by different services at different URLs.
可将YQL视为一种标准的方法,查询由不同url的不同服务提供的数据。
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服务。
Now that you know how to query and get JSONP responses from YQL, you can start building your mashup Web page.
您已经了解了如何通过 YQL查询和获得JSONP响应,下面就可以开始构建mashupWeb 页面了。
A good way to learn and improve your understanding of YQL is to use the YQL console, which is provided by Yahoo!
了解和增强您对YQL的理解的一种好方法就是使用YQL控制台,这是由Yahoo !
If you use the Zend Framework, you can alternatively access the YQL Web service using the Zend_Rest_Client component.
如果您使用Zend框架,您还可以使用Zend _ Rest_Client组件访问YQLWeb服务。
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页面挖出特定的数据。
应用推荐