SMF to NodeBB
-
@a_5mith @psychobunny
what do you guys say we start putting together a list of all the bbcode tags?the module that bbcode-to-markdown is using, bbcodejs (which i forked to support nodejs) already supports plenty of tags
https://github.com/akhoury/bbcodejs/blob/master/src/js/tags.js#L416-L464I've added many that it was missing (including quotes and few fancy ones)
https://github.com/akhoury/bbcode-to-markdown/blob/master/newTags.js#L4-L53but really, I add them as I find them, I search all the internets, there is no definitve list of all bbcode tags or a syntax standards anywhere
-
k awesome.
-
@bentael said:
k awesome.
The 'tag' is what's wrapped in the square brackets. A lot of these are probably never going to be needed. I was going to remove the code portion, but noticed that they're still actively supporting IE4...
-
@bentael @psychobunny @a_5mith
Hi All,
Did an import of my forum with the following settings:
No other plugins enabled.
The result: http://nodebb.krng.me/
From the category previews, you will be able to see some of the posts with BBCODE not processed.
-
it doesn't need to be github, just use npm:
# change directory to the NodeBB root directory cd /path/to/NodeBB # remove the one you already have rm -rf node_modules/nodebb-plugin-import # install from npm npm install nodebb-plugin-import
this will install the latest published one, 0.2.1
Note: I am publishing a slightly better version late tonight, if you want to wait, if not, just install 0.2.1 and play with it, I am aware of few bugs that I will be fixing in tonight's release
-
@bentael Thanks.
Just did an import using the latest version (0.2.1)Much better on the BBCode to Markdown conversion, though still have some issues.
eg:
http://nodebb.krng.me/topic/165/star-citizen-squadron-42-edge-foundation-asia-fleet
http://nodebb.krng.me/topic/339/free-games-put-and-get-your-free-games-here/2
http://nodebb.krng.me/topic/216/elite-dangerous/2Will wait for your next release Really appreciate you efforts in this! Thanks in advance
-
do you have the markdown plugin enabled?
-
Nope, let me enable it and try again.
Enabled: Working great now.
There are some posts which i believe i will need to enable some other plugins.
http://nodebb.krng.me/topic/255/item-level-90-gear-comparison
Will test further Thanks a lot man! -
@bentael @a_5mith
Noticed a bug, nothing to do with BBCode conversion.I have a few threads that have more than 50+ posts, but all the imported threads only have 2 posts max.
eg
http://nodebb.krng.me/topic/165/star-citizen-squadron-42-edge-foundation-asia-fleet
http://nodebb.krng.me/topic/339/free-games-put-and-get-your-free-games-here -
new version delayed 1 or 2 days, I keep finding more work to get done.
-
for tracking purposes https://github.com/akhoury/nodebb-plugin-import/issues/50
-
@julian no need to do anything.
Just install the plugin and use its interface from the ACP
You have to point it to the right DB (with credentials) and select the exporter from the list (populated via an npm search)
Also, the content conversion does not occur during the import anymore, it's provided with some post-import tools