PHP Classes

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: 12 years ago
Size: 1,740 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <cssunifier> <properties> <!--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" /> </properties> <csslist> <!--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" /> </csslist> </cssunifier>