Import from other blog software


pelican-import is a command line tool for converting articles from other software to ReStructuredText. The supported formats are:

  • Wordpress XML export
  • Dotclear export
  • RSS/ATOM feed

The conversion from HTML to ReStructuredText relies on pandoc. For Dotclear, if the source posts are written with Markdown syntax, they will not be converted (as Pelican also supports Markdown).


pelican-import [-h] [–wpfile] [–dotclear] [–feed] [-o OUTPUT]

Optional arguments:

-h, --help show this help message and exit
--wpfile Wordpress XML export
--dotclear Dotclear export
--feed Feed to parse
-o OUTPUT, --output OUTPUT
 Output path
--dir-cat Put files in directories with categories name


for Wordpress:

$ pelican-import --wpfile -o ~/output ~/posts.xml

for Dotclear:

$ pelican-import --dotclear -o ~/output ~/backup.txt


To test the module, one can use sample files: