jpmonette / feed

A RSS, Atom and JSON Feed generator for Node.js, making content syndication simple and intuitive! 🚀

Home Page:https://github.com/jpmonette/feed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stream support

Mister-Hope opened this issue · comments

I have about 500 markdown files which have a total size up to 10M to generate, for now, it's taking a bit more memory while rendering. Can we use stream, to write contents directly to the files while reading them? Just like what sitemap is doing.

@jpmonette
Any news about this? Will you add stream support anytime soon?
I'm facing the same issue. Buffering is not good when there is an ever growing number of feed items.

@gtamas Good idea! I welcome PRs - just raise a Feature Request with how you'd implement it and you can then push a PR.

Thanks

This would go together well with paging. For my own blog, I have one feed page per year. That helps with incrementally updating the feed.