armstrong.utils.importers.wordpress

Tools to import wordpress xml data into Armstrong


License
Other
Install
pip install armstrong.utils.importers.wordpress==0.1.1

Documentation

armstrong.utils.importers.wordpress

Utilities for transitioning to Armstrong from Wordpress

Warning

This is development level software. Please do not unless you are familiar with what that means and are comfortable using that type of software.

Usage

armstrong.utils.importers.wordpress imports Wordpress xml export files into an armstrong installation. The importer assumes that the database is empty except for whatever may have been added during a syncdb. The importer will create armstrong.apps.articles.models.Article objects for each post and django.contrib.flatpages.models.FlatPage objects for each page object.

To run the importer, navigate to the root of the project you want to import into and run armstrong import_wp /path/to/your/export.xml. The command accepts a --dryrun parameter that doesn't actually alter the database.

Installation

name="armstrong.utils.importers.wordpress"
pip install -e git://github.com/armstrong/$name#egg=$name

Contributing

  • Create something awesome -- make the code better, add some functionality, whatever (this is the hardest part).
  • Fork it
  • Create a topic branch to house your changes
  • Get all of your commits in the new topic branch
  • Submit a pull request

State of Project

Armstrong is an open-source news platform that is freely available to any organization. It is the result of a collaboration between the Texas Tribune and Bay Citizen, and a grant from the John S. and James L. Knight Foundation. The first release is scheduled for June, 2011.

To follow development, be sure to join the Google Group.

armstrong.apps.articles is part of the Armstrong project. You're probably looking for that.

License

Copyright 2011 Bay Citizen and Texas Tribune

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.