VWcms Include Examples  
 

[PREV][NEXT]

[PRINT]

$$INCLUDE$height=200px$source=/vdub/$$

Places a remote (network) URL into a scrolling window on the page.

$$INCLUDE$height=200px$source=plain:///_site.html$$

Places the content of a local file as plain text into a scrolling window.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> $$PRAGMA$MSIE_INCLUDE_PERCENT$80$$ <head> <title>$$DRAFT$$$$TITLE$$</title> <link rel="icon" type="image/gif" href="/_vdub/vdub.gif" /> <link rel="stylesheet" href="/_vdub/_vwcms.css" type="text/css" /> <link rel="stylesheet" href="/_vdub/_site.css" type="text/css" /> <style type="text/css"> body { background-image:url("/_vdub/vdub_bg.jpg"); background-color:#ededed; background-repeat:no-repeat; } </style> </head> <body onload="if(window.VWcmsOnLoad)VWcmsOnLoad()"> <a name="TOP"></a> <table class="vdub_site" style="width: 100%;" border="0"> <tr> <td colspan="2"> <table style="padding-bottom: 0.5em; width: 100%; white-space: nowrap;" border="0"> <tr> <td style="width: 5%; margin-bottom: 1em; padding-right: 1em;" align="left" valign="bottom"><img style="vertical-align: text-bottom;" src="/_vdub/vdub.gif" alt="" /></td> <td style="font-size: 300%; letter-spacing: 0pt; vertical-align: bottom; width: 5%; padding-right: 1em;" align="left" valign="bottom">VWcms</td> <td style="font-size: 180%; white-space: nowrap; vertical-align: bottom; width: 5%; padding-bottom: 0.25em;" align="left" valign="bottom">$$TITLE$$</td> <td style="vertical-align: bottom; text-align: right; width: 100%;" align="right" valign="bottom">$$SEARCH$12$$</td> <td style="width:100%;">&nbsp;</td> </tr> </table> </td> <td style="width: 5%;">&nbsp;</td> </tr> <tr> <td style="white-space: nowrap; width: 10%; padding-right: 2em;"> $$TOC$CSS$11$13$10$$ <p style="font-size:70%;">$$PREV$$<span style="padding:0 2em 0 2em;">$$BACK$$</span>$$NEXT$$</p> <p style="margin-top: 1em;">$$PRINT$*$$</p> <p style="margin-top: 1em;">$$LOGIN$$</p><p>$$MANAGE$$</p> </td> <td style="width:75%;"> <div class="vdub_content">$$CONTENT$$<p>$$PRINT$$&nbsp;&nbsp;$$PRINT$+$$</p></div> <table class="vdub_footer" border="0"> <tr> <td style="text-align: left;">$$PREV$$</td> <td style="text-align: center;">$$TOP$$</td> <td style="text-align: right;">$$NEXT$$</td> </tr> <tr> <td style="text-align: left; width: 95%;" colspan="3">$$ADVISE$$</td> </tr> <tr> <td style="width: 100%; white-space: nowrap; text-align: right;" colspan="3"><strong>As&nbsp;at:</strong>&nbsp;$$TIME$$&nbsp;&nbsp; <strong>Updated:</strong>&nbsp;$$LASTMOD$$&nbsp;($$AGO$$)</td> </tr> </table> </td> <td class="vdub_right" style="width: 5%;">&nbsp;</td> </tr> <tr> <td style="white-space:nowrap;" colspan="3" width="100%"><br /></td> </tr> </table> </body> </html>

$$INSERT$width=80%$style=overflow:hidden;$source=/vdub/$$

Places a remote (network) URL in-line with the content of the page.

NOTE: This can only be used for URLs from the same host.  Browser security sandboxing will severely constrain the presentation of URLs from other hosts.

$$INSERT$width=60em$height=20em$style=overflow:hidden;$source=plain:///_site.html$$

Places the content in-line with the content of the page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> $$PRAGMA$MSIE_INCLUDE_PERCENT$80$$ <head> <title>$$DRAFT$$$$TITLE$$</title> <link rel="icon" type="image/gif" href="/_vdub/vdub.gif" /> <link rel="stylesheet" href="/_vdub/_vwcms.css" type="text/css" /> <link rel="stylesheet" href="/_vdub/_site.css" type="text/css" /> <style type="text/css"> body { background-image:url("/_vdub/vdub_bg.jpg"); background-color:#ededed; background-repeat:no-repeat; } </style> </head> <body onload="if(window.VWcmsOnLoad)VWcmsOnLoad()"> <a name="TOP"></a> <table class="vdub_site" style="width: 100%;" border="0"> <tr> <td colspan="2"> <table style="padding-bottom: 0.5em; width: 100%; white-space: nowrap;" border="0"> <tr> <td style="width: 5%; margin-bottom: 1em; padding-right: 1em;" align="left" valign="bottom"><img style="vertical-align: text-bottom;" src="/_vdub/vdub.gif" alt="" /></td> <td style="font-size: 300%; letter-spacing: 0pt; vertical-align: bottom; width: 5%; padding-right: 1em;" align="left" valign="bottom">VWcms</td> <td style="font-size: 180%; white-space: nowrap; vertical-align: bottom; width: 5%; padding-bottom: 0.25em;" align="left" valign="bottom">$$TITLE$$</td> <td style="vertical-align: bottom; text-align: right; width: 100%;" align="right" valign="bottom">$$SEARCH$12$$</td> <td style="width:100%;">&nbsp;</td> </tr> </table> </td> <td style="width: 5%;">&nbsp;</td> </tr> <tr> <td style="white-space: nowrap; width: 10%; padding-right: 2em;"> $$TOC$CSS$11$13$10$$ <p style="font-size:70%;">$$PREV$$<span style="padding:0 2em 0 2em;">$$BACK$$</span>$$NEXT$$</p> <p style="margin-top: 1em;">$$PRINT$*$$</p> <p style="margin-top: 1em;">$$LOGIN$$</p><p>$$MANAGE$$</p> </td> <td style="width:75%;"> <div class="vdub_content">$$CONTENT$$<p>$$PRINT$$&nbsp;&nbsp;$$PRINT$+$$</p></div> <table class="vdub_footer" border="0"> <tr> <td style="text-align: left;">$$PREV$$</td> <td style="text-align: center;">$$TOP$$</td> <td style="text-align: right;">$$NEXT$$</td> </tr> <tr> <td style="text-align: left; width: 95%;" colspan="3">$$ADVISE$$</td> </tr> <tr> <td style="width: 100%; white-space: nowrap; text-align: right;" colspan="3"><strong>As&nbsp;at:</strong>&nbsp;$$TIME$$&nbsp;&nbsp; <strong>Updated:</strong>&nbsp;$$LASTMOD$$&nbsp;($$AGO$$)</td> </tr> </table> </td> <td class="vdub_right" style="width: 5%;">&nbsp;</td> </tr> <tr> <td style="white-space:nowrap;" colspan="3" width="100%"><br /></td> </tr> </table> </body> </html>

$$INCLUDE$http://www.w3c.org/$$

Just another external (hope this system is connected to the Internet) example.

$$INSERT$spawn:///show time$$

Insufficient privilege or object protection violation (%X00000024)

$$INCLUDE$width=40em$height=20em$style=padding:1em;$source=splain:///show system$$

Insufficient privilege or object protection violation (%X00000024)

And because this site appears to be empowered by WASD ...

(with the SHOW script enabled)

$$INSERT$source=/cgi-bin/show?show=system$refresh=5$$

$$INSERT$vwcms:///Building_The_Site/HTML_Content/Time$$

Directives substituting a time string (e.g. $$LASTMOD$$ and $$TIME$$) have a default format the same as displayed at the bottom of this page, and can take an optional, dollar-separated parameter, specifying an alternate strftime() format string, or "VMS", "VMS20", "VMS17" and "VMS11" to report times in a VMS format.

$$TIME$$ Friday, 18 May 2012 03:48
$$TIME$%d %b %Y %H:%M$$ 18 May 2012 03:48
$$TIME$%A, %e %B %Y$$ Friday, 18 May 2012
$$TIME$VMS$$ 18-MAY-2012 03:48
$$TIME$VMS20$$ 18-MAY-2012 03:48:53 
$$TIME$VMS17$$ 18-MAY-2012 03:48
$$TIME$VMS11$$
18-MAY-2012 

$$CONTENT$Building_The_Site/HTML_Content/Time$$

Directives substituting a time string (e.g. $$LASTMOD$$ and $$TIME$$) have a default format the same as displayed at the bottom of this page, and can take an optional, dollar-separated parameter, specifying an alternate strftime() format string, or "VMS", "VMS20", "VMS17" and "VMS11" to report times in a VMS format.

$$TIME$$ Friday, 18 May 2012 03:48
$$TIME$%d %b %Y %H:%M$$ 18 May 2012 03:48
$$TIME$%A, %e %B %Y$$ Friday, 18 May 2012
$$TIME$VMS$$ 18-MAY-2012 03:48
$$TIME$VMS20$$ 18-MAY-2012 03:48:53 
$$TIME$VMS17$$ 18-MAY-2012 03:48
$$TIME$VMS11$$
18-MAY-2012 

$$INCLUDE$style=padding:1em;$source=vwcms:///Building_The_Site/HTML_Content/Time$$

Directives substituting a time string (e.g. $$LASTMOD$$ and $$TIME$$) have a default format the same as displayed at the bottom of this page, and can take an optional, dollar-separated parameter, specifying an alternate strftime() format string, or "VMS", "VMS20", "VMS17" and "VMS11" to report times in a VMS format.

$$TIME$$ Friday, 18 May 2012 03:48
$$TIME$%d %b %Y %H:%M$$ 18 May 2012 03:48
$$TIME$%A, %e %B %Y$$ Friday, 18 May 2012
$$TIME$VMS$$ 18-MAY-2012 03:48
$$TIME$VMS20$$ 18-MAY-2012 03:48:53 
$$TIME$VMS17$$ 18-MAY-2012 03:48
$$TIME$VMS11$$
18-MAY-2012 

[PRINT]  [PRINT]