Created
July 26, 2012 23:23
-
-
Save F1LT3R/3185207 to your computer and use it in GitHub Desktop.
How to use the jQuery OPML to List Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
function callback(){ | |
//console.log( 'OPML to List Finished!' ); | |
} | |
function error(e){ | |
//console.error( 'AJAX ERROR!' ); | |
} | |
function success(e){ | |
$('#opml-output').opmltolist(e, callback); | |
}; | |
$.ajax({ | |
url : 'playlist.opml' | |
, dataType : 'xml' | |
, cache : false | |
, success : success | |
, error : error | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment