While one might think that cross-publishing from your own site to other platform might diminish the reach of your own website, thereâs actually a way to do this while boosting your siteâs credibility. Plus, this can also be done (semi-)automatically! Dev.to is a developer-centric social network. Itâs a place where people can publish and read articles about software development.
Cross-publishing, or syndication, is the act of publishing a post on your website onto third-party sites, such as dev.to. This generally improves the visibility of your website, as long as itâs done right.
Canonical links
Crawlers rely on links to index websites. Used as a way to indicate duplicate content, canonical links also provide an indicator to crawlers to instead direct users to the provided url when they search for the page:
<link rel="canonical" href="https://felixrunquist.com" />
Dev.to provides a setting to enable canonical links on articles you publish on the platforms. This means that crawlers will see that article as if it was published on your website, and you will benefit from the enhanced visibility that comes from publishing on a developer platform!
Beware! If you donât provide a canonical link, the cross-published content could rank higher in search results than your website, which would drive traffic away!
Auto-publishing from your RSS feed
In order for dev.to to automatically detect when youâve posted on your website, you can provide it an RSS feed for it to fetch content from (if you donât have an RSS feed, fret not, I explain what it is and how to set one up with Next.js in this article). Itâs a matter of heading to Settings > Extensions, in dev.to, and scrolling to the âPublishing to DEV Community from RSSâ section. Here, you can provide the link to your RSS feed.

The RSS section in dev.to settings
You can click on the âFetch Nowâ button for the site to retrieve the latest content. Content isnât published automatically, but it is added into your drafts. I selected the option to mark the RSS source as canonical, which will let dev.to automatically handle the canonical links I mentioned earlier.
Publishing posts
In order for the site to accurately fetch content from your website, you need to have a few fields configured in your RSS feed for each post:
-
<title>â this will be used for your postâs title -
<link>will be used for cross-linking back to the post -
<description>contains a brief description of the post -
<content>has the actual post content. You can provide it as raw text, but you can also put html content in a<cotnent:encoded>tag.
Once the post lands in your dev.to drafts (visible by going to your dashboard), all thatâs left to do is to preview the article to make sure that everything is formatted correctly, as there could be a few issues especially if you used highly-customized elements. Next, change the published attribute in the Markdown metadata to true, and it will be visible to others once you hit save!
If youâre unfamiliar with Markdown and are unsure of the syntax, the dropdown under âEditor Basicsâ in the editor is extremely helpful!

Top comments (0)