Conference Website Dynamic Data Inclusions, Conference Tools, and Information ScreensStefano Deiuri - Elettra-Sincrotrone Trieste S.C.p.A.
This talk will showcase the variety of SPMS generated reports which can be included in your conference website and are automatically updated as data evolves is your SPMS instance. A number of useful applications for poster police, doting boards, and other information screens will be showcased.
SchemeAttach:cws2-schema.png In this scheme the CWS server and Web server are separated but in case you manage the website these can also coincide.
InstallationClone the package to your server (ex. /var/www/html/) with this command git clone https://github.com/JACoW-org/CWS.git CWS To run the scripts you need a web server that support php!
Directory structure
ConfigurationThe configuration file config.php is available in the root of the package.
Global configurationSome global parameters shared by the scripts have to be configured in the global section of the configuration file. define( 'ROOT_PATH', '/var/www/html/jacow-spms-cws' );
cws_config =array(
'global' =>array(
'conf_name' =>'IPAC18'
'conf_url' =>'http://ipac18.org'
'spms_url' =>'https://spms.fnal.gov/pls/ipac18'
'root_url' =>'http://ipac18.org/cws'
'spms_passphrase' =>' see @ SPMS / System parameters / Web configuration page '
'cws_timezone' =>'Canada/Pacific'
'date_start' =>'2018-04-29'
'date_end' =>'2018-05-04'
....
Script configurationEach script has its own section in the configuration file, usually it is not needed to change the default values.
SPMS configuration for Registrants' ChartDependency: "Include Registrants on Statistical Reports" flag in the registration page ( Attach:PHP_Reg_Statistics_SPMS.png
SPMS configuration for Participants PageDependency: "Include Registrants on List Of Participants Report" flag in the registration page properties of the SPMS. Attach:PHP_LoP_SPMS.png
CronThe data into the SPMS are continuously updated so the scripts must be executed periodically. To simplify this task the package provides the script cron.php that reads the configuration file and executes each script at the right time. The global setting cron_enabled enables or disables this script. The cron parameter available in the script section of the configuration file controls when to run it.
'spms_stats_importer' =>array(
'cron' => '*:*' // the script is run each minute
'spms_importer' =>array(
'cron' => '*:00' // the script is run each hour at minute 00
'make_chart_registrants' =>array(
'cron' => '*:05' // the script is run each hour at minute 05, after the new data are imported
to disable the automatic execution of a script, use: 'cron' => false // the script is not run
Index pageThe script index.php available in the root of the package gives you access to the contents of the different scripts. Attach:cws2-index.png
ChartsThese scripts processes data collected from the SPMS and produces two files (HTML and Javascript) to render the chart. (by way of Google API) Template files are used to simplify the integration with the conference website
Abstracts Submission ChartScript: make_chart_abstracts Attach:cws2-make_chart_abstracts.png
Papers Submission ChartScript: make_chart_papers Attach:cws2-make_chart_papers.png
Registrants ChartScript: make_chart_registrants Attach:cws2-make_chart_registrants.png
Participants PageScript: make_page_participants This page summarizes the data of the recordings, it includes these elements:
Attach:cws2-make_page_participants.png
Programme PageScript: make_page_programme The script produces:
Day viewAttach:cws2-programme-01.png
Day view - with abstractAttach:cws2-programme-04.png
Day view - session expandedAttach:cws2-programme-03.png
Poster Police AppScript: app_poster_police This is the only script sending data to the SPMS, for this reason an access password is required, and must be set in the relevant section of the configuration file. This is a tool to collect information about the posters - needed for the production of the proceedings
Login pageAttach:cws2-poster_police-00.png
Home page - day chooserAttach:cws2-poster_police-01.png
Day view - session chooserAttach:cws2-poster_police-02.png
Session overview - poster chooserAttach:cws2-poster_police-03.png
Poster detailsAttach:cws2-poster_police-04.png
Proceeding Office Status PageScript: page_po_status This page provides several charts that allows to monitor how the work proceeds in the Proceedins Office.
HistoryAttach:cws2-page_po_status-01.png
SummaryAttach:cws2-page_po_status-02.png
Paper Hourly RatesAttach:cws2-page_po_status-03.png
Paper Daily RatesAttach:cws2-page_po_status-04.png
Editors Top 10 (Paper)Attach:cws2-page_po_status-05.png
Editors Top 10 (QA)Attach:cws2-page_po_status-07.png
QA Daily RatesAttach:cws2-page_po_status-06.png
Paper Processing Status PageScript: page_edot The SPMS provides a similar page, but this can be more easily customized.
Attach:cws2-page_edots.png
Paper Status AppScript: app_paper_status This page allows to quickly check the status of a paper processings. A QRcode available on the screens of the "Paper Processing Status" allows easy access to this page.
The requests on this page were:
Thank you!That's all folks!
|