希望在Yahoo Pipes YQL元素中執行的常見操作是將Pipes值傳遞給YQL查詢。例如:如何將Yahoo Pipes項目傳遞給YQL查詢?
select * from html.tostring where url='<someurl>' and xpath='//div[@id="foo"]'
並且您想要傳入動態值<someurl>
。假設這是一個名爲item.link
的RSS提要項目的URL。試圖只需更換引述someurl
與item.link
爲您提供了這樣的錯誤:
Invalid identifier item.link. me is the only supported identifier in this context
如何傳遞這個價值?