mod_include 0.01
Sponsored Links
mod_include 0.01 Ranking & Summary
File size:
0.017 MB
Platform:
Any Platform
License:
The Apache License
Price:
Downloads:
1265
Date added:
2006-05-12
Publisher:
Ian Spray
mod_include 0.01 description
mod_include is a post processing of SSI variables, Apache module.
Doesnt sound too helpful ? Well, maybe not, but I found that during construction of this site that I was frequently replicating 5 lines of text with only a single word altered (the left menu). This was both inefficient and awkward to debug, and didnt lend itself to keeping a common look and feel for the site as a whole. This extension allows large blocks of text to be stored as a variable, and for the small changable part to be altered just before the result is displayed.
Whats wrong with set anyway ?
When a variable is used in the value entry of a set command the system searches for the current value of the variable and substitutes it immediately. This fixes the value of the variable created so that it never changes, which is good for some applications, but lousy for dynamic content.
Usage
This module is an extension of the normal Apache behaviour, and should be read as an addendum to the basic mod_include commands.
define
This command sets up a variable in the same way as the set directive, except that any variable names used are not parsed at this time, but stored as names until displayed with the macro directive.
var
The name of the variable (macro) to define.
value
The value of the variable (macro).
macro
This command will expand a previously defined variable and replace any instances of the variable named in var in the variable def with the value given in value. Note that like other mod_include commands, the order of the variables is important, and should be declared in the sequence shown below:
var
The name of the variable to replace inside the macro.
value
The value to replace the variable with.
def
The previously defined macro to seach through.
Doesnt sound too helpful ? Well, maybe not, but I found that during construction of this site that I was frequently replicating 5 lines of text with only a single word altered (the left menu). This was both inefficient and awkward to debug, and didnt lend itself to keeping a common look and feel for the site as a whole. This extension allows large blocks of text to be stored as a variable, and for the small changable part to be altered just before the result is displayed.
Whats wrong with set anyway ?
When a variable is used in the value entry of a set command the system searches for the current value of the variable and substitutes it immediately. This fixes the value of the variable created so that it never changes, which is good for some applications, but lousy for dynamic content.
Usage
This module is an extension of the normal Apache behaviour, and should be read as an addendum to the basic mod_include commands.
define
This command sets up a variable in the same way as the set directive, except that any variable names used are not parsed at this time, but stored as names until displayed with the macro directive.
var
The name of the variable (macro) to define.
value
The value of the variable (macro).
macro
This command will expand a previously defined variable and replace any instances of the variable named in var in the variable def with the value given in value. Note that like other mod_include commands, the order of the variables is important, and should be declared in the sequence shown below:
var
The name of the variable to replace inside the macro.
value
The value to replace the variable with.
def
The previously defined macro to seach through.
mod_include 0.01 Screenshot
mod_include 0.01 Keywords
SSI
Post processing
apache module
variable
mod
include
value
macro
variables
mod_include
modinclude
mod_include 0.01
HTTP
Internet
Bookmark mod_include 0.01
mod_include 0.01 Copyright
WareSeeker periodically updates pricing and software information of mod_include 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of mod_include 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
what are variables
independent variable
variables in science
what are math variables
variable frequency drives
includes free domain
value city department store
blue book value
include this code
includes product information
value city furniture store
variable universal life insurance
value city furniture
includegraphics
value furniture
includes related article
variable speed drives
variable annuities
Related Software
mod_ocaml is an Apache module for the use of OCAML as a Web scripting language. Free Download
mod_stencil is intended as the "reverse" of server-side includes / mod_include. Free Download
mod_rssindex creates a non-recursive RSS 2.0 feed of the directory contained in the HTTP Request. Free Download
mod_daytime Apache module is a RFC-867-compliant Daytime service. Free Download
mod_dirsize is an Apache module to calculate the disk space used for any virtual host on a server. Free Download
mod_corba is an exposes Apache module API via CORBA. Free Download
mod_layout is an Apache module that provides both a Footer and Header directive to automagically include output from other URIs. Free Download
mod_random provides three services. Free Download
Latest Software
Popular Software
Favourite Software