added function to fetch Atom feed for Mastodon

This commit is contained in:
dylan 2025-12-25 20:38:11 +00:00
parent c2ca868e9a
commit 7d896ace0d

View file

@ -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',