Development

Changeset 29060

You must first sign up to be able to contribute.

Changeset 29060

Show
Ignore:
Timestamp:
04/09/10 17:08:50 (3 years ago)
Author:
COil
Message:

[sfBBCodeParserPlugin]
* Updated package for sf 1.3 and 1.4
* Updated README

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfBBCodeParserPlugin/trunk/README

    r18106 r29060  
    55output. There are 6 available filters which provide the following tags: 
    66 
    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 
     14You can activate the filters you want. For each filter you can also decide which tags  
    3915can be used. And finally you can make your own filters with your own tags.  
    4016Almost everything can be configured in the plugin, filters, tags, attributes, opening  
     
    5228        $ symfony plugin:install sfBBCodeParserPlugin 
    5329 
    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/)
    5531 
    5632 * Clear your cache 
     
    9773===== 
    9874 
    99  * Instantiate an `sfBBCodeParser` object: 
     75 * Instantiate a `sfBBCodeParser` object: 
    10076 
    10177        [php] 
     
    260236 
    261237>**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) 
    263239> 
    264240>     # settings.yml 
     
    275251================= 
    276252 
    277 If you want to create your filters, let's say the filter called `myFilter`: 
     253If you want to create your own filters, let's say the filter called `myFilter`: 
    278254 
    279255* Create the class `sfBBCodeParser_Filter_myFilter``in your lib/ directory 
     
    290266 
    291267If 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,  
     268file, then call the `/sfBBCodeParser` URL. (If you have desactivated the default symfony routes, 
    293269a `routing.yml` file is included in the `config` folder of the plugin. (copy/paste it 
    294270in the `routing.yml` of your application. 
     
    311287mailing list. 
    312288 
     289See you. [COil](http://www.strangebuzz.com) :) 
     290 
    313291Changelog 
    314292========= 
     
    320298==== 
    321299 
    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. 
    323301 
    324302---- 
    325303 
    326 See you. [COil](http://www.strangebuzz.com) :) 
    327  
    328 ---- 
    329  
    330304This plugin is sponsored by [SQL Technologies](http://www.sqltechnologies.com) 
    331305 
    332  ![SQL Technologies](http://www.php-debug.com/images/sql.gif) 
     306![SQL Technologies](http://www.php-debug.com/images/sql.gif) 
  • plugins/sfBBCodeParserPlugin/trunk/package.xml

    r18106 r29060  
    33 <name>sfBBCodeParserPlugin</name> 
    44 <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> 
    66 <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  
     7output. 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) 
     14You can activate the filters you want, for each filter you can also tell witch tags  
    815can be use. And finally you can make your own filters with your own tags.  
    916Almost everything can be configured in the plugin, filters, tags, attributes, opening  
    1017and closing character... 
    1118The 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> 
     19but the PEAR dependencies were removed so you don't have to install it in order to use the plugin. 
     20 </description> 
    1421 <lead> 
    1522  <name>Vernet Loic</name> 
     
    1825  <active>yes</active> 
    1926 </lead> 
    20  <date>2009-05-10</date> 
     27 <date>2010-04-09</date> 
    2128 <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> 
    2431 </version> 
    2532 <stability> 
     
    2835 </stability> 
    2936 <license uri="http://www.symfony-project.com/license">MIT license</license> 
    30  <notes></notes> 
     37 <notes>-</notes> 
    3138 <contents> 
    3239  <dir name="/"> 
     
    8289    <name>symfony</name> 
    8390    <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> 
    8794   </package> 
    8895  </required> 
     
    9198 </phprelease> 
    9299  <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> 
    93117    <release> 
    94118      <version>