Making content available via web pages can be handled in at least two different ways. At the simplest level, you can add a couple of HTML statements to the start and end of any report and then view it via any browser, either by manually typing in the FILE://<filename> URL into the browser, or by launching it via the MIAMEX Function 96 (under A-Shell/Windows), of via a terminal-emulator-specific ESC sequences (under A-Shell/UNIX). Refer to the ZTERM documentation for details if you are using ZTERM.
The minimum set of HTML statements needed at the start of a report file is the string "<HTML><BODY><PRE>" and the corresponding trailing command would be "</PRE></BODY></HTML>". You could accomplish this without any program modification by using the PREFIX and SUFFIX options in the printer init files (which see in this document), but you would then have to launch the browser manually. An even simpler solution (under A-Shell/Windows) is to print to a printer whose init file contains COMMAND=SBX:HTMLP. This will apply the HTML statements above and automatically launch the browser to view the file.
The approach above is only useful for local or directly connected users. To make content available via web pages to ordinary web browser users who have no other connection to your server, you can modify one or more programs to support a CGI interface.