Include
The include tag allows you to assemble pages from parts of other pages, both on your site and from pages on other sites.
[include]/page/to_include[/include]
If the specified page starts with a slash '/', the page is considered to be from this site (from the database) and all of the sections from that page are retrieved and placed at the top of the current section. To include only one section of a page, use:
[include]/page/to_include?sec=3[/include]
to include section number 3.
[include]http://some.site.com/page/file.to.include.html[/include]
Retrieves the specified page from another web site and places it at the top of the current section. This may produce unpredictable results, as the resulting page will most likely have an invalid structure (i.e. another 'head' section within the 'body' section). Fortunately, most web browsers are quite tolerant to unpredictable structure. If the included page has a style sheet or other formating instructions, it may change the whole look-and-feel of your page. If the file cannot be retrieved, the part of the section is left empty.
[include]include/localfile.htm[/include]
Include a file located on the same web server by specifying the file name relative to the site root (without the leading '/').
A local JavaScript file can also be included, in a manner similar to the HTML
<script src="functions.js"> </script>
by using:
[include]functions.js[/include]
The Contentor program assumes that it is JavaScript (from the .js extension) and it will be included with surrounding <script> tag.