How to do server-side includes in Radio

Radio UserLand tip: There's a way to do a server-side include on a Radio page before it is published. To include one file within another, call <%file.readWholeFile(...)%> with the name and exact location of the file as the only argument.

For example:

<%file.readWholeFile("C:\Program Files\Radio Userland\www\footer.html")%> More information on file.readWholeFile is available from DocServer, a reference to Frontier and Radio verbs.

Add a Comment

These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. A comment may not include more than three links. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).