> 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.

# @rspress/plugin-rss

官方文档：[@rspress/plugin-rss](https://rspress.rs/zh/plugin/official-plugins/rss)

## 本站配置

```ts
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](https://www.67-8.com/rss.xml)
