1/* Raw JS */ 2<!--// 3 $.getJSON("https://www2c.cdc.gov/podcasts/feed.asp?feedid=66&format=json&callback=?", 4 function (data) { 5 var count_items = 0 6var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; 7 var list = $('<ul class="list-bullet"/>'); 8 $('#rss-outbreaktravelers').append(list); 9 $.each(data.entries, function (i, entry) { 10 11 if (count_items < 5) { 12 var newItem = $('<li />'); 13 var a = $('<a class="item-title" />').html(entry.title); 14 a.attr("href", entry.link); 15 newItem.append(a); 16 var d = new Date(); 17 if (isNaN(Date.parse(entry.pubdate))) { 18 d.setTime(Date.parse(entry.pubdate.substr(5, 2) + '/' + entry.pubdate.substr(8, 2) + '/' + entry.pubdate.substr(0, 4) + ' ' + 19 entry.pubdate.substr(11, 5))); 20 } else { 21 d.setTime(Date.parse(entry.pubdate)); 22 } 23newItem.append($('<span class="item-pubdate" />').html(monthNames[d.getMonth()] + " " + d.getFullYear())); 24 //newItem.append($('<span class="item-pubdate" />').html(d.toLocaleDateString ())); 25 /*newItem.append($('<span class="item-description" />').html(entry.description));*/ 26 list.append(newItem); 27 count_items = count_items + 1 28 }//end if greater than 6 29 }); 30 }); 31//--> 32/* End Raw JS */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.