skip to navigation
skip to content

Not Logged In

choppedpress 0.0.1

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

Latest Version: 0.0.1.1

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.

 
File Type Py Version Uploaded on Size
choppedpress-0.0.1.tar.gz (md5) Source 2012-04-23 3KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 221 downloads in the last week
  • 695 downloads in the last month
  • Author: Og Maciel
  • Home Page: http://omaciel.github.com/choppedpress/
  • License:
    Copyright (c) 2010-2012, Og Maciel <ogmaciel@gnome.org>
    
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification, are permitted
    provided that the following conditions are met:
    
        * Redistributions of source code must retain the above copyright notice, this list of
          conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright notice, this list
          of conditions and the following disclaimer in the documentation and/or other materials
          provided with the distribution.
        * Neither the name of the Og Maciel nor the names of its contributors may be used to
          endorse or promote products derived from this software without specific prior written
          permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Package Index Owner: omaciel
  • DOAP record: choppedpress-0.0.1.xml