Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 355: Line 355:
                 $.each(data.feed.entry, function(i, item) {
                 $.each(data.feed.entry, function(i, item) {
                       var feedTitle = item.title.$t;
                       var feedTitle = item.title.$t;
 +
                      var feedURL = item.link[1].href;
 +
                      var fragments = feedURL.split("/");
 +
                      var videoID = fragments[fragments.length - 2];
   
   

Revision as of 20:42, 14 October 2012