getpelican / pelican

Static site generator that supports Markdown and reST syntax. Powered by Python.

Home Page:https://getpelican.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import posts from medium download

boxydog opened this issue · comments

  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.
  • I am willing to lend a hand to help implement this feature.

Feature Request

medium.com is a blogging site.

You can download your posts, see https://help.medium.com/hc/en-us/articles/115004745787-Export-your-account-data.

There is also an API, but it is deprecated. See https://github.com/Medium/medium-api-docs.

It would be nice if I could take my medium download and make pelican posts out of it.

I'm filing this because I'm thinking of trying on this, so I thought I'd get an issue # for the branch name.

I might even be able to use existing RSS functionality, and I just have to figure out how it works.

Sure enough, I can use the RSS feed option, and I submitted some doc changes to describe it in #3262.

However, it looks like the medium RSS feed only returns 10 posts, and I don't know how to get it to return more. I tried URL params limit, max-results, page, and paged without success.

So I might still need something to parse the HTML. I'll keep looking.