mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-03-28 17:32:37 +01:00
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.
17 lines
473 B
JavaScript
Executable File
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()
|
|
})
|