YQL:数据> RSS提要-仅包含图像

问题描述

| 我正在使用它来从Yahoo(JSON)检索RSS新闻提要:
select * from xml where url in(  
  \'http://RSS.news.yahoo.com/RSS/us\',\'http://RSS.news.yahoo.com/RSS/world\'  
)
是否可以将返回的项目限制为仅包含图像内容的项目?就像是:   ... where content.type == \'image / jpeg \' 还是\“ SORT BY .. something \”-所以它返回带有图像1st的项目? 控制台在这里:http://developer.yahoo.com/yql/console 谢谢。     

解决方法

        
select * from xml where url in(  
  \'http://rss.news.yahoo.com/rss/us\',\'http://rss.news.yahoo.com/rss/world\'  
) and itemPath=\"//item\" and content.type = \'image/jpeg\'  
    

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...