updated mastodon item to use getMastodonPost function
This commit is contained in:
parent
25d770662a
commit
90c248c1b7
1 changed files with 9 additions and 4 deletions
13
config.js
13
config.js
|
|
@ -4,6 +4,7 @@ import {
|
||||||
getJsonFeedItemTitle,
|
getJsonFeedItemTitle,
|
||||||
getLetterboxdActivity,
|
getLetterboxdActivity,
|
||||||
getMalojaScrobble,
|
getMalojaScrobble,
|
||||||
|
getMastodonPost,
|
||||||
getReadingBooklogr,
|
getReadingBooklogr,
|
||||||
getRSSItemTitle,
|
getRSSItemTitle,
|
||||||
getTraktEpisode,
|
getTraktEpisode,
|
||||||
|
|
@ -30,17 +31,20 @@ export const items = [
|
||||||
{
|
{
|
||||||
id: 'lastfm',
|
id: 'lastfm',
|
||||||
regex: htmlLinkRegex('www.last.fm/user/lookathimthere'),
|
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',
|
id: 'mastodon',
|
||||||
regex: htmlLinkRegex('social.lol/@dylan'),
|
regex: htmlLinkRegex('social.lol/@dylan'),
|
||||||
getLatest: async () => getAtomFeedItem('https://social.lol/@dylan.rss'),
|
getLatest: async () =>
|
||||||
|
getMastodonPost('https://social.lol/@dylan.rss'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letterboxd',
|
id: 'letterboxd',
|
||||||
regex: htmlLinkRegex('letterboxd.com/STFUDonny'),
|
regex: htmlLinkRegex('letterboxd.com/STFUDonny'),
|
||||||
getLatest: async () => getLetterboxdActivity('stfudonny', false),
|
getLatest: async () =>
|
||||||
|
getLetterboxdActivity('stfudonny', false),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'trakt-episode',
|
id: 'trakt-episode',
|
||||||
|
|
@ -51,6 +55,7 @@ export const items = [
|
||||||
{
|
{
|
||||||
id: 'trakt-movie',
|
id: 'trakt-movie',
|
||||||
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
||||||
getLatest: async () => getTraktMovie('crankle', false),
|
getLatest: async () =>
|
||||||
|
getTraktMovie('crankle', false),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue