As Web sites become increasingly sophisticated, they demand advanced requirements such as XML Feed integration, metadata rendering, etc. SilkPage is designed so that it's easy to customize to fit your special requirements. You can customize SilkPage at XSL and CSS layers. This section covers SilkPage customization and advanced features such as XML and Feed integration.
SilkPage allows stylesheet customization for a particular Website. That is customizing with XSL as well as CSS stylesheets. These customizations are integrated to SilkPage via themes. SilkPage provides two types of themes:
XSL Theme: a set of XSL stylesheet grouped into a directory. This directory name is used by SilkPage to identify the desired XSL theme and use it when generating XHTML output.
CSS Theme: a set of CSS stylesheet grouped into a directory. directory name is used by SilkPage to identify the desired CSS theme and use it when presenting XHTML output.
As indicated in the previous section, you can define and your own XSL theme and have SilkPage use it to generate your Website.
Write your desired XSL stylesheets and put them in a directory. The name of this directory is used to identify your newly created XSL theme.
install it by copying the directory to $SILKPAGE_HOME/src/xsl . Note that $SILKPAGE_HOME is the install directory of the
SilkPage software.
set the value of the configuration parameter: silkpage.adapt.xsl.theme to your newly created theme.
Like XSL themes, a new CSS theme can be defined and used as follows:
Write your desired CSS stylesheets and put them in a directory. The name of this directory is used to identify your newly created CSS theme.
install it by copying the directory to $SILKPAGE_HOME/src/css. Note that
$SILKPAGE_HOME is the install
directory of the SilkPage software.
set the value of the configuration parameter: silkpage.adapt.css.theme to your newly created theme.