>>> APPENDIX B: (BBCODE TAG USED IN WEBMATIC)


BBCode tags are used by website users to avoid that an user insert malicious html code.
In Webmatic only the administrators can insert HTML tags, a "normal" user can insert only BBCode tags.

You can see here the list of BBCode tags used in Webmatic


[br]
: When [br] is inserted, the text goes to head (in to the output will be replace with <br>)

Example:
If you write "example text" you will get:

example text

If you write "example[br]text" you will get:

example
text


[more]
: [more] is used to mark the end of summary in a news


[sp]
: When [sp] is inserted will be created a blank space (in to the output will be replace with &nbsp;)

Example:
If you write "example[sp][sp][sp][sp]text" you will get:

example    text


[b]...[/b], [i]...[/i], [u]...[/u]
: The text, that replace the dots, will appear in bold, italic and underline
(in to the output will be replace with <b>...</b>, <i>...</i>, <u>...</u>)

Example:
If you write "example [b]html formatted [u]text[/u][/b]" you will get:

example html formatted text


[left]...[/left], [center]...[/center], [right]...[/right]
: Align the text to the left, center and right (in to the output will be replace with <div align="left">...</div>, <div align="center">...</div>, <div align="right">...</div>)

Example:
If you write "Example[center]centered[/center]text" you will get:

Example

centered
text


[url]...[/url]
: Create a link to a webpage, you must replace the dots with the webpage url (example "http://www.mytestpage.com"), url well formed will be tested (in to the output will be replace with <a href="http://www.mytestpage.com" target="_blank">http://www.mytestpage.com</a>)

Example
:
If you write "click here [url]http://www.valarsoft.com[/url]" you will get:

click here http://www.valarsoft.com


[img]...[/img]: Insert a picture, you must replace the dots with the picture url (example "http://www.mytestpage.com/pic.gif"), url well formed will be tested (in to the output will be replace with <img src="http://www.mytestpage.com/pic.gif">)

Example
:
If you write "Picture here [pic]http://www.valarsoft.com/pic/logo/printable.gif[/pic]" you will get:

Picture here


[code]...[/code]: Useful to enter a source code or preformatted text (in to the output will be replace with <table border=0 width=98% align=center><tr><td class=standardTxt style='BACKGROUND-COLOR: #ffffff; BORDER: navy 1px solid; BORDER-COLOR: #666666;'><pre>...<br></pre></td></tr></table>, colors change depending on the style used)

Example if you write: "Your source code: [code]
#include <stdio.h>
int main()
{ return 0; }
[/code]" you will get:

Your source code:
#include <stdio.h>
int main()
{ return 0; }



[:)], [:o], [:p], [lD], [:(], [|)], [;)], [B)], [|(], [:/], [:|], [8|], [:s], [:D]: This kind of tags will be replaced by a an image that represents an emoticon