For AI agents: the complete documentation index is available at https://www.67-8.com/llms.txt, the full documentation bundle is available at https://www.67-8.com/llms-full.txt, and this page is available as Markdown at https://www.67-8.com/plugin/official-plugins/rss.md.

@rspress/plugin-rss

预计阅读时间: 小于 1 分钟

官方文档:@rspress/plugin-rss

本站配置

import { pluginRss } from '@rspress/plugin-rss';

pluginRss({
  siteUrl: 'https://www.67-8.com',
  feed: {
    id: 'blog',
    title: '67-8 博客',
    language: 'zh-CN',
    test: (item) =>
      item.routePath.startsWith('/posts/') &&
      item.routePath !== '/posts/' &&
      !item.routePath.endsWith('/posts/'),
    output: {
      type: 'rss',
      dir: '.',
      filename: 'rss.xml',
    },
  },
});

订阅地址:https://www.67-8.com/rss.xml