Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created December 7, 2008 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbender/33036 to your computer and use it in GitHub Desktop.
Save johnbender/33036 to your computer and use it in GitHub Desktop.
<script type='text/javascript'>
//FIRST
//script added before the remote resource call to delicious
//added dynamically with the right id
DeliciousTop.DisplayjohndoeLinks = function(data){
DeliciousTop.DisplayLinks(data, 'johndoe|erlang');
}
</script>
<script type='text/javascript' src='http://feeds.delicious.com/v2/json/nousplacidus/erlang?callback=DeliciousUserTop.DisplayjohndoeLinks'>
// SECOND
//result of remote resource call to delicious with callback function
DeliciousUserTop.DisplayjohndoeLinks([{ /*...array data...*/ }])
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment