Overview
All files with .html extension will be processed using WSP engine. To embed any Mathematica code - use the following syntax
<?wsp 1 + 1?>
2
All output of the Mathematica expression converts to the string.
Of course you can break expressions to generate HTML code like in PHP
<?wspTable[?>
<?wspi^2?>
<?wsp, {i,3}]?>
1 4 9
Graphics objects are converted to SVG pictures
<?wsp JuliaSetPlot[0.365 - 0.37 I, PerformanceGoal -> "Speed"] ?>
Any defined variables are global, except the variables which passed by LoadPage and session
<?wsp var = 33; ?var?>
Global`var
var = 33
Next a^\236\224