feedgenerator icon indicating copy to clipboard operation
feedgenerator copied to clipboard

JSON feed

Open justinmayer opened this issue 7 years ago • 4 comments

Should we add JSON Feed capability to FeedGenerator? @rjames86 has begun work on a JSON Feed plugin, and he wondered what @getpelican/reviewers thought about integrating it into FeedGenerator instead. Any thoughts?

justinmayer avatar Jun 22 '17 20:06 justinmayer

Thanks @justinmayer! I got disconnected from the IRC channel after I had asked the question.

I already have an initial commit done on my own fork to get this working here

Looking for suggestions on where the JSON classes should live. It's a generator, but it for some reason felt off putting it in generators.py.

I've also implemented the same methods as the RSS/ATOM generators so that implementation should be fairly trivial

rjames86 avatar Jun 22 '17 20:06 rjames86

Bump. Anyone have any feedback on this? If not, I'll clean it up and get tests written and submit for review

rjames86 avatar Aug 07 '17 19:08 rjames86

I'm not sure that JSON feed is used by at least one mature software though I'd say: why not give it a chance? :)

ikalnytskyi avatar Oct 12 '17 18:10 ikalnytskyi

Before I found this issue I found this project by @myles which implements a subclass of SyndicationFeed to produce JSON Feeds: https://github.com/myles/django-jsonfeed

I'm using it as an interim solution, and maybe it could be integrated into feedgenerator?

cristoper avatar Sep 23 '18 21:09 cristoper