PageSourceSearch

https://www.cdc.gov/outbreaks/wcms-inc/rss-outbreaksUS.js?v=3426

js cdc.gov collected 2026-10-01 05:18:48 UTC 1,989 bytes, 45 lines download raw bytes

1/* Raw JS */
2<!--//
3$.getJSON("https://www2c.cdc.gov/podcasts/feed.asp?feedid=513&format=json&callback=?",
4    function (data) {
5        var count_items = 0
6        var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
7        var list = $('<ul class="list-bullet"/>');
8        $('#rss-outbreaksUS').append(list);
9        $.each(data.entries, function (i, entry) {
10            if (count_items < 9) {
11                var newItem = $('<li />');
12                
13 //Italicize and append anchor title
14                var strtitle = entry.title;
15                var parse = strtitle.replace(/(C. difficile|Salmonella)/ig, "<em>$1</em>");
16                var newTitle = parse;
17
18               var a = $('<a class="item-title" />').html(entry.title);
19                a.attr("href", entry.link);
20                newItem.append(a);
21
22
23//Italicize and append description
24                var descplaceholder = entry.description;
25                var parse = descplaceholder.replace(/(C. difficile|Salmonella)/ig, "<em>$1</em>");
26                var descText = parse;
27
28                var d = new Date();
29                if (isNaN(Date.parse(entry.pubdate))) {
30                    d.setTime(Date.parse(entry.pubdate.substr(5, 2) + '/' + entry.pubdate.substr(8, 2) + '/' + entry.pubdate.substr(0, 4) + ' ' +
31                                                                        entry.pubdate.substr(11, 5)));
32                } else {
33                    d.setTime(Date.parse(entry.pubdate));
34                }
35                newItem.append($('<span class="item-pubdate" />').html("Announced " + monthNames[d.getMonth()] + " " + d.getFullYear()));
36                /*newItem.append($('<span class="item-description" />').html(entry.description));*/
37                list.append(newItem);
38                count_items = count_items + 1
39            } //end if greater than 9
40        });
41    });
42
43//-->
44
45/* 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.