dev-master
9999999-devA plugin for importing from various blog platform to Spress
MIT
The Requires
plugin wordpress csv spress
v1.0.0
1.0.0.0A plugin for importing from various blog platform to Spress
MIT
The Requires
plugin wordpress csv spress
Wallogit.com
2017 © Pedro Peláez
A plugin for importing from various blog platform to Spress
This plugin let you import posts and pages from others platforms to a Spress site., (*2)
your-spress-site/ folder.composer require spress/spress-import.spress command, import commands will be displayed under import namespace.See the concrete provider., (*3)
Import plugin tries to preserve the source permalink of each item. To reach that
goal, this plugin adds the attributes: permalink and no_html_extension., (*4)
e.g: for an item with the following permalink at source: http://acme.com/what-is-new-this-time
the front matter block generated will be:, (*5)
--- permalink: '/what-is-new-this-time' no_html_extension: true ---
This command imports posts from a CSV file., (*6)
The sign of import:csv command is the following:, (*7)
import:csv [--dry-run] [--post-layout POST-LAYOUT] [--not-replace-urls] [--not-header] [--delimiter-character DELIMITER-CHARACTER] [--enclosure-character ENCLOSURE-CHARACTER] [--terms_delimiter_character TERMS-DELIMITER-CHARACTER] [--] <file>
Example of use:, (*8)
$ spress import:csv /path-to/post.csv --post-layout=post
--dry-run: This option displays the items imported without actually modifying your site.--post-layout: Layout applied to posts. e.g: --post-layout=post.--not-replace-urls: Avoids to replace URLs in posts by local Spress URLs.--not-header: First row won't be treated as header.--delimiter-character: Sets the delimiter character. character , by default.--enclosure-character: Sets the enclousure character. character " by default.--terms_delimiter_character: Sets the delimiter character applied to terms in categories and tags columns.Your CSV file will be read in with the following columns:, (*9)
List of attributes added by this provider to each item:, (*10)
categories: list of terms that represents the categories.tags: lists of terms that represents the tags.This command imports posts from a WXR file generated by Wordpress (community and dot com)., (*11)
The sign of import:wordpress command is the following:, (*12)
import:wordpress [--dry-run] [--post-layout POST-LAYOUT] [--fetch-images] [--not-replace-urls] [--assets-dir ASSETS-DIR] [--] <file>
Example of use:, (*13)
$ spress import:wordpress /path-to/my-wxr-file.xml --post-layout=post
--dry-run: This option displays the items imported without actually modifying your site.--post-layout: Layout applied to posts. e.g: --post-layout=post.--fetch-images: Fetch images used in the Wordpress blog.--not-replace-urls: Avoids to replace Wordpress URLs in posts by local Spress URLs.--assets-dir: Relative folder to src directory. content/assets by default.List of attributes added by this provider to each item:, (*14)
author: The author of the post.excerpt: The snippet of the post.categories: list of terms that represents the categories.tags: lists of terms that represents the tags.A plugin for importing from various blog platform to Spress
MIT
plugin wordpress csv spress
A plugin for importing from various blog platform to Spress
MIT
plugin wordpress csv spress