November 15, 2014 - Tech-Admin

NOTE: 3/10/2015 - Found that the University has re-configured their server to deny access to the cached notification page: "Forbidden - You don't have permission to access /wp-content/cache/rave-alert/index.html on this server." Disabled the cron job - no time for such games. {ead}

Notices that are displayed on gsu.edu are retrieved (once every 2 minutes), cached, and displayed on CoL intranet pages.

This message is shown on InsideLaw (using an 'include' in the theme header.php) and on templated pages on laws.gsu.edu and gsulaw.gsu.edu using a 'file_get_contents' command in /includes/top.inc.php

Monitor / display emergency notifications come from: http://www.gsu.edu/rave-alert (gives a blank page when no notification present).

Implementation

Cached using a cron job using script: https://insidelaw.gsu.edu/wp-admin/includes/cache_emergency.php

and cached into HTML file: https://insidelaw.gsu.edu/wp-admin/includes/notice.html

Added styles to the theme global.css on id and class: #rave-alert .alert

<div id="rave-alert">
<!-- wrapper (above) around included text (below) -->
<div class="container">
  <div class="alert alert-warning alert-warning-test">
    <div class="pull-right">February 4, 2015 2:57PM</div>
      <h4>System Test - </h4>
       This is a test of the Georgia State University PantherAlert - Emergency Notification System. This is only a test. No action is required. Thank you.
    </div>
  </div>
<!-- added: --> </div>

Tech History

The University stopped supporting RSS feeds for alert notices, but do cache notices to a web page on gsu.edu.

Feed available now broken? via https://www.getrave.com/rss/gsu/channel1

Also see the rave alert plugin on github (login required)

and... http://www.gsu.edu/wp-content/plugins/rave-alert/rave-alert-preview.php

 

Comments are closed.