Automatically Posting to dev.to from Ghost
Published: 2021-02-24 10:56:58

---
title: Automatically Posting to dev.to from Ghost
published: true
date: 2021-02-24 10:48:25 UTC
tags: 
canonical_url: https://chaijiaxun.com/automatically-posting-to-dev-to/
cover_image: https://chaijiaxun.com/content/images/2021/02/post_list-1.png
 
 
---
 

I wouldn't typically bother posting something so short, but this is really more to test how well the syndication works.

I've recently heard of dev.to from my friend [Ten](https://tenzhiyang.com/). Seemed like a cool place to hang out and I figure I've nothing to lose anyway. So I tried to use the auto syndication feature to port my blog over to dev.to.

> This does not just apply to Ghost but any website that supports and rss feed.

Even though I've been using ghost for years, I only learnt today that my blog has an rss feed. To be fair I've always known that platforms provide rss feeds but I've never tried it on my blog. Well, it turns out it's just chaijiaxun.com/rss.

![Automatically Posting to dev.to from Ghost](https://chaijiaxun.com/content/images/2021/02/rss.png)

# Porting the site over

Syndicating the site is just a matter of going under `settings > extensions > Publishing to DEV Community from RSS` and filling up the one field. Not having to spend a long time writing scripts felt so great.

![Automatically Posting to dev.to from Ghost](https://chaijiaxun.com/content/images/2021/02/settings.png)

# Publishing the posts

![Automatically Posting to dev.to from Ghost](https://chaijiaxun.com/content/images/2021/02/post_list.png)<figcaption>Yay my posts are all there</figcaption>

Now I feel really dumb having to say this, but in order to publish a post, you need to edit the text of the post. I spent a good 10 minutes searching the website for a publish button.

![Automatically Posting to dev.to from Ghost](https://chaijiaxun.com/content/images/2021/02/publishing.png)
<figcaption>This is the no frills basic editor. You need to change the false to true to publish the post.</figcaption>
 

And finally, we're done. [Here's my previous post on dev.to](https://dev.to/cjx3711/my-kickstarter-journey-1nci). Maybe I'll post to medium next.

![Automatically Posting to dev.to from Ghost](https://chaijiaxun.com/content/images/2021/02/image.png)
<figcaption>Both websites side by side</figcaption>

* * *

# Quirks and Caveats
## New Posts

You have to set the post on dev.to to published for every new one that's posted. This is a bit of a pain as you have to go into the settings each time.


## Updating Posts

Unfortunately, it does not seem like a post is automatically updated if you update it on the main site. But you can just delete it and resyndicate it in the settings and it should reappear as a draft with the new updates. You do lose the unique URL though, so you might end up just editing both posts side by side.

Right now, I just want to say that the old ghost was better when it was all in markdown. It would have been easier to simply copy paste from one to the other.

## Editor

The editor on dev.to seems to limit me to only the basic editor for all my imported posts, even though I have my settings on the rich text one. But when I create posts directly in dev.to, I am able to use the rich text editor.

![rich_text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbrr18doxcwgd35kz0kx.png)
<figcaption>In the picture before this, it is limited to the basic editor and there is no option to set the cover image.</figcaption>
 

## Cover images

The cover image on the ghost blog just appears as a regular image at the top of the post. I have not figured out how to update the cover image without the rich text editor.

## Previews

Since there are no cover images, the link previews don't really show the cover image picture. I also don't get to edit the preview excerpt. (Or maybe I do and I haven't figured that out)
![previews](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tai611022q5lcb00irlj.png)