Saturday, November 29, 2008

flatpressのBBCode

Available Tags

[タグ]~[/タグ]でくくる。
text : h2 to h6 . color=color ex; RED
link : url

http://wiki.flatpres … g/doc:plugins:bbcode

[list] [*]bulleted list element 1 [*]bulleted list element 2 [/list]
[img=IMAGEPATH (popup=false) (scale=NN%) (width=N) (height=N) (float=left|right)] (items in parenthesis are optional). o if IMAGEPATH begins with images/ it will be automatically translated into the appropriate URL for fp-content/images/ o float float the images to the left or to the right o scale creates a thumbnail NN% smaller than the original. + The generated thumbnail is a real, static thumbnail if thumb plugin is enabled; otherwise the image will look small in browser but the browser will be actually downloading the original file. + scale implies popup=true, i.e. FlatPress will act as if you excplictly set popup=true; o popup you can both force a popup to off or on explicitly setting popup=false or popup=true o width and height are self explanatory (you can use both of them or only one). If you set only one, the other will be set accordingly (it won’t work on remote images, and needs GD2 php extension to be installed; usually it is) o Please notice that popup is a lightbox (actually namely it is Slimbox), if the corresponding plugin lightbox is enabled;
[video=http://youtube.com/MYVIDEO] allows to insert a YouTube video in your entry
[url]http://www.zakka56.com[/url] or [url=http://www.zakka56.com]zakka56[/url] o url can begin with images/ or attachs/ (images/ will be translated into IMAGES_DIR, attachs/ into ATTACHS_DIR, tipically fp-content/attachs/)