The module is now obsolete. New frameworks such as comet or HTML5's websockets should be used instead.

Live Update is a module that provides a flexible and scalable to provide up to date in content to users without requiring page refreshes. Live Update uses JQuery to poll lightweight text files that tell the users' browser if new content is available. If so, JQuery then makes another call to get the updated content stored as static HTML.

A blog post detailing how one might use this API to set up a Question and Answer (similar to our PBS Engage work) scenerio is here

API

Live Update provides a simple API for modules hook into and allow Drupal to store, retrieve and insert content updates of all kinds. The API breaks down into two basic functions:

Telling the browser how and where to look for updates and what do to when you found them.
live_update_initialize($element, $settings)
Telling Drupal to record a new content update.
live_update_update_content($element, $html, $settings)

Live Update Modules

This module provides Live Update functionality for:

  • The default Drupal front page available at /node
  • Drupal blog available at /blog
  • Drupal comments systems, displayed on any full page node view with comments enabled.

These modules not only provide useful functionality, they server as great examples to harness the power of Live Update API.

This module was part of the PBS: Engage project developed by ChapterThree LLC.

Project Information

Downloads