I’m trying to include the dynamically-generated content located here:
Into another HTML file of mine. The documentation that came with the script gave the following for example usage:
Server Side Include:
< !–#INCLUDE VIRTUAL=“rss2html.php?XMLFILE=http://forums.info-mac.org/rss.php&TEMPLATE=http://www.info-mac.org/sample-template.html&MAXITEMS=10” – >
Prefered PHP Include:<?php $XMLFILE = "http://forums.info-mac.org/rss.php"; $TEMPLATE = "http://www.info-mac.org/sample-template.html"; $MAXITEMS = "10"; include("rss2html.php"); ?>
PHP Include (Due to security concerns many ISP have configured their servers to prevent this from working):<?php include("http://www.info-mac.org/rss2html.php?XMLFILE=http://forums.info-mac.org/rss.php&TEMPLATE=http://www.info-mac.org/sample-template.html&MAXITEMS=10"); ?>[/quote]
I cannot get any of that to work though. I don’t know what that means I’m supposed to do? I tried the Server Side Include in both an HTML and SHTML file and it doesn’t work for me.
What am I missing here?
This is where I tried it: http://www.info-mac.org/rsstest.shtml