DEV Community

Sean Coughlin
Sean Coughlin

Posted on • Originally published at blog.seancoughlin.me on

How to Repost Hashnode Articles on Dev.to

I started my writing journey on Hashnode, but I've been wanting to expand my audience by widely publishing articles across the interwebs. I discovered dev.to as another great platform to share developer-related content.

dev.to screenshot

Dev.to has dedicated support for posting to the community from RSS. Additionally, dev.to supports canonical linking to protect SEO rankings. Luckily, Hashnode provides an RSS feed so republishing content from Hashnode onto dev.to is easy and fast.

You can find your Hashnode RSS feed at https://[your-blog-url]/rss.xml. For example, my feed is at blog.seancoughlin.me/rss.xml. You can also find it linked on your blog page. See the arrow in the screenshot below for the location.

Hashnode RSS location

After creating a dev.to account, open the settings and head to the Extensions tab. Under the Extensions tab, you will find Publishing to DEV Community from RSS. Simply copy your Hashnode RSS feed into the RSS Feed URL field and hit Save Feed Settings. After a few seconds, your Hashnode articles will appear as drafts in the dev.to dashboard.

Publishing to dev.to from RSS

To publish an article you will need to click edit and then change the published: false field to be true.

Published field

That's it! Now your articles will be hosted on dev.to in addition to Hashnode.

Celebrating a successful republishing

Photo by Universal Eye on Unsplash

Top comments (5)

Collapse
 
spersico profile image
Santiago Persico

This is cool, but beware spanish writers, that this had some issues in my case, because tildes (acentos) weren't being shown in the draft articles in dev.to.
I think it's some incompatibilities with the RSS (that's something I've seen on some old RSS systems) than a problem of dev.to

Collapse
 
henriqueleite42 profile image
Henrique Leite

Doesn't work for me, it only imports the beginning of the article, the one in the description tag. Hashnode sends the content in the hashnode:content tag, what I think that breaks the dev.to parser.

Collapse
 
mackfitz profile image
Maciek Fitzner

Thanks! This was very helpful. Tried it - and it was indeed quick and easy to do. I just had to upload images and embedded demos (CodePen) all over again, despite both being contained in the xml. Oh well, no biggie :)

Collapse
 
songyang-dev profile image
Song Yang

I'm having a problem with the imported article. I cannot publish it!

Collapse
 
resilientbloke profile image
Akash Kumar

Thank you !