The method used for interfacing the bot with the web will depend on the setup up of the webserver.
Simple:
A. Webserver and bot on same machine
B. Webserver and bot on seperate machine but mysql server is remotely accessable by the webserver
Not quite as Simple
C. Webserver and bot on different machines, no mysql access from webserver
A and B require no modification of the bot to accomplish
C would require a file containing all of the information for the website to be written to disk and uploaded on a regular basis.