Rsslog

From CometVisu
Jump to: navigation, search

RSSLOG is a combination of a plugin and a feed generator to syndicate logged events as an rss feed.


Setup

Installation of php5-sqlite

  • either install the package php5-sqlite with the webif-package manager
  • use apt get at the console

rsslog.php

In recent version of CometVisu "rsslog.php" is already included with the plugin itself, for older versions it may have to be downloaded seperately:

Wiregate Plugin: rsslog

CometVisu

  • to display the content of the rsslog-feed in the cometvisu, the plugins have to be activated:
 <plugins>
   <plugin name="rsslog"/>
   ...
 </plugins>
  • to display the rss feed, the following code has to be inserted in the appropriate section
 <rsslog src="./plugins/rsslog/rsslog.php?state=0" filter="phone,bell" refresh="300" mode="last" timeformat="%d.%m. %H:%M">
   <label>Ereignisse</label>
   <layout rowspan="9" colspan="6"></layout>
 </rsslog>