Forum Academy Marketplace Showcase Pricing Features

How To Build A Medium Clone With No Code - Bubble

If you love reading written content, you’re more than likely familiar with Medium. The community blogging platform hosts one of the world's largest repositories of written articles.  Although Medium offers a seamless way to create and distribute content, you might be interested in building your own unique version as you grow a community of your own.


This is a companion discussion topic for the original entry at https://bubble.io/blog/build-medium-blog-no-code/
2 Likes

This is very helpful, I followed this to a T as a new user completely new to bubble, which I assume these are designed for.
One thing I would suggest is that you actually test from a new user perspective, curse of knowledge and all. This is definitly missing steps.
For instance, it breaks the instructions for setting up search, no idea which step is missing.
Also the comment portion of the article is incomplete, its missing the step to make changes to the post data after the comment is added. I will be honest, I was about to give up but did some external research to get it working.
Just a thought. Thanks for the tutorial!

2 Likes

Hi there and tks for sharing. I have one question : why do we have to create a “PostContent” object ? Why didn’t we simply create a “content” field ?

1 Like

I am wondering about this as well. Seems redundant.

I’d love to have an “Import Story” feature like what Medium has. Any strategies or links to instructions for how to let the user input a URL and have Bubble gather the blog article content at that web address, add that to the database, backdate the post to the original post date, and add a canonical link to make sure no one’s SEO will be penalized?

Any time you load a data object in Bubble, you load all of it’s fields. Since the content field can get quite large, you don’t want to have to load it where it’s not necessary.

For example, on the home page of medium, you’d have a repeating group of posts (latest articles, or something). If you retrieve the posts for that repeating group minus their content, you’re retrieving less data, meaning faster loading of that repeating group. You don’t need the post’s content at that stage, since you’re just showing the titles and headlines of each post.

Then when you actually want to show the post itself, like on a dedicated /post page, then you simply load the postContent object for the specific post.

cc @calicass83

1 Like

Yep, yep. This should probably be added as a little sidebar to the original blog post. It gave me a huge a-ha moment when I learned this via Petter Amlie’s book.

2 Likes