Skip to content

Instantly share code, notes, and snippets.

@AutomatedTester
Created March 27, 2010 22:10
Show Gist options
  • Save AutomatedTester/346384 to your computer and use it in GitHub Desktop.
Save AutomatedTester/346384 to your computer and use it in GitHub Desktop.
<h2>Unfortunately the page you were after can not be found. Perhaps you can spend a few minutes helping find some missing people.</h2>
<script type="text/javascript">
var statecode = "ZZ";
$.getJSON("http://query.yahooapis.com/v1/public/yql?q=SELECt+*+From+xml+Where+url%3D'http%3A%2F%2Fuk.missingkids.com%2Fmissingkids%2Fservlet%2FXmlServlet%3Fact%3Drss%26LanguageCountry%3Den_GB%26orgPrefix%3DUK02'&format=json&callback=?",
function(data){
leng = data.query.results.rss.channel.item.length;
items = data.query.results.rss.channel.item;
for(i=0;i<leng;i++){
$(".missingkid").append("<img src=" + items[i].enclosure.url + "> <br /> " + items[i].description + "<br/>");
}
});
</script>
<div id="missingkids">
<div class="missingkid">
</div>
</div>
PLEASE SHARE THIS AND ADD TO IT!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment