Miva, Miva Script, Miva Empresa, Miva Mia amd Miva Merchant are registered trademarks of the Miva Corporation
 
Ivo Truxa - truXoft control systems: advanced programming and custom IT solutions home / about / webdesign / Miva / automation / contact

http://mivo.truxoft.com
MIVO!
miva beyond limits

 

MIVA®  RESOURCES: SSI / Miva Dictionary

by Ivo Truxa, 06/24/2000


Converting SSI to Miva

The following chart can help you with converting SHTML pages into Miva script for enhancing their functionality. And if, in some documents, you use Miva just for simple tricks (like inserting headers and footers), you may improve your server performance with converting them into SSI. Have a look at the SSI and Miva page for details.

top


SSI / Miva Dictionary

Server Side Includes directive equivalents in Miva 3.7

SSIMiva
<!--#config errmsg="msg" --><MIVA ERRORMESSAGE="msg">
<!--#config sizefmt="fmt" --><MvEVAL EXPR="{}">
<!--#config timefmt="fmt" -->FMT, <MvEVAL EXPR="{}">
top
<!--#echo var="varNm" --><MvEVAL EXPR="{varNm}">
&[varNm];
<!--#echo encoding="none" --><MvEVAL EXPR="{var}">
&[var];
<!--#echo encoding="entity" -->encodeentities(var)
&[var:entities];
<!--#echo encoding="url" -->encodeattribute(var)
&[var:attribute];
top
<!--#exec cgi --><MvCALL>
<!--#exec cmd --><MvCALL> to a bridge CGI
top
<!--#fsize -->fsize(), ssize()
<!--#flastmod -->n.a. directly
<!--#include --><MvDO>
<!--#printenv -->miva_getvarlist('s')
<!--#set --><MvASSIGN>
<!--#if --><MvIF>
<!--#else --><MvELSE>
<!--#endif --></MvIF>
<!--#elif --><MvELSE><MvIF></MvIF>
top
variablesmost of the system variables are available to Miva too
top
=EQ
!=NE
<LT
<=LE
>GT
>=GE
!NOT
(expr)(expr)
||OR
&&AND

top


Some useful links

Miva Script Reference Manual
NCSA httpd Server Side Includes (SSI) tutorial
Apache Module mod_include


top

   

Miva and some other terms used on this page are registerd trademarks of the Miva Corporation
copyright  truXoft  © 1997-2012