How do I pass a Yahoo Pipes item into a YQL query?
- by Joe Shaw
One common thing to want to do in the Yahoo Pipes YQL element is pass in a Pipes value to the YQL query. For example:
select * from html.tostring where url='<someurl>' and xpath='//div[@id="foo"]'
and you want to pass in a dynamic value for <someurl>. Let's say that it's an RSS feed item's URL called item.link. Attempting to simply replace the quoted someurl with item.link gives you this error:
Invalid identifier item.link. me is the only supported identifier in this context
How can I pass this value in?