Navigation Menu

Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdonnelly committed Nov 10, 2010
1 parent 0548d77 commit dffe18d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions yuiyqlmodule_example.html
Expand Up @@ -8,18 +8,18 @@
</head>
<body>
<div id="results"></div>
<script type="application/javascript">
YUI().use('node','yql', function(Y) {
var res = Y.one('#results');
Y.YQL('select url from search.images(5) where query in (select title from rss where url="http://buzzlog.buzz.yahoo.com/feeds/buzzactm.xml")', function(r){
Y.each(r.query.results.result, function(v){
var img = '<img src="'+v.url+'">';
res.append(img);
});
});
});
<script type="application/javascript">
YUI().use('node','yql', function(Y) {
var res = Y.one('#results');
Y.YQL('select url from search.images(5) where query in (select title from rss where url="http://buzzlog.buzz.yahoo.com/feeds/buzzactm.xml")', function(r){
Y.each(r.query.results.result, function(v){
var img = '<img src="'+v.url+'">';
res.append(img);
});
});
});
</script>
</body>
</html>
</html>

0 comments on commit dffe18d

Please sign in to comment.