ChoppedPress
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 choppedpress
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
Metadata
Release files for choppedpress 0.0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| choppedpress-0.0.1.1.tar.gz | 3.8 kB | Without provenance | Details for choppedpress-0.0.1.1.tar.gz |
Release files / choppedpress-0.0.1.1.tar.gz
| Download URL | choppedpress-0.0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0274d6c65874e41d00930cd87ad60921a8ccca8331f3dc81bb8676e1de60201c
|
|
BLAKE2b-256 checksum How to use checksums |
6c2d928c7a2991bb897043c70c12ed7a1c7b711e18db9cf3ca5d059c6a53c3b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for choppedpress 0.0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.