Customizing SMF > Mambo Bridge Support

converting content items to SMF posts

(1/3) > >>

kai920:
Heya,

I asked previously about converting SMF posts to Joomla/Mambo content items, but now am wondering if anyone has done the opposite i.e. convert content items to SMF posts. Is there a script available somewhere?

Thanks

H:
I'm not familiar with Mambo however if there is a function that can be used to easily grab each item, then it is very easy to use SMF's functions to insert them as posts.

I believe Mambo may store items in the database with full html (rather than bbcode or similar like SMF)? If this is the case they can probably be pulled directly from the mambo database by any conversion script?

kai920:

--- Quote from: H on July 31, 2009, 04:46:31 PM ---I'm not familiar with Mambo however if there is a function that can be used to easily grab each item, then it is very easy to use SMF's functions to insert them as posts.
--- End quote ---

Hmm that is a good idea. Which of these functions should I be looking at to insert them as posts? Perhaps post2? assuming I figure out how to grab it from Mambo in the first place of course...



--- Quote ---I believe Mambo may store items in the database with full html (rather than bbcode or similar like SMF)? If this is the case they can probably be pulled directly from the mambo database by any conversion script?

--- End quote ---
You are correct, the body of the content is stored in two columns (introtext and fulltext) with full HTML tags. Is it okay to keep the text as HTML or should they be converted to bbcode inside smf_messages?

btw, As far as I know, the number of views on a topic resides inside smf_topics. What do you think is the best way to convert this?

Kindred:
I converted my mambo articles into SMF articles (VBgamer's mod)

however, I did it manually, directly in mySQL

kai920:

--- Quote from: Kindred on August 01, 2009, 07:56:24 PM ---I converted my mambo articles into SMF articles (VBgamer's mod)

however, I did it manually, directly in mySQL

--- End quote ---

You don't happen to have reference to the used mySQL statements do you? I don't use SMF articles but they still might be useful...

Navigation

[0] Message Index

[#] Next page

Go to full version