Revision: 93
Author: matt
Date: 2006-08-16 17:51:59 +0000 (Wed, 16 Aug 2006)
Log Message:
-----------
Disable the demo stuff by default so that axkit dependencies are minimal
Modified Paths:
--------------
trunk/etc/axkit.conf.sample
Added Paths:
-----------
trunk/demo/disabled/
trunk/demo/disabled/docs/
trunk/demo/disabled/docs/index.html
trunk/demo/disabled/gallery/
trunk/demo/disabled/gallery/index.html
trunk/demo/disabled/index.html
trunk/demo/disabled/tal/
trunk/demo/disabled/tal/index.html
trunk/demo/disabled/xpathscript/
trunk/demo/disabled/xpathscript/index.html
trunk/demo/disabled/xslt/
trunk/demo/disabled/xslt/index.html
trunk/demo/disabled/xsp/
trunk/demo/disabled/xsp/index.html
Removed Paths:
-------------
trunk/demo/index.html
Added: trunk/demo/disabled/docs/index.html
===================================================================
--- trunk/demo/disabled/docs/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/docs/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>Docs Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ Docs Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Added: trunk/demo/disabled/gallery/index.html
===================================================================
--- trunk/demo/disabled/gallery/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/gallery/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>Gallery Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ Gallery Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Copied: trunk/demo/disabled/index.html (from rev 80, trunk/demo/index.html)
Added: trunk/demo/disabled/tal/index.html
===================================================================
--- trunk/demo/disabled/tal/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/tal/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>TAL Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ TAL Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Added: trunk/demo/disabled/xpathscript/index.html
===================================================================
--- trunk/demo/disabled/xpathscript/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/xpathscript/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>XPathScript Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ XPathScript Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Added: trunk/demo/disabled/xslt/index.html
===================================================================
--- trunk/demo/disabled/xslt/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/xslt/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>XSLT Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ XSLT Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Added: trunk/demo/disabled/xsp/index.html
===================================================================
--- trunk/demo/disabled/xsp/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/disabled/xsp/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <title>XSP Demo -- Disabled</title>
+ </head>
+ <body>
+ <p>
+ XSP Demo is currently disabled.
+ </p>
+ <p>
+ To enable, edit the appropriate section in <code>etc/axkit.conf</code>
+ assuming you copied that file from <code>etc/axkit.conf.sample</code>.
+ </p>
+ </body>
+</html>
Deleted: trunk/demo/index.html
===================================================================
--- trunk/demo/index.html 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/demo/index.html 2006-08-16 17:51:59 UTC (rev 93)
@@ -1,61 +0,0 @@
-<html>
-<head>
- <title>AxKit Demo Setup</title>
-</head>
-<body>
- <h1>Demos</h1>
- These are very simple demos to get you an idea of how AxKit2 works.
-
- <h2><a href="xslt/">XSLT</a></h2>
- <p>
- XSLT - eXtensible Stylesheet Language - a templating language which
provides
- a very powerful language for processing XML.
- </p>
- <p>
- <a href="xslt/">Click here</a>.
- </p>
-
- <h2><a href="xsp/">XSP</a></h2>
- <p>
- XSP - eXtensible Server Pages - A language originally designed by the
Cocoon
- project and adopted and extended by AxKit to allow dynamic generation of
XML
- using a server-side page language. XSP can be very powerful and extended by
- tag libraries which hide much of the functionality, making complex page
- generation simple.
- </p>
- <p>
- <a href="xsp/">Click here</a>.
- </p>
-
- <h2><a href="tal/">TAL</a></h2>
- <p>
- TAL - Tagged Attribute Language - A new option for AxKit2. This language
- allows you to design your HTML as though it looked like the final output.
- Then you just add some attributes to the elements you need to be "dynamic"
- which indicate which parts of the XML source it should get data from. The
- TAL backend then does all the work and generates a HTML page. Very cool.
- </p>
- <p>
- <a href="tal/">Click here</a>.
- </p>
-
- <h2><a href="xpathscript/">XPathScript</a></h2>
- <p>
- XPathScript - A language created to give some of perl's power and simple
- expressability to XML transformation. Like XSLT it is mainly a declarative
- language, but with the added power of Perl you can do all kinds of crazy
- stuff that XSLT forbids.
- </p>
- <p>
- <a href="xpathscript/">Click here</a>.
- </p>
-
- <h2><a href="gallery/">Gallery</a></h2>
- <p>
- A full blown demo application - an image gallery.
- </p>
- <p>
- <a href="gallery/">Click here</a>.
- </p>
-</body>
-</html>
Modified: trunk/etc/axkit.conf.sample
===================================================================
--- trunk/etc/axkit.conf.sample 2006-08-16 17:23:18 UTC (rev 92)
+++ trunk/etc/axkit.conf.sample 2006-08-16 17:51:59 UTC (rev 93)
@@ -22,7 +22,7 @@
<Server>
Port 8000
- DocumentRoot demo
+ DocumentRoot demo/disabled
Plugin uri_to_file
Plugin serve_cgi
@@ -41,47 +41,59 @@
DocumentRoot demo/icons
</Location>
- <Location /xslt>
- Plugin demo/serve_xslt
- DirectoryIndex 01.xml
- DocumentRoot demo/xslt
- XSLT_Match .*\.xml$
- XSLT_Style demo/xslt/stylesheets/01.xsl
- </Location>
+# The demo directories that follow are disabled by default simply so that
+# the example config loads a minimal AxKit (as some of these have deep CPAN
+# dependencies that we don't want you to be forced to load).
+#
+# To enable each demo uncomment the <Location> section and restart AxKit.
+
+# XSLT DEMO
+# <Location /xslt>
+# Plugin demo/serve_xslt
+# DirectoryIndex 01.xml
+# DocumentRoot demo/xslt
+# XSLT_Match .*\.xml$
+# XSLT_Style demo/xslt/stylesheets/01.xsl
+# </Location>
- <Location /xsp>
- DocumentRoot demo/xsp
- DirectoryIndex test.xsp
- Plugin demo/serve_xsp
- XSP_Match .*\.xsp$
- </Location>
+# XSP DEMO
+# <Location /xsp>
+# DocumentRoot demo/xsp
+# DirectoryIndex test.xsp
+# Plugin demo/serve_xsp
+# XSP_Match .*\.xsp$
+# </Location>
+
+# TAL DEMO
+# <Location /tal>
+# DocumentRoot demo/tal
+# DirectoryIndex index.xml
+# Plugin demo/serve_tal
+# </Location>
- <Location /tal>
- DocumentRoot demo/tal
- DirectoryIndex index.xml
- Plugin demo/serve_tal
- </Location>
+# XPathScript DEMO
+# <Location /xpathscript>
+# DocumentRoot demo/xpathscript
+# DirectoryIndex index.xml
+# Plugin demo/serve_xpathscript
+# XPathScript_Stylesheet demo/xpathscript/demo.xps
+# XPathScript_OutputType text/html
+# </Location>
+
+# Gallery DEMO
+# <Location /gallery>
+# DocumentRoot demo/gallery
+# Plugin dir_to_xml
+# Plugin demo/gallery
+# ProofSheetColumns 3
+# ImagesPerProofSheet 15
+# GallerySizes "205 800 640 1024 full"
+# GalleryThumbQuality preview
+# </Location>
- <Location /xpathscript>
- DocumentRoot demo/xpathscript
- DirectoryIndex index.xml
- Plugin demo/serve_xpathscript
- XPathScript_Stylesheet demo/xpathscript/demo.xps
- XPathScript_OutputType text/html
- </Location>
-
- <Location /gallery>
- DocumentRoot demo/gallery
- Plugin dir_to_xml
- Plugin demo/gallery
- ProofSheetColumns 3
- ImagesPerProofSheet 15
- GallerySizes "205 800 640 1024 full"
- GalleryThumbQuality preview
- </Location>
-
- <Location /docs>
- Plugin demo/doc_viewer
- </Location>
-
+# Docs DEMO
+# <Location /docs>
+# Plugin demo/doc_viewer
+# </Location>
+
</Server>