FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Import data from XML to fud, HOW??
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Import data from XML to fud, HOW?? [message #18712] Thu, 03 June 2004 23:38 Go to previous message
rafath is currently offline  rafath   Poland
Messages: 14
Registered: June 2004
Karma:
Junior Member
Hello

Unfortunatelly I have xml dump of data from BBphorum. I want put this into Fudforum, but I dont know how exactly. I have only messages from bbphorum, its look like:
Quote:

<RECORD>
      <post_id>65281</post_id>
      <parent_id>62921</parent_id>
      <topic_id>6569</topic_id>
      <forum_id>23</forum_id>
      <poster_id>2599</poster_id>
      <post_title>Re: Forum ...</post_title>
      <post_text><![CDATA[V2l0YW0gd3N6eXN0a2ljaCBhIHN6Y3plZ/NsbmllIHR5Y2gsIGt083J5Y2gganW/IHpuYW0gYmxpv2VqIHogaW5uZWdvIGZvcnVtIGN6eWxpOiBLYXRrYSwgQWRhbVcsIEphbmtlcywgVmFsZW8uDTxicj5KZXN0ZW0gbm93eSBuYSB0eW0gZm9ydW0gaSBtYW0gbmFkemllauosIL9lIGLqZHppZSBuYXMgZHW/byBkdb9vIHdp6mNlai4NPGJyPlBvemRyYXdpYW0uDTxicj5vcmlvbg==]]></post_text>
      <post_time>20021223T13:17:24000</post_time>
      <poster_ip>217.98.33.28</poster_ip>
</RECORD>




I know how I should build insert (which table fud26_msg or fud26_thread?), but dont know how (and where) should I put the body message and recognize that this message is from user id=65281.

Any ideas?

sorry 4 my english.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is this possible?
Next Topic: notifications seem to always show same incorrect URL?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:18:38 GMT 2024

Total time taken to generate the page: 0.04184 seconds