getpelican / feedgenerator

Standalone version of Django's feedgenerator module
BSD 3-Clause "New" or "Revised" License
52 stars 23 forks source link

JSON feed #11

Open justinmayer opened 7 years ago

justinmayer commented 7 years ago

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?

rjames86 commented 7 years ago

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 commented 7 years ago

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

ikalnytskyi commented 7 years ago

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? :)

cristoper commented 6 years ago

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?