added function to fetch Atom feed for Mastodon
This commit is contained in:
parent
c2ca868e9a
commit
7d896ace0d
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
getAtomFeedItem,
|
||||
getJsonFeedItemContent,
|
||||
getJsonFeedItemTitle,
|
||||
getLetterboxdActivity,
|
||||
|
|
@ -34,7 +35,7 @@ export const items = [
|
|||
{
|
||||
id: 'mastodon',
|
||||
regex: htmlLinkRegex('social.lol/@dylan'),
|
||||
getLatest: async () => getRSSItemTitle('https://social.lol/@dylan.rss'),
|
||||
getLatest: async () => getAtomFeedItem('https://social.lol/@dylan.rss'),
|
||||
},
|
||||
{
|
||||
id: 'letterboxd',
|
||||
|
|
|
|||
Loading…
Reference in a new issue