short content rss article

This commit is contained in:
Tykayn 2023-08-17 10:55:27 +02:00 committed by tykayn
parent 36dd87ca0d
commit 3defe0bf15

View File

@ -47,7 +47,7 @@ export function makeTitleContentFromRss(parsedFeed) {
let cleanedTitle= item.title.replace('[','').trim() let cleanedTitle= item.title.replace('[','').trim()
cleanedTitle= cleanedTitle.replace(']','').trim() cleanedTitle= cleanedTitle.replace(']','').trim()
content += `\n* [${cleanedTitle}](${item.link}) `; content += `\n* [${cleanedTitle}](${item.link}) `;
content += `\n ${item.isoDate.substring(0,10)} : ${item.contentSnippet.split('\n')[0]} \n`; // content += `\n ${item.isoDate.substring(0,10)} : ${item.contentSnippet.split('\n')[0]} \n`;
counter++; counter++;
}); });
return content; return content;