Importing messages into bbPress
I have an XML file containing messages (title, date, author and body). I’ve considered three methods of importing these messages into bbPress:
1. Into the database. I’ve written a PHP script to automate that but because the messages are in Hebrew then the encoding causes the text to be gibberish. When that problem was solved, topics that were inseted into the
wp_poststable didn’t appear in the forum page.
2. Using the custom importing method. The database structure required to import the messages isn’t really understandable, how should my database be organized in order to transition my data from one database into WordPress’?
3. Using POST requests. I managed to parse the POST request the posting form does in order to make requests of my own. This is complicated, however, due to use of session cookies.
Right now the option that seems the best to me is (2). Instead of messing with encoding issues or session cookies, I need to create a second database but the question is: in which way should my data be organized? How are the IDs working? I didn’t really manage to catch all of that using the docs available here.
- You must be logged in to reply to this topic.