Skip to content

Instantly share code, notes, and snippets.

@antiface
Forked from scripting/RiverReader
Created July 15, 2014 01:18
Show Gist options
  • Save antiface/cc5f683ecbaaecd549aa to your computer and use it in GitHub Desktop.
Save antiface/cc5f683ecbaaecd549aa to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Minimal River Reader</title>
<script src="http://fargo.io/code/jquery-1.9.1.min.js"></script>
</head>
<body>
<script>
var theRiver;
function onGetRiverStream (updatedFeeds) {
theRiver = updatedFeeds;
}
$.ajax ({
url: "http://rss.scripting.com/rivers/nytRiver.js",
dataType: "jsonp"
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment