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

Switch RSS to use new filter param #6004

Merged
merged 1 commit into from
Oct 27, 2015
Merged

Conversation

ErisDS
Copy link
Member

@ErisDS ErisDS commented Oct 26, 2015

This PR is a follow-up to #6000. #6000 updates the frontend controllers to handle multiple queries and provides handling & formatting tools for the data that is returned.

This PR builds on this, splitting out the channel config, reducing the number of API queries needed, and then updating the RSS feed generation to be built on top of this new multiple-query handling.

All of this is slowly working towards making dynamic channels work (#5091) but in this case, this PR does the absolute bare-minimum of reworking to get RSS working again. This means there is some code and concept duplication which can and will be reworked at a later date.

This PR allows us to remove the old-style filtering so that we can do our first Public API release without those parameters being available.

refs #5943, #5091

  • split out channel config
  • use config.theme instead of api calls to grab title & desc
  • wrap rss call in a function which sets channel config for RSS feeds
  • change rss getData function to use the new multiple-query-handling fetchData functionality
  • make sure channelConfig is set in all tests

refs TryGhost#5943, TryGhost#5091

- split out channel config
- use config.theme instead of api calls to grab title & desc
- wrap rss call in a function which sets channel config for RSS feeds
- change rss `getData` function to use the new multiple-query-handling fetchData functionality
- make sure channelConfig is set in all tests
sebgie added a commit that referenced this pull request Oct 27, 2015
Switch RSS to use new filter param
@sebgie sebgie merged commit 6a0c162 into TryGhost:master Oct 27, 2015
@sebgie sebgie deleted the rss-filter branch October 27, 2015 12:55
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