The JACoW Conference Website Scripts (written by Stefano Deiuri) is a set of PHP scripts that extracts data from SPMS and generates a series of HTML and JavaScript files as an output.
Each of the directories for generating a page or a chart contains a file "make.php". This file is NOT INTENDED for executing it through a webserver, it is enough to have php-cli and execute it from time to time using e.g. Cron Jobs. Depending on the type of scripts the time between executions can vary. I suggest to updated the abstracts chart every 60 minutes, other Charts like the scientific program should be generated once per day.
Example how to execute the script from the command line to generate an "Abstracts" chart:
After that the file "../html/ChartAbstracts.html" can be embedded into the conference website. Example using an iframe:
The config.php file contains several options. One can change the output directory ("OUT_PATH") and the temporary directory ("TMP_PATH") of the scripts to accommodate the structure of the conferences webserver. Also the charts width and height ("CHART_WIDTH", "CHART_HEIGHT") can be changed to fit the conference website. Also the URL to the SPMS instance to extract the data and a passphrase (the same entered in SPMS) need to be placed in the config.php file, as well as the name of the confernce.