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

[JsonFormat] implemented JSON Feed version 1 format #988

Merged
merged 7 commits into from
Jan 5, 2019

Conversation

fulmeek
Copy link
Contributor

@fulmeek fulmeek commented Dec 30, 2018

Since JsonFormat was just a JSON representation of the feed items without a proper use, I rewrote it to comply with the JSON Feed specs (https://jsonfeed.org/version/1). Since JSON Feed allows vendor extensions, any custom item properties that aren't used in the feed appear in the "_rssbride" object (starting with a _ character as required by the specs).

The feed samples for JsonFormatTest may be useful for other format tests as well, so we could write similar unit tests for Atom and (M)RSS.

This PR addresses issue #618.

@logmanoriginal logmanoriginal merged commit 8801ac9 into RSS-Bridge:master Jan 5, 2019
@logmanoriginal
Copy link
Contributor

Merged. Thanks for the PR, great work! 🥇

The feed samples for JsonFormatTest may be useful for other format tests as well, so we could write similar unit tests for Atom and (M)RSS.

Yes, that is a good idea. So long as we don't need to pull data from external sources, we should test the API as much as possible.

@fulmeek fulmeek deleted the JsonFeedFormat branch January 5, 2019 20:32
infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this pull request Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants