paint-brush
Port Your Medium Articles to Your Personal Blog with a Simple Bash Script [A How To Guide]by@michael-li
878 reads
878 reads

Port Your Medium Articles to Your Personal Blog with a Simple Bash Script [A How To Guide]

by Michael Li4mFebruary 2nd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This script only works on Pelican static site generator, but the gist of it can be applied to any of your blogging platforms. For every Medium article, I need to copy the URL, run some command to transfer it into Markdown file, then generate the blog site using Pelican. This script is simple, but not as simple as I like it to be. So this is a great opportunity for some quick and dirty Bash script to come for the rescue. We structure the loop to read every line of the file, and for each line extract the title and subtitle.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Port Your Medium Articles to Your Personal Blog with a Simple Bash Script [A How To Guide]
Michael Li HackerNoon profile picture
Michael Li

Michael Li

@michael-li

| Product Manager | Machine Learning Practitioner | UI/UX Designer/Preacher | Full-Stack Developer |

About @michael-li
LEARN MORE ABOUT @MICHAEL-LI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael Li HackerNoon profile picture
Michael Li@michael-li
| Product Manager | Machine Learning Practitioner | UI/UX Designer/Preacher | Full-Stack Developer |

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Freesion
Tefter
Tefter
Pipfeed
Devsindex
Devsindex