Skip to main content

Split WordPress XML export files into smaller files to import into a new WordPress installations.

Project description

Introduction

ChoppedPress lets you split the WordPress XML export file into smaller files that can be used to import your posts, comments, tags and categories into a new WordPress installation.

Examples

Assuming you have already gone throught the process of exporting all of your posts, comments and tags into a file named my-blog-YEAR-MONTH-DATE.xml, you could then split it into several smaller XML files using the following command:

choppedpress my-exported-wordpress.xml

This will generate two (this is the default) XML files named out01.xml and out02.xml. The name of the generated files and/or how many files to generate can be specified by using the appropriate flags as show by choppedpress –help.

Usage: choppedpress <INFILE> [[<OUTFILE>] [<TAG>] [<NUMBER>]]

ChoppedPress lets you split the WordPress XML export file into smaller files that can be used to import your posts, comments, tags and categories into a new WordPress installation.

Options:
--version

show program’s version number and exit

-h, --help

show this help message and exit

-i <FILE>, --infile=<FILE>

The XML file generated by WordPress

-o <FILE>, --outfile=<FILE>

The name for the smaller XML files. [default: out]

-t TAG, --tag=TAG

The XML tag that represents your data. [default: /rss/channel/item]

-n NUMBER, --number=NUMBER

How many new files should be generated. [default: 2]

Installation

ChoppedPress is available at PyPI, so installing it is as simple as executing:

pip install templater

Or you can download the latest version and install it using setup.py:

git clone git@github.com:omaciel/choppedpress.git
cd choppedpress
python setup.py build install

Author

This software is developed by Og Maciel.

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

choppedpress-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file choppedpress-0.0.1.tar.gz.

File metadata

File hashes

Hashes for choppedpress-0.0.1.tar.gz
Algorithm Hash digest
SHA256 99cfbc2e7f3c5d55ad90e0ba7dc214e8df6dc55a17954788d76872d6e533213d
MD5 dd1417829833f67883a191ea1a34a71a
BLAKE2b-256 7921abbeea21dfb68d2612123732be325634eb23ed224007a45037f46c0dbfac

See more details on using hashes here.

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