7

I want to include a full Medium article on my personal website. I know it's possible because it has been done here. (Notice the domain is not medium.com.)

If you click on ... on the bottom-right of a Medium article, and then click 'Embed story', you will be given a script, e.g.

<script async src="https://static.medium.com/embed.js"></script><a class="m-story" data-collapsed="true" href="https://thebillfold.com/theories-on-my-thrift-store-dog-mugs-or-who-paid-money-to-have-these-manufactured-562f9d5632a4">Theories on My Thrift Store Dog Mugs, Or: Who Paid Money to Have These Manufactured?</a>

The problem is that this embed is just the title and abstract. The full Medium article text is not included.

How can I embed a full Medium.com article on my personal website?

6

That’s not an embedded article, it’a custom domain for Medium. See here for more details.

You need to create a Medium Publication in order to be able to publish with Medium on your own domain.


As per Medium Help, the embedding feature is no longer supported.

Can I embed Medium on other sites?

Medium embeds on other sites are no longer supported.

Regarding the embedding process, check the following note on the Embed Medium Anywhere help page.

Important: Some blog services strip script tags and this prevents Medium embeds from functioning. ☹

So that might be your problem.

Also, apparently, only the title and abstract of the post are embedded, not the full text.

5

I ran into this issue as well and have been trying to figure out a solution for the last few days. There were a couple of articles I found which had old ways to do it but these didn't work anymore.

I ended up figuring out how to do this using the api from rsstojson.com and then using the generated JSON. You could do this for a single post or for all of your blog posts.

I detailed how I did this on my blog here and also set up a CodePen for you to have a closer look if my post isn't too clear.

  • Does this require the membership fee to work? I've tried codepen with my username for medium but keep getting 404 and not json.Thanks. – user805981 Oct 9 '17 at 13:20
0

I ran into a similar problem.

After reading a few blogs, I came up with my own solution.

You will need to use the rss2json converter - https://rss2json.com as you will get a CORS error if you directly access the JSON content from medium.com/@username/latest?format=json. Then, you can use the rss2json API to retrieve your latest blog posts and display them on your webpage.

Furthermore, I have written a blog post on this solution here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.