On Mon, 01 Nov 2010 14:58:00 +0100, Harald Oehlmann wrote
> All examples within the rivet folder doc/examples use the magic sequence
> "&lt;?" instead of "<?".
> 
> This does not work on my SuSE installation. The script part is not
> recognized as script and is returned verbatim.
> 
> The file hello.rvt has the contents:
> &lt;?
> puts "Hello World"
> ?&gt;
> -EOF-
> 
> I had to modify it to:
> <?
> puts "Hello World"
> ?>
> -EOF-
> to work.
> -----

it's true, the doc/examples directory is perhaps a misleading name. They were 
not meant to be examples ready to be run out of the box, 'doc/examples' was 
meant to be a directory where code examples had to be put before inclusion 
into the manual.

We may explore the possibility to save them in their pristine form and then 
let the xslt processors transform them if possible (an xslt processor can do 
it?) I have to study the problem, but I can't promise to do it right away.

> Massimo once gave me the following sequence to test the installation:
> <?
>     package require Rivet
>     package require Session
>     package require DIO
>     package require form
> 
>     puts "<b>I got right here!</b>"
> ?>
> -EOF-
> This also detects if "itcl" is installed, very handy.
> 
> I would propose to:
> - modify all examples to use "<?" if this is correct.

we may create an archive of the working examples and put it on the website, 
while we examine the problem of handling them.

> - add the test example
> - write some text in the installation.html how to test the installation:
>   - copy test.rvt to the web server
>   - call it by browsing to "http:<server>/<path-to>/test.rvt
> 

ok

 -- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to