diff --git a/updateFeeds.js b/updateFeeds.js index 3760987..f480e66 100644 --- a/updateFeeds.js +++ b/updateFeeds.js @@ -67,10 +67,16 @@ return new Promise((resolve, reject) => { // send the message to everyone for each item! for (var item of brandNewItems) { - // FIX THIS item = transformContent(item); - //console.log(item.urls); - let message = `
${item.content || ''}`; + + let message; + if(item.link.match('/twitter.com/')) { + message = `${item.content}`; + } + else { + message = `${item.content || ''}
`; + } + if (item.enclosure && item.enclosure.url && item.enclosure.url.includes('.mp3')) { message += ``; }