Files
ipfs-blog/scripts/data/index.js
Marcin Rataj 64861f42fc chore: include release notes and ecosystem content in RSS feed
add postbuild script that enhances the VuePress-generated RSS feed
with items from special content pages (release notes, ecosystem,
news coverage, videos, tutorials, events) that are stored as YAML
arrays in frontmatter rather than individual markdown files.

only items published after 2025-11-25 are included to avoid
backfilling old content into subscribers' feeds.
2025-11-27 06:44:44 +01:00

17 lines
473 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict'
const { enhanceFeed } = require('./enhance-feed')
const { generateIndexFile } = require('./latest-posts')
const { generateNewsFile } = require('./latest-news')
const { generateVideosFile } = require('./latest-videos')
// Enhance RSS feed first (adds release notes, ecosystem content, etc.)
// then generate index.json from the enhanced feed
enhanceFeed().then(() => {
generateIndexFile()
generateNewsFile()
generateVideosFile()
})