This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/follow-feed.11ty.js

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.",
})
}
}