File: CSSList.xml

Recommend this page to a friend!
  Classes of Michele Andreoli  >  CSS Unifier  >  CSSList.xml  >  Download  
File: CSSList.xml
Role: Auxiliary data
Content type: text/plain
Description: Configuration file
Class: CSS Unifier
Unify several CSS stylesheets into a single file
Author: By
Last change:
Date: 9 years ago
Size: 1,740 bytes



Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
        <!--Mandatory properties:
            path:           [string]     the path of the directory which will contain aggregate css and temporary files.
                                         This directory must have writing permissions (chmod 757).
            outname:        [string]     the name of the aggregate css without extension.

            unifier:        [boolean]    unifies all css into one. The re-creation of the aggregate css is made only if you
                                         modify the originals css or if you enable the next property that force refresh.
                                         This is made to increase the performance.

            forceRefresh:   [boolean]    force the creation of aggregate css (removes and recreates temporary directory each time),
                                         this is very useful during development but it's strongly recommended to set it false when
                                         the development is finished.
        <property path="./css/" outname="aggregate" />
        <property unifier="true" />
        <property forceRefresh="true" />
        <!--Css list (at least one):
            path:       [string]    the directory where are the css files.
            name:       [string]    the name of the css file without extension.
            compress:   [boolean]   minimizes or not the css
        <css path="./css/" name="numberone"   compress="true" />
        <css path="./css/" name="numbertwo"   compress="true" />
        <css path="./css/" name="numberthree" compress="true" />

For more information send a message to info at phpclasses dot org.