[ Show as SlideShow ]

How to Integrate SPMS Data into Your Conference Website

Contact: Kyung Sook Kim (Pohang Accelerator Laboratory)

This session shows how to pipe SPMS data in your conference website using PHP script. Following description is based on the experience of IPAC'16.

Basic Procedure and Scripts

Main scripts - conference.php

Industrial booth status - png.php

Required booth map and coordinates

Generated booth map and SPMS

Charts and List of Participants

  • participants
    Output: Participants.html
    Dependency: "Include Registrants on List Of Participants Report" flag in the registration page properties page of SPMS.

Scientific Program

Execution on website using cron jobs

  • Run script
  • [root@#localhost ~]# crontab -l
    */1 * * * * /var/www/html/jacow_spms_cws/cron.sh
    */1 * * * * /var/www/html/jacow_spms_cws/iemaps/png.sh
    * */1 * * * /var/www/html/jacow_spms_cws/scientific_programme/make.php

References

Ivan Andrian, "Piping SPMS Data to Conference Websites", 2014 Team Meeting CWS README