< and > put the actual less than and greater than symbols into the document. The Rivet parser will not recognize them as control characters. We would only tend to use < and > in the documentation when you're trying to show what code should look like in an example. If you were to View Source of the document, you would see that text, but the page itself should show the proper code.
So, to be clear, <? puts "Hello World!" ?> is how you would write a code example in documentation, and: <? puts "Hello World!" ?> is how you actually write the code. Damon On Nov 1, 2010, at 8:58 AM, Harald Oehlmann wrote: > All examples within the rivet folder doc/examples use the magic sequence > "<?" 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: > <? > puts "Hello World" > ?> > -EOF- > > I had to modify it to: > <? > puts "Hello World" > ?> > -EOF- > to work. > ----- > 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. > - 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 > > Harald > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
