24 lines
718 B
JavaScript
24 lines
718 B
JavaScript
module.exports = class {
|
|
data() {
|
|
return {
|
|
permalink: '/follow.xml',
|
|
}
|
|
}
|
|
|
|
async render() {
|
|
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
|
|
const feed = new ActivityFeed()
|
|
|
|
feed.addSource('atom', 'Blog', 'https://coryd.dev/feed.xml')
|
|
feed.addSource('rss', 'Letterboxd', 'https://letterboxd.com/cdme/rss')
|
|
feed.addSource('rss', 'Glass', 'https://glass.photo/coryd/rss')
|
|
feed.addSource('rss', 'Oku', 'https://oku.club/rss/collection/NvEmF')
|
|
|
|
return feed.toRssFeed({
|
|
title: "Cory Dransfeldt's activity feed",
|
|
language: 'en',
|
|
url: 'https://coryd.dev/follow/',
|
|
subtitle: "Cory Dransfeldt's activity across the web.",
|
|
})
|
|
}
|
|
}
|