Forum Moderators: open
<!--#include file="college.html" -->
^^^this type of include would be fine, but often won't work unless you rename page to shtml. Something like it though?
You can get around the extension setup through the use of index.php's where the filename/extension doesn't show, or through the use of .htaccess to set arbitrary extensions to be php executed. For example, on most of my websites .htmls are php executed and .htm are pure html.
I want to have an included file on a few clients sites that doesn't use js
What do you mean "that doesn't use js"? Your included file must not use JavaScript? Why?
JavaScript as a client-side scripting language is supported by most browsers.
I doubt that any SE will index JS-generated content though.
Does anyone know if this can be made to work?
<!--#include virtual="http://www.mypage.com/content.html" -->
I don't know about SSI, but with PHP you can use readfile [php.net], e.g.:
<?php readfile("http://example.com/somefile.inc");?> <added>Are you trying to sell PageRank(tm) [google.com]? Not a very successful business strategy IMHO. ;)</added>