The Mini Parser (only for developers)

Add-ons The Mini Parser (only for developers) 1.3.5

Register & Get access to index
Compatible XF Versions
1.x.x
Visible Branding
No
The Mini Parser (only for developers)
A parser to convert Bb Codes to Html with a few useful options

Description
Here is the mini parser I've used to create the table Bb Code inside the TinyMCE Quattro addon. I haven't tested it as a main parser but like a nested parser inside the XenForo parser. The purpose was to parse special tags ({b}This is a special tag{/b}) that were used inside normal tags ([This is a normal tag) managed by XenForo.

It certainly not as good as the official one but the use is not really the same and it has a few options that might be useful for developers (see directly in the class) and the Bb Codes can have many settings: allowed/forbidden parents, allowed/forbidden children, disable text nodes (inside content, inside and after content [this last setting is only useful when used inside another parser of course]), etc.

Here's an example on how to use it (inside the XenForo formatter), search: Sedo_TinyQuattro_Helper_MiniParser

Here's another example on how to use independently (bottom of the file)
I would need to write a short faq for it when I find time.
Note: the default configuration is to parse special tags ({tag}). You can modify this in the parser options.
Author
XenBot
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenBot

Latest updates

  1. Version 1.3.5 released

    Code has been optimized
Back
Top Bottom