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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Medium.com integration. #399

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devkhan
Copy link

@devkhan devkhan commented Feb 26, 2016

Not merge-able right now.

Fixes #392.

I am working on integrating https://medium.com. This PR is a WIP. I have opened it so others can review and contribute easily, and track progress of the work.

I'll keep updating this, and notify when it will be ready to be merged. 馃憤

Thanks.

@dnfclas
Copy link

dnfclas commented Feb 26, 2016

Hi @devkhan, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@dnfclas
Copy link

dnfclas commented Feb 26, 2016

@devkhan, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

@devkhan
Copy link
Author

devkhan commented Feb 26, 2016

Also, I'm thinking of using an HTTP/REST library like refit or something. Manually making requests using HttpWebRequest is cumbersome and error-prone.


public BlogInfo[] GetUsersBlogs()
{
var httpWebRequest = (HttpWebRequest)WebRequest.Create(String.Concat(MediumApiUri, "/users/" + "/publications"));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use String.Concat(object, object, object) instead of mixing concat and +.

@RobDolinMS
Copy link
Contributor

@devkhan AWESOME that you're working on this THANK YOU.
Anything others can do to help/support this effort?

@RobDolinMS RobDolinMS added the new-provider Requests for new blogging providers label Aug 30, 2016
@devkhan
Copy link
Author

devkhan commented Aug 30, 2016

@RobDolinMS Actually I started working on this, but got off-track as I am a novice plus other work.

Now I have shifted to macOS, and don't have access to a Windows machine now, and I guess it won't work on mono (will it?).

If the providers part is in a separate assembly, then I can try to work it, but sadly not on the UI. Also, the Medium API is pretty limited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted new-provider Requests for new blogging providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is Medium integration possible?
6 participants