Could you please explain more about the user.post_question(), i.e how can I use this to import a file with 40 questions record in a file? Or I only can use it to import 1 question at a time, and repeat 40 times? Thanks.
A little girl ( 2012-01-07 20:35:07 -0500 )editHow much content are you trying to import? Anyway, for importing I would create a script that first creates users, then with those users posts questions, then answers and comments. If you have the votes - do that after importing all the posts. I would create a script that would load your source file and then process it record by record.
Evgeny ( 2012-01-07 21:14:18 -0500 )editI have about 1000 questions in 30 files. And I need to add more question later (more excel sheets are on the way). Hence, it is quite a large data. Now, the only way I know is importing through mysql shell the question table, askbot_postrevision, question_tags. Thanks for you quick reply :)
A little girl ( 2012-01-08 03:17:17 -0500 )edit