Commit a31cf5b Mabrur Habib
committed
1 parent d888914 commit a31cf5b Copy full SHA for a31cf5b
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ title: Home
130
130
async function fetchRSSFeeds () {
131
131
const feeds = [
132
132
{ url: ' https://medium.com/feed/@bibib' , source: ' Medium' },
133
- { url: ' https://nbsc7.wordpress.com/feed' , source: ' WordPress' }
133
+ { url: ' https://nbsc7.wordpress.com/feed' , source: ' WordPress' },
134
+ { url: ' https://kumelsnote.blogspot.com/feeds/posts/default?alt=rss' , source: ' Blogspot' }
134
135
];
135
136
136
137
for (const feed of feeds) {
@@ -178,7 +179,7 @@ title: Home
178
179
itemsToShow .forEach (item => {
179
180
const feedItem = document .createElement (' div' );
180
181
feedItem .innerHTML = `
181
- <h3 >${ item .pubDate .toLocaleDateString ()} | <a href =" ${item.link}" target =" _blank" >${ item .title } </a ></h3 >
182
+ <h3 >${ item .pubDate .toLocaleDateString ()} ${ item . source } | <a href =" ${item.link}" target =" _blank" >${ item .title } </a ></h3 >
182
183
` ;
183
184
feedContainer .appendChild (feedItem);
184
185
});
You can’t perform that action at this time.
0 commit comments