CVUUFellowship / church

Things that help the church do its thing.
http://cvuuf.org
0 stars 0 forks source link

Import previous community forum posts #45

Closed GrumpyOldTroll closed 7 years ago

GrumpyOldTroll commented 7 years ago

Here's an excerpt from an email I sent to someone who was going to look at this, but I think hasn't yet. I got a little ways on it before getting distracted and never getting back to it.


Here's the files I was working with, and my own start at a python program to translate formats.

I tried it so far with 1 entry, by manually editing the output file so it had only one , then importing that, then debugging it. That's how I have one entry from 2010-11-19 here: http://cvuuf.org/justice/community-forum/

I ran my program, cut out everything in the output except the last entry, then imported the resulting xml file. That did successfully import, but it was under "Drafts" in the events list here: http://cvuuf.org/wp-admin/edit.php?post_type=event (requires login)

I think it ended up without a correct end time or location, which I set manually and then it would allow me to save it. That's where I stopped.

I think it's mostly a matter of fiddling with the translation until it has all the fields it needs.

forum-post-importing.zip

GrumpyOldTroll commented 7 years ago

done.