{‘ap_id’: ‘ea713e7850053d8670b062e6b11a6e39’, ‘byline’: ”, ‘ap_version’: 3, ‘apProducts’: [{‘product_id’: 42433, ‘station’: ‘1010wins’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wccoradio’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wbbm780’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wtic’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kywnewsradio’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kdkaradio’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wben’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wwl’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kmox’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kmbz’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kcbsradio’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘krld’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wwjnewsradio’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘waok’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘thesky973’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘1210wpht’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘talk980am’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘kdawn’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘knss’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘wilknews’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘newsradiowrva’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘knxnews’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘knxnews’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}, {‘product_id’: 42433, ‘station’: ‘989word’, ‘section_front’: ‘news/politics’, ‘name’: ‘AP Top News – Political – Stories’}], ‘original_item’: {‘meta’: {‘products’: [{‘id’: 41664, ‘name’: ‘AP Top News’}, {‘id’: 42433, ‘name’: ‘AP Top News – Political – Stories’}, {‘id’: 42437, ‘name’: ‘AP Top News – General – Stories’}, {‘id’: 100518, ‘name’: ‘AP Top News Package’}], ‘followed_topics’: []}, ‘item’: {‘uri’: ‘https://api.ap.org/media/v/content/ea713e7850053d8670b062e6b11a6e39?qt=juFCrzYIMIeF&et=3a1aza0c0&in_my_plan=true’, ‘altids’: {‘itemid’: ‘ea713e7850053d8670b062e6b11a6e39’, ‘etag’: ‘ea713e7850053d8670b062e6b11a6e39_3a1aza0c0’, ‘friendlykey’: ‘344289952533’, ‘referenceid’: ‘US–Iran-US-Military’}, ‘version’: 3, ‘type’: ‘text’, ‘urgency’: 4, ‘profile’: ‘Spot Development’, ‘language’: ‘en’, ‘versioncreated’: ‘2026-03-28T20:13:24Z’, ‘firstcreated’: ‘2026-03-28T15:50:07Z’, ‘editorialrole’: ‘FullStory’, ‘pubstatus’: ‘usable’, ‘ednote’: ‘Eds: UPDATES: Adds quote from expert. Adds more details on American casualties’, ‘editorialtypes’: [‘Lead’], ‘signals’: [‘newscontent’], ‘title’: ‘US–Iran-US-Military’, ‘headline’: ‘Iranian attack on Saudi base injures US troops. More American forces arrive in the Middle East’, ‘headline_extended’: ‘The number of American service members wounded in the Iran war has grown beyond 300, with more than two dozen troops injured this week from attacks on a Saudi air base’, ‘headline_seo’: ‘Iranian attack on Saudi base injures American troops’, ‘slugline’: ‘AP-US-Iran-US-Military, 3rd Ld-Writethru’, ‘bylines’: [{‘by’: ‘By AAMER MADHANI, SAMY MAGDY and BEN FINLEY’, ‘title’: ‘Associated Press’}], ‘located’: ‘WASHINGTON’, ‘datelinelocation’: {‘city’: ‘Washington’, ‘countryareacode’: ‘DC’, ‘countryareaname’: ‘District of Columbia’, ‘countrycode’: ‘USA’, ‘countryname’: ‘United States’, ‘geometry_geojson’: {‘type’: ‘Point’, ‘coordinates’: [-77.03637, 38.89511]}}, ‘copyrightnotice’: ‘Copyright 2026 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.’, ‘usageterms’: [‘This content is intended for editorial use only. For other uses, additional clearances may be required.’], ‘keywords’: [‘Iran war American casualties wounded troops’], ‘provider’: ‘AP’, ‘infosource’: [{‘name’: ‘AP’, ‘type’: ‘AP’}], ‘person’: [{‘name’: ‘Gerald Ford’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘PERSON’], ‘relevance’: 43}, {‘name’: ‘Benjamin N. Pennington’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘PERSON’], ‘relevance’: 43}, {‘name’: ‘George W. Bush’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘PERSON’], ‘relevance’: 90}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘a1a7fc3b17a04cec8caf6cfd9c4340c7’, ‘name’: ‘James F. Jeffrey’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘GOVERNMENT_FIGURE’, ‘PERSON’], ‘relevance’: 99}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘a6331b54c46e4ca8b79fa40fada95db5’, ‘name’: ‘Donald Trump’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘POLITICIAN’, ‘PERSON’], ‘relevance’: 99}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘5fad4a7d3abb40898916edc2073bdb5d’, ‘name’: ‘Marco Rubio’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘types’: [‘POLITICIAN’, ‘PERSON’], ‘associatedstates’: [{‘code’: ‘cb06ab1082af100482f8df092526b43e’, ‘name’: ‘Florida’}], ‘relevance’: 43}], ‘subject’: [{‘rels’: [‘category’], ‘creator’: ‘Editorial’, ‘code’: ‘w’, ‘name’: ‘w’}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘b8d6072f32b24b0aba1befe5e7978238’, ‘name’: ‘Drone surveillance and warfare’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 68}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ’97ffdf9299d94b14af0e4140ae87beb8′, ‘name’: ‘Iran war’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 99}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘7cf243908830100481e9ae2ac3a6923e’, ‘name’: ‘War and unrest’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 83}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘f25af2d07e4e100484f5df092526b43e’, ‘name’: ‘General news’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 99}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘3b7438807d7010048477ba7fa5283c3e’, ‘name’: ‘Military and defense’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 99}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘abfca78268874726966cdad8c35c4ae3’, ‘name’: ‘Washington news’, ‘creator’: ‘Editorial’, ‘editorial_subject’: ‘Washington news’, ‘rels’: [‘direct’], ‘relevance’: 75}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘f25af2d07e4e100484f5df092526b43e’, ‘name’: ‘General news’, ‘creator’: ‘Editorial’, ‘editorial_subject’: ‘General news’, ‘rels’: [‘direct’], ‘relevance’: 50}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘bb2d2c5f441a452cb24bb511a2ab5eea’, ‘name’: ‘World news’, ‘creator’: ‘Editorial’, ‘editorial_subject’: ‘World news’, ‘rels’: [‘direct’], ‘relevance’: 99}], ‘organisation’: [{‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘898f52e08921100480efba0a2b2ca13e’, ‘name’: ‘United States government’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 46}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘479683f72dbd46eca5f4af1ac349e1e1’, ‘name’: ‘Saudi Arabia government’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 57}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ’07b7f71393e94ee5a3a66c28a55cac52′, ‘name’: ‘Iran government’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘relevance’: 62}], ‘place’: [{‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘661e09b87d5b10048284c076b8e3055c’, ‘name’: ‘Saudi Arabia’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘parentids’: [‘661850e07d5b100481f6c076b8e3055c’], ‘locationtype’: {‘code’: ’01f56e0e654841eca2e69bf2cbcc0526′, ‘name’: ‘Nation’}, ‘geometry_geojson’: {‘type’: ‘Point’, ‘coordinates’: [45, 25]}, ‘relevance’: 71, ‘parentnames’: [‘Middle East’]}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘661dcb387d5b1004827dc076b8e3055c’, ‘name’: ‘Iran’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘parentids’: [‘661850e07d5b100481f6c076b8e3055c’], ‘locationtype’: {‘code’: ’01f56e0e654841eca2e69bf2cbcc0526′, ‘name’: ‘Nation’}, ‘geometry_geojson’: {‘type’: ‘Point’, ‘coordinates’: [53, 32]}, ‘relevance’: 92, ‘parentnames’: [‘Middle East’]}, {‘scheme’: ‘http://cv.ap.org/id/’, ‘code’: ‘661850e07d5b100481f6c076b8e3055c’, ‘name’: ‘Middle East’, ‘creator’: ‘Machine’, ‘rels’: [‘direct’], ‘locationtype’: {‘code’: ‘424cdfcd69d64fa6869055f7ebf10be4’, ‘name’: ‘World region’}, ‘relevance’: 76}], ‘audiences’: [{‘code’: ’82c6a4c46fa0446090a7acaf93159e4c’, ‘name’: ‘Print’, ‘type’: ‘AUDPLATFORM’}, {‘code’: ‘9add4649b53b4702ba7d9de5d4fa607a’, ‘name’: ‘Online’, ‘type’: ‘AUDPLATFORM’}, {‘code’: ‘f43adc08760d10048040e6e7a0f4673e’, ‘name’: ‘National’, ‘type’: ‘AUDSCOPE’}, {‘code’: ‘f4ecf9b0760d10048044e6e7a0f4673e’, ‘name’: ‘International’, ‘type’: ‘AUDSCOPE’}, {‘code’: ‘661850e07d5b100481f5c076b8e3055c’, ‘name’: ‘Latin America and Caribbean’, ‘type’: ‘AUDGEOGRAPHY’}, {‘code’: ‘661e48387d5b10048291c076b8e3055c’, ‘name’: ‘United States’, ‘type’: ‘AUDGEOGRAPHY’}], ‘associations’: {‘1’: {‘uri’: ‘https://api.ap.org/media/v/content/1ef082f138704b37b664238089c791af?qt=juFCrzYIMIeF&et=1a1aza3c0&ai=ea713e7850053d8670b062e6b11a6e39&in_my_plan=true’, ‘altids’: {‘itemid’: ‘1ef082f138704b37b664238089c791af’, ‘etag’: ‘1ef082f138704b37b664238089c791af_1a1aza3c0’}, ‘version’: 1, ‘type’: ‘picture’, ‘headline’: ‘Trump’}}, ‘renditions’: {‘nitf’: {‘title’: ‘NITF Story Download’, ‘rel’: ‘Story’, ‘format’: ‘IIM’, ‘type’: ‘text’, ‘mimetype’: ‘text/xml’, ‘fileextension’: ‘xml’, ‘words’: 887, ‘contentid’: ‘2be0c4d9244032e20e0e0ca5513c59e2’, ‘href’: ‘https://api.ap.org/media/v/content/ea713e7850053d8670b062e6b11a6e39.3/download?type=text&format=NITF&rid=2be0c4d9244032e20e0e0ca5513c59e2&cid=0&fid=8a6f09582b734eb58f0a9b3fe35eea87&trf=y1234&qt=juFCrzYIMIeF&dt=QCJ1qBk-ay&et=3a1aza0c0’, ‘mediafilterid’: ‘2’}}, ‘textformat’: ‘bx’, ‘links’: [{‘href’: ‘https://apnews.com/article/iran-war-american-casualties-wounded-troops-ea713e7850053d8670b062e6b11a6e39’, ‘rel’: ‘canonical’}]}}}
Skip to content
Condition: Post with Page_List
Search & Section NavigationConnect
Ask your smart speaker toplay K N X News on Audacy
${localTime}
`;
return row;
}
function buildScheduleRow(show, stationTimezone) {
const row = document.createElement(“a”);
row.href = `https://www.audacy.com/stations/${stationSlug}`;
row.className = “player-item”;
const startIso = show.startDateTime;
const endIso = show.endDateTime;
const startDayLocal = getLocalDateInTimezone(startIso, stationTimezone);
const endDayLocal = getLocalDateInTimezone(endIso, stationTimezone);
const todayLocal = getTodayInTimezone(stationTimezone);
let label = formatTime(startIso, stationTimezone);
if (show.isOnNow) {
label = “On Air Now”;
} else if (startDayLocal !== todayLocal && endDayLocal === todayLocal) {
label = `Until ${formatTime(endIso, stationTimezone)}`;
}
row.innerHTML = `
${formatTime(startIso, stationTimezone)}
`;
return row;
}
async function loadMusicBar() {
const apiUrl = `https://api.audacy.com/experience/v2/stations/${a2Id}/nowplaying?count=${song_count}`;
try {
const res = await fetch(apiUrl);
const data = await res.json();
window.performances = data?.performances || [];
document.dispatchEvent(new Event(‘performances:ready’));
if (!window.performances.length) return;
const first = window.performances[0];
currentTrackEl.textContent = `${first.artist} – ${first.title}`;
if (dropdownTitleEl) dropdownTitleEl.textContent = “Recently Played”;
listEl.innerHTML = “”;
window.performances.slice(0, 20).forEach(item => {
listEl.appendChild(buildMusicRow(item));
});
playerBar.classList.remove(“hidden”);
} catch (err) {
console.error(“Now Playing API error:”, err);
}
}
async function loadScheduleBar() {
const baseDate = new Date();
const startWindow = new Date(baseDate);
const endWindow = new Date(baseDate);
startWindow.setDate(baseDate.getDate() – 1);
endWindow.setDate(baseDate.getDate() + 2);
const startDateStr = formatDate(startWindow);
const endDateStr = formatDate(endWindow);
const apiUrl = `https://api.audacy.com/experience/v2/stations/${stationId}/schedules?startDate=${startDateStr}&endDate=${endDateStr}&timezone=UTC`;
try {
const res = await fetch(apiUrl);
const data = await res.json();
const occurrences = data?.occurrences || [];
if (!occurrences.length) return;
const stationTimezone = occurrences[0].timezone || timezone || “UTC”;
const todayLocal = getTodayInTimezone(stationTimezone);
const todaysShows = occurrences
.filter(show => {
const startDayLocal = getLocalDateInTimezone(show.startDateTime, stationTimezone);
const endDayLocal = getLocalDateInTimezone(show.endDateTime, stationTimezone);
return startDayLocal === todayLocal || endDayLocal === todayLocal;
})
.sort((a, b) => new Date(a.startDateTime) – new Date(b.startDateTime));
if (!todaysShows.length) return;
const currentShow =
todaysShows.find(show => show.isOnNow) ||
todaysShows.find(show => {
const now = Date.now();
return new Date(show.startDateTime).getTime() <= now &&
new Date(show.endDateTime).getTime() > now;
}) ||
todaysShows[0];
currentTrackEl.textContent = currentShow.showTitle || “”;
if (dropdownTitleEl) dropdownTitleEl.textContent = “Today’s Schedule”;
listEl.innerHTML = “”;
todaysShows.slice(0, 20).forEach(show => {
listEl.appendChild(buildScheduleRow(show, stationTimezone));
});
playerBar.classList.remove(“hidden”);
} catch (err) {
console.error(“Schedule API error:”, err);
}
}
if (stationType === “music”) {
loadMusicBar();
} else if (stationType === “sports” || stationType === “news”) {
loadScheduleBar();
}
const playerContent = document.querySelector(“.player-content”);
if (playerContent) {
playerContent.addEventListener(“click”, function () {
playerContent.classList.toggle(“visible”);
});
}
});
Site NavigationClose Search & Section Navigation
Source link
