YQL: data>RSS feed - with images only
I'm using this to retrieve RSS news feeds from Yahoo (JSON):
select * from xml where url in(
'http://rss.news.yahoo.com/rss/us',
'http://rss.news.yahoo.com/rss/world'
)
Is it possible to limit returned items to only those with image content? Something like:
... WHERE content.type == 'image/jpeg'
Or maybe "SORT BY .. something" - so it returns items with images 1st?
Console is 开发者_高级运维here: http://developer.yahoo.com/yql/console
Thank you.
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'
精彩评论