.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.1. .TH USAGE: "1" "August 2015" "usage: pelican-import [-h] [--wpfile] [--dotclear] [--posterous] [--tumblr]" "User Commands" .SH NAME usage: \- import from a feed, Wordpress, or Dotclear files .SH DESCRIPTION usage: pelican\-import [\-h] [\-\-wpfile] [\-\-dotclear] [\-\-posterous] [\-\-tumblr] .TP [\-\-feed] [\-o OUTPUT] [\-m MARKUP] [\-\-dir\-cat] [\-\-dir\-page] [\-\-filter\-author AUTHOR] [\-\-strip\-raw] [\-\-wp\-custpost] [\-\-wp\-attach] [\-\-disable\-slugs] [\-e EMAIL] [\-p PASSWORD] [\-b BLOGNAME] input .PP Transform feed, WordPress, Tumblr, Dotclear, or Posterous files into reST (rst) or Markdown (md) files. Be sure to have pandoc installed. .SS "positional arguments:" .TP input The input file to read .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-wpfile\fR Wordpress XML export (default: False) .TP \fB\-\-dotclear\fR Dotclear export (default: False) .TP \fB\-\-posterous\fR Posterous export (default: False) .TP \fB\-\-tumblr\fR Tumblr export (default: False) .TP \fB\-\-feed\fR Feed to parse (default: False) .TP \fB\-o\fR OUTPUT, \fB\-\-output\fR OUTPUT Output path (default: output) .TP \fB\-m\fR MARKUP, \fB\-\-markup\fR MARKUP Output markup format (supports rst & markdown) (default: rst) .TP \fB\-\-dir\-cat\fR Put files in directories with categories name (default: False) .TP \fB\-\-dir\-page\fR Put files recognised as pages in "pages/" subdirectory (wordpress import only) (default: False) .TP \fB\-\-filter\-author\fR AUTHOR Import only post from the specified author (default: None) .TP \fB\-\-strip\-raw\fR Strip raw HTML code that can't be converted to markup such as flash embeds or iframes (wordpress import only) (default: False) .TP \fB\-\-wp\-custpost\fR Put wordpress custom post types in directories. If used with \fB\-\-dir\-cat\fR option directories will be created as /post_type/category/ (wordpress import only) (default: False) .TP \fB\-\-wp\-attach\fR (wordpress import only) Download files uploaded to wordpress as attachments. Files will be added to posts as a list in the post header. All files will be downloaded, even if they aren't associated with a post. Files with be downloaded with their original path inside the output directory. e.g. output/wpuploads/date/postname/file.jpg \fB\-\-\fR Requires an internet connection \fB\-\-\fR (default: False) .TP \fB\-\-disable\-slugs\fR Disable storing slugs from imported posts within output. With this disabled, your Pelican URLs may not be consistent with your original posts. (default: False) .TP \fB\-e\fR EMAIL, \fB\-\-email\fR EMAIL Email address (posterous import only) (default: None) .TP \fB\-p\fR PASSWORD, \fB\-\-password\fR PASSWORD Password (posterous import only) (default: None) .TP \fB\-b\fR BLOGNAME, \fB\-\-blogname\fR BLOGNAME Blog name (Tumblr import only) (default: None) .TP [\-\-feed] [\-o OUTPUT] [\-m MARKUP] [\-\-dir\-cat] [\-\-dir\-page] [\-\-filter\-author AUTHOR] [\-\-strip\-raw] [\-\-wp\-custpost] [\-\-wp\-attach] [\-\-disable\-slugs] [\-e EMAIL] [\-p PASSWORD] [\-b BLOGNAME] input .PP pelican\-import: error: too few arguments