9

Cross post to dev.to from Webflow or Google Docs - How to handle formatting?

 3 years ago
source link: https://dev.to/richstoneio/cross-post-to-dev-to-from-webflow-or-google-docs-how-to-handle-formatting-3ikc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Hey folks!

I really would like to share my work with the dev.to community because I think I can solve a problem someone has here or there ;)

However, after quite some research, I'm kind of stuck with how to painlessly cross post my articles to dev.to.

I host my developer blog on webflow and write my stuff in Google Docs.

Don't get me wrong, I love markdown, but that's not my flow as of now.

Things I've tried and/or thought of:

RSS importer

The RSS importer does not work properly (just article snippets and formatting wrong).

Copy Pasta

From the Gdocs and the webflow editors I can flawlessly copy-paste to Medium(🍵). But on dev.to the RTF stuff is kindly ignored, which leaves me with an unbearable task of editing the format, the links, the pictures...

Post a short summary of the post with the link

Highly Automated Pipeline

  1. Write everything in markdown in VSCode checked by the VSCode Grammarly plugin.
  2. Push to GitHub
  3. GitHub action picks it up and sends it to Webflow/dev.to API (I wouldn't be able to post to Medium then without problems, but I can actually live without Medium TBH)

However, there are many wonderous questions:

  • How well will the platforms handle the markdown body?
  • How to handle the pain of having to pre-upload all pictures?
  • How do I handle updating the posts? (different GitHub actions with different requests?)
  • etc etc

Scraping

I mean, the HTML is up there: fullstack.coach...

Maybe then...

  1. Scrape it
  2. Push it through a markdown parser
  3. Send it to dev.to

(but again all the questions from the previous section... and probably even more...)


Before I throw myself into highly automated pipelines or scraping, which both sound like fun and time consumption:

Am I overthinking or is there maybe a better path that I am missing?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK