Skip to main content

File base post to Wordpress with Asciidoc format

Project description

asc2wp

Asc2wp is Asciidoc format file base post solution for Wordpress.

Requirement

- Asciidoctor
- python-wordpress-xmlrpc
- pyyaml

Installation

You can install the Asc2wp using the +pip+ command:

$ pip install asc2wp

Usage

- Initialize

Make setting file (setting.yaml).

$ asc2wp init

Please write your informations.

- Make template file

Make Post type or Page type Template file.

$ asc2wp makefile

- Post to Wordpress

$ asc2wp <asciidoc-files>

You can also use wild card.

.Example
$ asc2wp 2016-05-*.adoc

- Media Upload

$ asc2wp -m <image-files>

You can also use wild card.

.Example
$ asc2wp -m /images/*.jpg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asc2wp-0.6.6.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page