hexojs / hexo-generator-feed

Feed generator for Hexo.

Home Page:http://hexo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

生成不同category的rss

qzi opened this issue · comments

如果生成不同category的rss更好,那样就可以写几个类别给不同的人订阅,并不是所有的人都对所有类别感兴趣

很好的想法,不过似乎可以通过插件的方式来实现

很好的想法,不过似乎可以通过插件的方式来实现

刚需

很好的想法,不过似乎可以通过插件的方式来实现

想了解你想的方案

commented

@qzi

let posts = locals.posts.sort(feedConfig.order_by || '-date');

As you can see, the plugin read post list from locals.

Base on this, you can write your own RSS generator then.

@qzi

let posts = locals.posts.sort(feedConfig.order_by || '-date');

As you can see, the plugin read post list from locals.

Base on this, you can write your own RSS generator then.

哇,厉害,sukka同时在维护很多插件的感觉,我不太懂nodejs,可能得学习一下研究代码才能构建一个扩展,回头有空试试

commented

There is a discussion about it: #3
I'm closing this issue. Please join the discussion there :)