Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scmorrison/wp-export-by-user
Export WordPress posts to WordPress xml format by userID
https://github.com/scmorrison/wp-export-by-user
Last synced: 4 days ago
JSON representation
Export WordPress posts to WordPress xml format by userID
- Host: GitHub
- URL: https://github.com/scmorrison/wp-export-by-user
- Owner: scmorrison
- Created: 2015-02-11T03:15:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-11T03:18:06.000Z (almost 10 years ago)
- Last Synced: 2024-11-05T22:03:16.442Z (about 2 months ago)
- Language: Shell
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Export WP posts by user
=======================This script exports WordPress posts by user. Currently a bash script, will migrate to node.js later.
Requirements
------------* curl
* wgetUsers file
----------List all of the users in a file called ```users``` with the following format:
```bash
# Formar: id, username
1, admin
34, JoeDirt
87, BobRoberts
...
...
```Modify script with WP user / pass
---------------------------------Edit the script to set the following user credentials:
```bash
wpuser='' #wordpress.com user name
wpblog='' #wordpress.com blog name (the part that appears in the domain)
wppwd='' #wordpress.com password
```Run the script
--------------
```bash
./export
```This will create a seperate file for each user specified in the ```users``` file. Each file will contain WordPress export xml that can be imported in any WP.org or WP.com site.
Dependencies
------------This package has no dependencies.
License
-------GPLv2
Author Information
------------------Created by:
* [Andrew Harvey](http://andrewharvey4.wordpress.com/)
* [Tom Vincent](http://tlvince.com/contact/)Updated by [Sam Morrison](https://www.twitter.com/samcns)