YQL open table template for executing javascript


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  2. <meta>
  3. <author>arcturus@ardeenelinfierno.com</author>
  4. <description>YQL execute template</description>
  5. <documentationURL></documentationURL>
  6. <sampleQuery>select * from {table}</sampleQuery>
  7. </meta>
  8. <bindings>
  9. <select itemPath="" produces="XML">
  10. <urls>
  11. <url/>
  12. </urls>
  13. <inputs>
  14. </inputs>
  15. <execute><![CDATA[
  16. response.object = <hello><world/></hello>;
  17. ]]></execute>
  18. </select>
  19. </bindings>
  20. </table>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.