The actual notification
The settings
more settings
Post to the socket (notify all the clients)

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

HTML5 desktop notifications from your drupal site?

Let your users be notified LIVE from events (configurable per user role).
In the configuration section you can configure a socket server.
It will connect al your clients to this socket server.
You can also configure which roles should subscribe to which socket messages.

Configurable settings:

- socket server to connect to
- html5 notification options (sticky/image/url/close timeout/...)
- which channels a given role connects to

html5 desktop notifications

Uses the native HTML5 desktop notification api.

Supported browsers

At the moment: Chrome, Firefox, Opera and Safari

Message formatting

The socket server should send the message in the following format:

{
"title" : "I am the title", 
"description" : "I am the description", 
"image" : "notification_image_url", 
"sticky" : false, 
"silent" : false,
"sound" : "custom_mp3_file",
"autoClose" : true,
"autoCloseTime" : 3000,
"url": "http://url_to_go_to_when_clicked"
}

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • Created by wouters_f on , updated