Created
May 1, 2011 01:05
-
-
Save ivarvong/950156 to your computer and use it in GitHub Desktop.
first try on the conversion script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| omega-mm:convert mm1$ python CoPress-Convert.py | |
| Welcome to the College Publisher database converter, from CoPress Inc. ( http://copress.org ) | |
| Please enter config filename (optional): | |
| What format are your archives? 'cp4', 'cp5' or 'custom': cp5 | |
| What is your new website's URL: http://www.dailyemerald.com/ | |
| Do you want verbose results? (Y/n): | |
| How should authors be associated with posts? ('custom field' or 'user'): custom field | |
| Which custom field should authors be stored in?: cp_user | |
| How should images be associated with posts? ('custom field' or 'insert'): custom field | |
| Which custom field should images be stored in?: cp_image | |
| Would you like to specify a start date for your import? (optional, YYYY-MM-DD): | |
| File path to be prepended to images: /wp-content/uploads | |
| Posts per file: | |
| 300 | |
| This script will create a WordPress eXtended RSS file. | |
| You can merge it with your existing site easily. | |
| Beginning to read in the stories database. | |
| Traceback (most recent call last): | |
| File "CoPress-Convert.py", line 950, in <module> | |
| main() | |
| File "CoPress-Convert.py", line 922, in main | |
| version,stories,images = importStories(settings) | |
| File "CoPress-Convert.py", line 680, in importStories | |
| if line[1] == "Priority": | |
| IndexError: list index out of range | |
| omega-mm:convert mm1$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment