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
Added Service for Auto Discovery of Feeds for URLs #1833
Conversation
6a40d4c
to
bb82b88
Compare
bb82b88
to
60c0e7d
Compare
60c0e7d
to
f409fb7
Compare
f409fb7
to
b39c930
Compare
|
Right now for all the well-known blog providers this works perfectly. Some edge cases like personal website blog like https://alexwang.ca/feed the service cannot discover the feed url. I think he did a redirect from his page to wordpress, so if he provided the wordpress link then the service would work perfectly. |
|
Hello! What do you think about adding some tests? These tests can ensure that the service works in case changes ever need to be made, or more likely, the blog provider changes exactly how an RSS feed is created created on their end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work man. Just tested this via Docker and it LGTM. Would love to see what others think too.
Do you have any intention of adding some sort of logging (via Satellite's Logger) somewhere? Might help if an issue goes wrong. Might not be necessary though since you're at least returning 400 and an error message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. A few more tests are needed, but it's close.
|
@chrispinkney : I don't think it's necessary since the return json is self explanatory if something went wrong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done.
eb67d3e
to
ed34ad0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small style things, and this is ready. So cool to have this. Can't wait to hook it up to the sign in flow.
ed34ad0
to
3a0d504
Compare


Issue This PR Addresses
Fixed #1645
Type of Change
Description
Followed the layout of image microservice to add the feed discovery service. The service will return a list of potential feed urls if the user provided a valid blog url
Checklist
Unit Tests

