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?

4 Answers 4

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.

1
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.

1
  • 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, 2017 at 13:20
1

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.

0

You can enter code into a Medium article on MacOS by doing the following:

Command + Option + 6

On Windows, this equates to:

Ctrl + Alt + 6.
1
  • Welcome to Web Applications. This answer was automatically marked as low quality. Please add a brief description about how this answer the question.
    – Rubén
    May 6, 2021 at 2:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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