I did this recently on my personal site.
What makes this possible is, if you add the querystring
?format=jsonto the end of any medium url, you're able to get the json powering the page itself
With a few json calls, you can essentially get the json (content) for all of your blog posts, enabling you to parse or save that data yourself.
In Medium's terms of service they say (paraphrasing) all the content you post is fully owned by you, and doesn't mention anything alluding to why this wouldn't be acceptable.
If people were curious I'd be happy to write a longer form blog post about it.
I would love a full blog post dedicated to this as I'm sure many others would too! It's a much better alternative to forwarding your blog page to Medium or having your posts on multiple platforms.
No prob, I'll add it to the todo list and get something posted.
Thank you! Looking forward to reading it. Please share it here.
We just posted this:
It's a bit messy as you have to use a third party service (Kimono) in order to avoid CORS, but if you put that aside it's pretty straight forward to do with jQuery.
I made a little app to let you embed Medium posts on your site now that Kimono has shut down.
It grabs the Medium JSON data on a set schedule, and then mirrors it with the correct CORS setting.
I'd love feedback!
Did you ever end up making a blog post out of this? If not I'd love to Skype & see how you accomplished this.
I haven't yet, but it's definitely on my todo list. Hopefully in the next week or so. Thanks for the nudge :)
Please make it (;
For anyone still looking for a way to achieve this. I have recently got my posts to show on my site using rsstojson.com and the medium rss feed. I wrote it up on my own blog https://medium.jasonmdesign.com/display-medium-articles-on-your-site-d772b3b05779
I also have a codePen of the working implementation https://codepen.io/jasonm4130/pen/vZYbQx
Hope this helps someone shortcut what I had to do to get this working.
So helpful! Thank you!
Utilize their api: https://github.com/Medium/medium-api-docs
Recently they got custom domain support. I think with that you can create yourwebsite.com/blog to show your medium articles.
They also have subdomain support so you can do http://blog.yourwebsite.com I set mine up like that.
"Setting up your domain is simple Acquire a domain. We suggest using Namecheap, but you can use any registrar. Create a Medium publication. Send an email to firstname.lastname@example.org with “Custom Domain” as the subject and include the URL of your domain (or subdomain) and the URL of the Medium Publication (not your Medium profile) to map to. Also let us know which registrar you use so we can tailor our instructions a bit, as some registrars are slightly different than others. We’ll send you A records and a CNAME record along with detailed instructions. Add the records to your domain and you’re done!"
For this purpose we created medium widget generator https://medium-widget.pixelpoint.io Totally free, simple configuration.
Would love any feedback.
I've got a pending question on the GitHub Medium API repo on this note - so far as I can tell there is no way to /GET posts from Medium (which I suppose I can understand since they want to be the destination, not the writing platform).
But I've got a project for which such functionality would be so-so perfect, so here's hoping!
I would love to know this as well