🕸Fergus Duniho wrote on Sun, Oct 22, 2017 12:13 AM UTC:
I haven't seen this particular code before, and I don't know what page it is from, but I understand what it's trying to do. The test
<!--#if expr="1=0" -->
evaluates to a false statement, and whatever follows it will not be executed if Server Side Includes are working. Its use is to provide HTML code that gets used only when the page is offline, because David would sometimes burn offline versions of the site onto CD ROMs. The line
<!--#include virtual="/cgi-bin/extern.cgi?itemid=ZillionsofGames&level=1" -->
executes a CGI script written in Perl, which prints an external link to the item whose itemid is given. Since that script prints the </a> part of the link, it looks like this code has misplaced a line. This should work better:
I haven't seen this particular code before, and I don't know what page it is from, but I understand what it's trying to do. The test
<!--#if expr="1=0" -->
evaluates to a false statement, and whatever follows it will not be executed if Server Side Includes are working. Its use is to provide HTML code that gets used only when the page is offline, because David would sometimes burn offline versions of the site onto CD ROMs. The line<!--#include virtual="/cgi-bin/extern.cgi?itemid=ZillionsofGames&level=1" -->
executes a CGI script written in Perl, which prints an external link to the item whose itemid is given. Since that script prints the </a> part of the link, it looks like this code has misplaced a line. This should work better:<!--#if expr="1=0" -->
<a href="../offline/links/ZillionsofGames.html">Zillions of Games</a>
<!--#endif -->
<!--#include virtual="/cgi-bin/extern.cgi?itemid=ZillionsofGames&level=1" -->