mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add docs on how to import medium posts
This commit is contained in:
parent
2d75ca8391
commit
8e37175c3f
1 changed files with 15 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ not be converted (as Pelican also supports Markdown).
|
|||
manually, or use a plugin such as `More Categories`_ that enables multiple
|
||||
categories per article.
|
||||
|
||||
.. note::
|
||||
|
||||
Imported images may still point to the original site. So, you might want to
|
||||
download the images yourself and manually re-link the images in the posts
|
||||
to the local copies.
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
|
|
@ -121,6 +127,15 @@ For WordPress::
|
|||
|
||||
$ pelican-import --wpfile -o ~/output ~/posts.xml
|
||||
|
||||
For Medium (an example of using an RSS feed):
|
||||
|
||||
$ pip install feedparser
|
||||
$ pelican-import --feed https://medium.com/feed/@username
|
||||
|
||||
.. note::
|
||||
|
||||
The RSS feed may only return the most recent posts, not all of them.
|
||||
|
||||
Tests
|
||||
=====
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue