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\'