Joyce’s Thought of the Day 6/21/22 -The plague of communism 850 WFTL – 850 WFTL
Joyce's Thought of the Day 6/21/22 -The plague of communism 850 WFTL ';this.div = document.querySelectorAll(this.divSelector)[0];this.div.appendChild(html);if(this.div.getElementsByClassName('app-badge-google').length > 0 && browser && browser.name && browser.name == 'ios') { this.div.getElementsByClassName('app-badge-google')[0].classList.add('hide');}jQuery('.play-button').first().clone().appendTo('.play-button-mobile');document.body.classList.add('has-livebar');document.body.classList.add('livebar-'+this.station_type);}// set heightthis.setHeight = function() { // TODO variable heightvar innerDocContentHeight = 80;this.div.style.height = innerDocContentHeight + "px";}this.removeUrlProtocol = function(url) { var newstr = url.replace('http://', '//'); return newstr;};// subscribe eventsthis.subscribeEvents = function() {var _this = this;for (var i in this.configChannels) {var channelName = this.configChannels[i];var channel = this.pusher.subscribe(channelName);for (var j in this.events) {var eventName = this.events[j];channel.bind(eventName, function(data) {_this.pusherEvent(channelName, eventName, data);});}_this.channels.push(channel);}};// process real time `cue` event from Pusher.comthis.pusherEvent = function(channelName, eventName, pusherData) {this.processTrackOrEvent(pusherData);};this.latestEpisode = function() {var episode = this.latest_episode;var data = {type: 'podcast',artist: '', // episode.podcast_title,trackName: this.truncate(episode.post_title, 71),art: episode.post_thumbnail,url: episode.url}this.processTrackOrEvent(data);}// grabs the latest track from the apithis.ajaxLatestTrack = function() {var endpoint = this.endpoint + '/hll_widget_livebar_cues.php';var data = {'limit': '1'};var _this = this;var httpRequest = new XMLHttpRequest();httpRequest.open('POST', endpoint);httpRequest.setRequestHeader("Content-type", "application/json");httpRequest.send(JSON.stringify(data));httpRequest.onreadystatechange = function () {if (httpRequest.readyState == 4 && httpRequest.status == 200) {var json = JSON.parse(httpRequest.responseText);_this.processTrackOrEvent(json.data.response[0]);}}};// grabs the latest event from the api this.ajaxLatestEvent = function() { var endpoint = this.endpoint + '/hll_widget_livebar_events.php'; var data = {'limit': '3'}; var _this = this; var httpRequest = new XMLHttpRequest(); httpRequest.open('POST', endpoint); httpRequest.setRequestHeader("Content-type", "application/json"); httpRequest.send(JSON.stringify(data)); httpRequest.onreadystatechange = function () { if (httpRequest.readyState == 4 && httpRequest.status == 200) { var json = JSON.parse(httpRequest.responseText); _this.processTrackOrEvent(json.data.response[0]); } } };// grabs the latest podcast episode from the wp-json api this.ajaxLatestEpisode = function() { var endpoint = '/wp-json/hbi/v1/liveplayer/latestepisode'; var _this = this; var httpRequest = new XMLHttpRequest(); httpRequest.open('GET', endpoint); httpRequest.setRequestHeader("Content-type", "application/json"); httpRequest.send(); httpRequest.onreadystatechange = function () { if (httpRequest.readyState == 4 && httpRequest.status == 200) { var episode = JSON.parse(httpRequest.responseText); var data = { type: 'podcast', artist: '', // episode.podcast_title, trackName: _this.truncate(episode.post_title, 71), art: episode.post_thumbnail, url: episode.url } _this.processTrackOrEvent(data); } } };// process the track or event data and update the HTMLthis.processTrackOrEvent = function(d) {// debug: print data to console// window.console.log('processTrackOrEvent',d);// workaround: ignore spots for nowvar type = d.type;if (type !== 'podcast' && type !== 'song' && type !== 'show' && type !== 'special-event' && type !== 'guest' && type !== 'other') {return;}if(type == 'song') {var trackId = d.data.musicbrainz_recording;var artist = d.data.artist || '';var trackName = d.data.description || '';var art = this.removeUrlProtocol(d.data.art_url || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/track.png");art = art + '?ver=3';}else if(type == 'podcast') {var artist = d.artist || '';var trackName = d.trackName || '';var art = this.removeUrlProtocol(d.art || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/track.png");this.setEpisodeTimer();}else { var trackId = d.id;var timeRange = function() {let start_date = moment(d.start_date);let end_date = moment(d.end_date);let default_format = 'h:mma';let start_day_format = (default_format);let end_day_format = (default_format);// If start and end dates both fall in AM or PM, make it brief// Example: 10:00-11:00am vs 10:00am-11:00amif(start_date.format('a') === end_date.format('a')) {start_day_format = 'h:mm';}// Remove minutes if 00if(start_date.minutes() == 0) { start_day_format = 'h';}if(end_date.minutes() == 0) { end_day_format = 'ha';}return start_date.format(start_day_format) + "-" + end_date.format(end_day_format); };var artist = timeRange();var trackName = d.name || '';var art = this.removeUrlProtocol(d.photo || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/event.png");// Start timer this.setEventTimer();}// This block retrieves art work as a blob so we can render it in the DOM// ... and additionally process its color swatches in a canvas context via Vibrant.js// ... with only ONE network request.// https://stackoverflow.com/questions/23013871/how-to-parse-into-base64-string-the-binary-image-from-response// https://stackoverflow.com/questions/33902299/using-jquery-ajax-to-download-a-binary-filefetchBlob(art, function(arrayBuffer) {var blob = new Blob([arrayBuffer], {type: "image/jpeg"});var url = URL.createObjectURL(blob);// Set artwork in DOMdocument.getElementsByClassName('album-art-img')[0].src=url;document.getElementsByClassName('album-art-img')[0].classList.remove('d-none');document.getElementsByClassName('live-player-background')[0].src=url;// Use live player button color if set in Customizerif(window.livePlayerButtonColor) {// set color of large and compact play buttons with customizer colorArray.from(document.getElementsByClassName('play-circle-outline-path')).forEach(function(element) {element.style.fill = window.livePlayerButtonColor;// display play button if hidden (avoids color flash on load)document.getElementById('play-button-column').classList.remove('invisible');});return;}// If live player button color is not manually set, automatically get album art color from vibrant.jsvar img = document.getElementsByClassName('album-art-img')[0];img.addEventListener('load', function() {var vibrant = new Vibrant(img);var swatches = vibrant.swatches();var swatch = swatches['LightVibrant'] || swatches['Vibrant'] || swatches['Muted'] || swatches['DarkMuted'];// trap edge case where Vibrant.js doesn't return a swatchif(swatch !== undefined) {// get hex from swatch libraryvar hex = swatch.getHex();// set color of large and compact play buttonsArray.from(document.getElementsByClassName('play-circle-outline-path')).forEach(function(element) {element.style.fill = hex;});}// display play button if hidden (avoids color flash on load)document.getElementById('play-button-column').classList.remove('invisible');});});this.div.getElementsByClassName('onair-artist')[0].innerHTML = artist;this.div.getElementsByClassName('onair-track')[0].innerHTML = trackName;// link to episode if live player is in podcast modeif(type == 'podcast') {jQuery('.play-button a, #circles, .album-art a, .track a').attr('href',d.url).removeAttr('target');jQuery('.onair-artist').hide();}// Skip TextFit step for podcast episodesif(this.station_type == 'podcast') {return;}// Dynamically size long track titles - https://github.com/STRML/textFit// var textFitOptions = {// alignVert: false, // if true, textFit will align vertically using css tables// alignHoriz: false, // if true, textFit will set text-align: center// multiLine: false, // if true, textFit will not set white-space: no-wrap// detectMultiLine: false, // disable to turn off automatic multi-line sensing// minFontSize: 11, // in px// maxFontSize: 40, // in px// reProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performance// widthOnly: false, // if true, textFit will fit text to element width, regardless of text height// alignVertWithFlexbox: false, // if true, textFit will use flexbox for vertical alignment// }if (textFit !== "undefined") {textFit(this.div.getElementsByClassName('onair-track')[0], {alignVert: false, // if true, textFit will align vertically using css tablesalignHoriz: false, // if true, textFit will set text-align: centermultiLine: false, // if true, textFit will not set white-space: no-wrapdetectMultiLine: false, // disable to turn off automatic multi-line sensingminFontSize: 13, // in pxmaxFontSize: 31, // in pxreProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performancewidthOnly: false, // if true, textFit will fit text to element width, regardless of text heightalignVertWithFlexbox: true, // if true, textFit will use flexbox for vertical alignment});textFit(this.div.getElementsByClassName('onair-artist')[0], {alignVert: false, // if true, textFit will align vertically using css tablesalignHoriz: false, // if true, textFit will set text-align: centermultiLine: false, // if true, textFit will not set white-space: no-wrapdetectMultiLine: false, // disable to turn off automatic multi-line sensingminFontSize: 11, // in pxmaxFontSize: 30, // in pxreProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performancewidthOnly: false, // if true, textFit will fit text to element width, regardless of text heightalignVertWithFlexbox: true, // if true, textFit will use flexbox for vertical alignment});}}// Set timer for event refresh this.setEventTimer = function() { var _this = this; setTimeout(function(){ _this.ajaxLatestEvent(); }, this.eventRefreshTime); };// Set timer for episode refresh this.setEpisodeTimer = function() { var _this = this; setTimeout(function(){ _this.ajaxLatestEpisode(); }, this.eventRefreshTime); }; // https://stackoverflow.com/questions/1199352/smart-way-to-truncate-long-strings this.truncate = function(str, n){ return (str.length > n) ? str.substr(0, n-1) + '' : str; };// https://stackoverflow.com/questions/23013871/how-to-parse-into-base64-string-the-binary-image-from-responsefunction fetchBlob(uri, callback) { var xhr = new XMLHttpRequest(); xhr.open('GET', uri, true); xhr.responseType = 'arraybuffer'; xhr.onload = function(e) {if (this.status == 200) { var blob = this.response; if (callback) {callback(blob); }} }; xhr.send();};}// Set and intializevar hllLiveBarWidget = new hllLiveBarWidgetObject('player-widget-livebar');hllLiveBarWidget.init();
Link:
Joyce's Thought of the Day 6/21/22 -The plague of communism 850 WFTL - 850 WFTL
- Belgium: the Revolutionary Communist Organisation is here For our generation, communism is no longer taboo - In Defence of Marxism - November 19th, 2024 [November 19th, 2024]
- Communist Party of Ireland: Statement on the Irish General Election 2024 - In Defense of Communism - November 19th, 2024 [November 19th, 2024]
- Czechia celebrates 35 years since the Velvet Revolution and the fall of communism in Czechoslovakia - Radio Prague International - November 19th, 2024 [November 19th, 2024]
- Communism, Canada and Cuba: new exhibition showcasing photographer Helena Wilson opens in Prague - Radio Prague International - November 16th, 2024 [November 16th, 2024]
- The truth behind the infamous "Victims of Communism Memorial Foundation" - In Defense of Communism - November 16th, 2024 [November 16th, 2024]
- John Ivison: They came fleeing communism. Now Ottawas expropriating and redistributing their property - National Post - November 14th, 2024 [November 14th, 2024]
- Nehru in the age of the RSS-BJP, anti-communism and alignment of chakras - The Leaflet - November 14th, 2024 [November 14th, 2024]
- Ahoo Daryaei and the hijab of capitalism - In Defense of Communism - November 8th, 2024 [November 8th, 2024]
- KKE's General Secretary D. Koutsoumbas on the result of the US elections and its impact on Greece - In Defense of Communism - November 8th, 2024 [November 8th, 2024]
- European Communist Action: Statement on the 107th anniversary of the Great October Socialist Revolution - In Defense of Communism - November 8th, 2024 [November 8th, 2024]
- Letters: What an uneducated world we live in. MAGA is better than communism. - The Columbus Dispatch - October 21st, 2024 [October 21st, 2024]
- Neal Stephenson's 'Polostan' is a compact epic about communism, science, and the dawn of the atomic age - Reason - October 21st, 2024 [October 21st, 2024]
- Documenting Communism: The Hoover Project to Microfilm and Publish the Soviet Archives - Hoover Institution - October 21st, 2024 [October 21st, 2024]
- Communist Party of Sweden brings back the sickle and hammer on its logo - In Defense of Communism - October 21st, 2024 [October 21st, 2024]
- Imperialism: The Example of the Russian Federation - In Defense of Communism - October 21st, 2024 [October 21st, 2024]
- To Overthrow the World: The Rise and Fall and Rise of Communism (Guest: Sean McMeekin) - The Heartland Institute - October 3rd, 2024 [October 3rd, 2024]
- Echoes of communism: Study finds Germans who lived in the former GDR value free speech less than West Germans - Phys.org - October 3rd, 2024 [October 3rd, 2024]
- Echoes of communism: Study finds Germans who lived in the former GDR value free speech less than West Germans - Phys.org - October 3rd, 2024 [October 3rd, 2024]
- Meeting of Communist Parties scheduled to be held in Beirut has been postponed until further notice - In Defense of Communism - October 3rd, 2024 [October 3rd, 2024]
- Meeting of Communist Parties scheduled to be held in Beirut has been postponed until further notice - In Defense of Communism - October 3rd, 2024 [October 3rd, 2024]
- The time is ripe for Gandhis philosophical alternative to capitalism and communism - Scroll.in - October 3rd, 2024 [October 3rd, 2024]
- Communism Yesterday, Today . . . and Tomorrow? - National Review - September 28th, 2024 [September 28th, 2024]
- A history of communism with an eye on the victims: Review of To Overthrow the World by Sean McMeekin - Washington Examiner - September 28th, 2024 [September 28th, 2024]
- World Order at Stake: Moolenaar, Krishnamoorthi Speak at Victims of Communism Memorial Foundation's Annual China Forum - Select Committee on the CCP | - September 26th, 2024 [September 26th, 2024]
- Max Boots Reagan Biography Boosts Communism And Trashes America - The Federalist - September 26th, 2024 [September 26th, 2024]
- Communist Party of Israel - Hadash: It is still possible to prevent an all-out war in Lebanon Ceasefire and hostage deal in Gaza - In Defense of... - September 26th, 2024 [September 26th, 2024]
- MEDIA ADVISORY: Moolenaar, Krishnamoorthi To Speak at Victims of Communism Memorial Foundation's Annual China Forum - Select Committee on the CCP | - September 21st, 2024 [September 21st, 2024]
- KKE rejects EU Parliament's despicable resolution on financial and military support to Ukraine - In Defense of Communism - September 21st, 2024 [September 21st, 2024]
- Fall of Communism opens the world to Schoper - NUjournal - September 14th, 2024 [September 14th, 2024]
- I Grew Up With Soviet Communism; Now as a Trustee I See It Embedded in Californias Ethnic Studies - California Globe - September 14th, 2024 [September 14th, 2024]
- Red Reviews: Left-Wing Communism, An Infantile Disorder - Fight Back! Newspaper - September 14th, 2024 [September 14th, 2024]
- Fox networks have falsely linked Harris and Walz to socialism or communism over 450 times since Biden's exit - Media Matters for America - September 14th, 2024 [September 14th, 2024]
- Revolution Festival 2024: The school of communism is back! - The Communist - September 8th, 2024 [September 8th, 2024]
- The Struggle To Contain Communism in One Book - Washington Free Beacon - September 8th, 2024 [September 8th, 2024]
- Book Of The Week: David McCullagh on Communism's forgotten radicals - RT News - September 8th, 2024 [September 8th, 2024]
- Communist Party of Turkey: Mass protest against US warship docked in Izmir port - In Defense of Communism - September 8th, 2024 [September 8th, 2024]
- The US right keeps accusing Democrats of communism. What does that even mean? | Jan-Werner Mller - The Guardian - September 6th, 2024 [September 6th, 2024]
- A new Reagan film explores the 40th presidents historic struggle against communism - Washington Examiner - September 6th, 2024 [September 6th, 2024]
- Letter: Fact-checking fear: Setting the record straight on Common sense vs. communism - Albert Lea Tribune - September 6th, 2024 [September 6th, 2024]
- Communist Party of Greece (KKE): Article on the war in the Middle East, Palestine and Israel - In Defense of Communism - September 6th, 2024 [September 6th, 2024]
- Transnational Communism Across the Americas offers valuable insights despite its anti-communist tropes - People's World - August 18th, 2024 [August 18th, 2024]
- Conservative Who Has Been Complaining About Grocery Prices Says Harris Price-Gouging Ban is Communism - The Hard Times - August 18th, 2024 [August 18th, 2024]
- A new Communist Party to be launched in Cyprus - In Defense of Communism - August 16th, 2024 [August 16th, 2024]
- Isserman Writes about the DNC and Communism - Hamilton - August 14th, 2024 [August 14th, 2024]
- The Reality of Communism - revcom.us - July 22nd, 2024 [July 22nd, 2024]
- PERSPECTIVE: Beijing & Kabul: A Strategic Unity of Communism and Terrorism in Turbulent Times - HSToday - July 22nd, 2024 [July 22nd, 2024]
- 72 Christians Imprisoned or Missing in 4 Communist Countries - International Christian Concern - July 20th, 2024 [July 20th, 2024]
- 35 years after Tiananmen: Communism, Christianity, and China - Mission Network News - June 27th, 2024 [June 27th, 2024]
- From communism to stripper restrictions: Florida measures slated to take effect July 1 - Orlando Weekly - June 27th, 2024 [June 27th, 2024]
- KKE Europarliament Group: Remove Cuba from the U.S list of "state-sponsors of terrorism" - In Defense of Communism - June 27th, 2024 [June 27th, 2024]
- Kohei Saito, Marx in the Anthropocene: Towards the Idea of Degrowth Communism book review - Counterfire - May 27th, 2024 [May 27th, 2024]
- British Communist Party announces first candidates for 4 July General Election - In Defense of Communism - May 27th, 2024 [May 27th, 2024]
- The Communists Are Coming! How YOU can promote the RCI founding conference - The Communist - May 27th, 2024 [May 27th, 2024]
- The Southern Truth About Communism - Black Agenda Report - May 18th, 2024 [May 18th, 2024]
- Swiss rediscover communist zeal after 84-year hiatus - SWI swissinfo.ch - SWI swissinfo.ch in English - May 18th, 2024 [May 18th, 2024]
- Revolutionary Communists take on Tory warmongers - The Communist - May 18th, 2024 [May 18th, 2024]
- Communist Party of Ireland: On the 50th anniversary of the 1974 Dublin-Monaghan terrorist attack - In Defense of Communism - May 18th, 2024 [May 18th, 2024]
- Florida Governor DeSantis signs new law mandating teaching the evils of communism to children as young as five - WSWS - May 1st, 2024 [May 1st, 2024]
- Communists to run in Karl Marx hometown's election - In Defense of Communism - May 1st, 2024 [May 1st, 2024]
- Slow Down. How Degrowth Communism Can Save the Earth book review - Counterfire - May 1st, 2024 [May 1st, 2024]
- A Survivor of the Cultural Revolution Reviews New Book, 'The Devil and Communist China' - The Stream - May 1st, 2024 [May 1st, 2024]
- European Communist Action: Long live the 1st of May Long live socialism! - In Defense of Communism - May 1st, 2024 [May 1st, 2024]
- Florida children to learn that communism is evil, slavery a skills training program - The South Florida Times - May 1st, 2024 [May 1st, 2024]
- Pol Pot's Atrocities Still Matter, 45 Years After Khmer Rouge's Fall - Reason - January 12th, 2024 [January 12th, 2024]
- Lenin lives! Join the communists to celebrate his life and ideas! - Socialist Appeal - January 12th, 2024 [January 12th, 2024]
- Goodbye Socialist Appeal The Communist is coming! - Socialist Appeal - January 12th, 2024 [January 12th, 2024]
- Xi Jinpings once-unquestioned authority is showing cracks - The Hill - January 12th, 2024 [January 12th, 2024]
- The Reality of CommunismWhat Is Social Democracy and Why Is It a Capitalist Dictatorship? - revcom.us - January 12th, 2024 [January 12th, 2024]
- Why Did the Berlin Wall Fall? - The Imaginative Conservative - November 13th, 2023 [November 13th, 2023]
- 1947 and now - The Interpreter - November 13th, 2023 [November 13th, 2023]
- Albania's deal with Italy on migrants has been welcomed by many ... - Las Vegas Sun - November 13th, 2023 [November 13th, 2023]
- Grothman's Bipartisan Hmong New Year Resolution | U.S. ... - Glenn Grothman - November 13th, 2023 [November 13th, 2023]
- Another View: DeSantis was strong, Haley was sharp, Ramaswamy ... - Press Herald - November 13th, 2023 [November 13th, 2023]
- Communism in Britain: The unbroken thread - Socialist Appeal - November 11th, 2023 [November 11th, 2023]
- November 7 as Victims of Communism Day - 2023 - Reason - November 11th, 2023 [November 11th, 2023]
- The Fall of the Berlin Wall and the Fate of the West - Breakpoint - BreakPoint.org - November 11th, 2023 [November 11th, 2023]
- Cruzs new book Unwoke shows readers how to defeat cultural ... - 1330 WFIN - November 11th, 2023 [November 11th, 2023]
- The aftermath of the Velvet Revolution was justice delivered? - Radio Prague International - November 11th, 2023 [November 11th, 2023]
- Remember, Remember, the 9th of November - The Imaginative Conservative - November 11th, 2023 [November 11th, 2023]
- Country Road Chronicles: Communist camp in Westerly in the '30s - The Westerly Sun - November 11th, 2023 [November 11th, 2023]