public
Created

  • Download Gist
OpenSocial Templates + YQL
1 2 3 4 5 6 7 8 9 10 11 12
<Module>
<ModulePrefs title="yql">
<Require feature="opensocial-data" />
<Require feature="opensocial-templates"/>
</ModulePrefs>
<Content><![CDATA[
<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/markup">
<os:HttpRequest key="yql" href="http://query.yahooapis.com/v1/public/yql?q=select%20title%2Cabstract%20from%20search.web%20where%20query%3D%22pizza%22&format=json"/>
</script>
<script type="text/os-template" require="yql">${yql.content.query.results}</script>
]]></Content>
</Module>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.