Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否自定义 RSS 中条目的数量? #97

Open
Liu233w opened this issue Jan 8, 2017 · 1 comment
Open

可否自定义 RSS 中条目的数量? #97

Liu233w opened this issue Jan 8, 2017 · 1 comment

Comments

@Liu233w
Copy link
Member

Liu233w commented Jan 8, 2017

生成的RSS默认只能显示前10条,这个数量能不能自定义呢?

@kuangdash
Copy link
Member

这个写死在了 ego--update-rss 这个函数中,所以不能自定义,但可以临时用 advice-add 修改 ego--update-rss 函数,改 (-take 10 …… 那个部分(把数字 10 改成你需要的数量,其他照抄)

当然也可以在 ego-project-config-alist 里面针对这个需求添加变量……还是留给 2.0 版本吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants