[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Website Info Needed
At 14:41 11/04/2002 -0700, Eric Richardson wrote: >Hi, > >I'm interested in trying out website but have a few questions. I looked at >the examples and docs as far as I could find from the download and SF. > >Does the website go one place and then output to another so that the src >doesn't get uploaded? Yes, I have it set up like that. >Will it produce XHTML like docbook xsl or just HTML? Depends on which stylesheets you call I guess, but I haven't used that feature, so I'm unsure. >How does the XBEL work and what is the advantage? I can't answer that one, sorry Eric. I learned from the tiny examples that Norm publishes with website, its enough to get you started. Bit like ant, its all controlled from the dummy 'build' file that you write. The stylesheets are controlled by that, and determine This is the top end of my 'layout' file, used as the input to phase one of the process: <?xml version="1.0"?> <!DOCTYPE layout SYSTEM "../nw/docbook/website2/layout.dtd"> <layout> <config param="homebanner-tabular" value="graphics/pig.gif" altval="Home Banner"/> <config param="output-root" value="/sgml/site2"/> ^^^^ root of all output <copyright> <year>2001</year> <holder role="http://www.dpawson.co.uk">Dave Pawson</holder> </copyright> <style src="xslfaq.css" type="text/css"/> <!-- Now the toc for the whole site. --> <toc page="dpawson.xml" filename="index.html"> ^^ input file dpawson.xml becomes output file index.html in (current) root directory. <tocentry page="braille.xml" dir="braille" filename="braille.html" tocskip="0"/> ^^ Since a child of previous, this file gets put into the 'braille' directory in current dir which is child of root <tocentry page="xsltuk.xml" dir="xsltuk" filename="index.html" tocskip="0"/> <tocentry page="xslfaq.xml" dir="xsl" filename="xslfaq.html" tocskip="0"> <tocentry page="list.xml" filename="list.html" tocskip="0"/> ^^ this file gets put into root/xsl/list.html etc, so the directory structure relates the the tree structure of this file. I like it, its kinda neat imho :-) HTH DaveP
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC