From 90c248c1b7f411d0a51274ef1f7d30f69b7334dc Mon Sep 17 00:00:00 2001 From: dylan Date: Thu, 25 Dec 2025 20:55:07 +0000 Subject: [PATCH] updated mastodon item to use getMastodonPost function --- config.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index 066c67c..b84be0f 100644 --- a/config.js +++ b/config.js @@ -4,6 +4,7 @@ import { getJsonFeedItemTitle, getLetterboxdActivity, getMalojaScrobble, + getMastodonPost, getReadingBooklogr, getRSSItemTitle, getTraktEpisode, @@ -30,17 +31,20 @@ export const items = [ { id: 'lastfm', regex: htmlLinkRegex('www.last.fm/user/lookathimthere'), - getLatest: async () => getRSSItemTitle('https://lfm.xiffy.nl/lookathimthere'), + getLatest: async () => + getRSSItemTitle('https://lfm.xiffy.nl/lookathimthere'), }, { id: 'mastodon', regex: htmlLinkRegex('social.lol/@dylan'), - getLatest: async () => getAtomFeedItem('https://social.lol/@dylan.rss'), + getLatest: async () => + getMastodonPost('https://social.lol/@dylan.rss'), }, { id: 'letterboxd', regex: htmlLinkRegex('letterboxd.com/STFUDonny'), - getLatest: async () => getLetterboxdActivity('stfudonny', false), + getLatest: async () => + getLetterboxdActivity('stfudonny', false), }, { id: 'trakt-episode', @@ -51,6 +55,7 @@ export const items = [ { id: 'trakt-movie', regex: htmlLinkRegex('trakt.tv/users/crankle'), - getLatest: async () => getTraktMovie('crankle', false), + getLatest: async () => + getTraktMovie('crankle', false), }, ]