Skip to content

Conversation

@thun888
Copy link
Contributor

@thun888 thun888 commented Jan 2, 2026

更改如下

修改:

  1. 修改对config.feed.path的取值方法,遍历输出,避免在使用部分支持多种订阅生成的生成器(如willow-god/hexo-pretty-feed)时出现问题
  2. 时间线传入参数时动态遍历所有属性而非固定参数

修复:

  1. link标签组件中自定义描述无效

新增:

  1. 时间线RSS支持 [Feature request] 希望能让 timeline 支援 RSS #626

RSS使用方法如下

timeline:
  layout: timeline
  title: 近期动态
  api: https://memos.hzchu.top/rss.xml
  type: rss
  content_type: content # content 或者 summary
  show_title: "false" # "true" or "false" 是否展示标题
  show_content: "true" # "true" or "false"
  limit: 10 # 限制展示条数

支持Atom, RSS2.0, RSS1.0, JsonFeed

Demo: https://blog.hzchu.top/wiki/notes/test/#rss

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 6, 2026

感谢大佬

@xaoxuu xaoxuu merged commit e71b246 into xaoxuu:main Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants