Changeset 29060
- Timestamp:
- 04/09/10 17:08:50 (3 years ago)
- Files:
-
- plugins/sfBBCodeParserPlugin/trunk/README (modified) (8 diffs)
- plugins/sfBBCodeParserPlugin/trunk/package.xml (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfBBCodeParserPlugin/trunk/README
r18106 r29060 5 5 output. There are 6 available filters which provide the following tags: 6 6 7 * Basic 8 * b 9 * i 10 * u 11 * s 12 * sub 13 * sup 14 * Extended: 15 * color 16 * size 17 * font 18 * align 19 * quote 20 * code 21 * h1 22 * h2 23 * h3 24 * h4 25 * h5 26 * h6 27 * Images 28 * img 29 * Links: 30 * url 31 * Lists 32 * list 33 * ulist 34 * li 35 * Email 36 * email 37 38 You can activate the filters you want; for each filter you can also decide which tags 7 * Basic (b, i, u, s, sub, sup) 8 * Extended (color, size, font, align, quote, code, h1 to h6) 9 * Images (img) 10 * Links (url) 11 * Lists (list, ulist, li) 12 * Email (email) 13 14 You can activate the filters you want. For each filter you can also decide which tags 39 15 can be used. And finally you can make your own filters with your own tags. 40 16 Almost everything can be configured in the plugin, filters, tags, attributes, opening … … 52 28 $ symfony plugin:install sfBBCodeParserPlugin 53 29 54 (or download and unzip in your /plugins directory or make a SVN:externals)30 (or download and unzip in your /plugins directory or checkout with [SVN](http://svn.symfony-project.com/plugins/sfBBCodeParserPlugin/trunk/)) 55 31 56 32 * Clear your cache … … 97 73 ===== 98 74 99 * Instantiate a n`sfBBCodeParser` object:75 * Instantiate a `sfBBCodeParser` object: 100 76 101 77 [php] … … 260 236 261 237 >**Note** 262 >If your escaping strategy is set to `on`: 238 >If your escaping strategy is set to `on`: (this is the default case for symfony 1.3 and 1.4) 263 239 > 264 240 > # settings.yml … … 275 251 ================= 276 252 277 If you want to create your filters, let's say the filter called `myFilter`:253 If you want to create your own filters, let's say the filter called `myFilter`: 278 254 279 255 * Create the class `sfBBCodeParser_Filter_myFilter``in your lib/ directory … … 290 266 291 267 If you want to see the demo, enable the `sfBBCodeParser` module in your `settings.yml` 292 file, then call the `/sfBBCodeParser` URL. (If you have de -activated the default symfony routes,268 file, then call the `/sfBBCodeParser` URL. (If you have desactivated the default symfony routes, 293 269 a `routing.yml` file is included in the `config` folder of the plugin. (copy/paste it 294 270 in the `routing.yml` of your application. … … 311 287 mailing list. 312 288 289 See you. [COil](http://www.strangebuzz.com) :) 290 313 291 Changelog 314 292 ========= … … 320 298 ==== 321 299 322 * The `img` tag does not allow to have spaces in alt or title attributes.300 * The `img` tag doesn't allow to have spaces in alt or title attributes. 323 301 324 302 ---- 325 303 326 See you. [COil](http://www.strangebuzz.com) :)327 328 ----329 330 304 This plugin is sponsored by [SQL Technologies](http://www.sqltechnologies.com) 331 305 332 306  plugins/sfBBCodeParserPlugin/trunk/package.xml
r18106 r29060 3 3 <name>sfBBCodeParserPlugin</name> 4 4 <channel>pear.symfony-project.com</channel> 5 <summary>This a plugin to parse BBCode, it is based on the HTML_BBCodeParser PEAR library</summary>5 <summary>This is a plugin to parse BBCode, it is based on the HTML_BBCodeParser PEAR library</summary> 6 6 <description>The **sfBBCodeParserPlugin** allows you to parse *BBCode* and get the corresponding html 7 output. You can activate the filters you want, for each filter you can also tell witch tags 7 output. There are 6 available filters which provide the following tags: 8 * Basic (b, i, u, s, sub, sup) 9 * Extended (color, size, font, align, quote, code, h1 to h6) 10 * Images (img) 11 * Links (url) 12 * Lists (list, ulist, li) 13 * Email (email) 14 You can activate the filters you want, for each filter you can also tell witch tags 8 15 can be use. And finally you can make your own filters with your own tags. 9 16 Almost everything can be configured in the plugin, filters, tags, attributes, opening 10 17 and closing character... 11 18 The plugin is based on the PEAR library HTML_BBCodeParser http://pear.php.net/package/HTML_BBCodeParser 12 but the PEAR dependencies were removed so you don't have to install it in order 13 to use the plugin.</description>19 but the PEAR dependencies were removed so you don't have to install it in order to use the plugin. 20 </description> 14 21 <lead> 15 22 <name>Vernet Loic</name> … … 18 25 <active>yes</active> 19 26 </lead> 20 <date>20 09-05-10</date>27 <date>2010-04-09</date> 21 28 <version> 22 <release>1.0. 1</release>23 <api>1.0. 1</api>29 <release>1.0.2</release> 30 <api>1.0.2</api> 24 31 </version> 25 32 <stability> … … 28 35 </stability> 29 36 <license uri="http://www.symfony-project.com/license">MIT license</license> 30 <notes> </notes>37 <notes>-</notes> 31 38 <contents> 32 39 <dir name="/"> … … 82 89 <name>symfony</name> 83 90 <channel>pear.symfony-project.com</channel> 84 <min>1. 2.0</min>85 <max>1. 3.0</max>86 <exclude>1. 3.0</exclude>91 <min>1.1.0</min> 92 <max>1.5.0</max> 93 <exclude>1.5.0</exclude> 87 94 </package> 88 95 </required> … … 91 98 </phprelease> 92 99 <changelog> 100 <release> 101 <version> 102 <release>1.0.2</release> 103 <api>1.0.2</api> 104 </version> 105 <stability> 106 <release>stable</release> 107 <api>stable</api> 108 </stability> 109 <license uri="http://www.symfony-project.com/license">MIT license</license> 110 <date>2010-04-09</date> 111 <license>MIT</license> 112 <notes> 113 * Updated package for sf 1.1, 1.3 and 1.4 114 * Tested the plugin with 1.1, 1.3 and 1.4 115 </notes> 116 </release> 93 117 <release> 94 118 <version>