Loading...
 

TikiWikiModuleTail

That module was really fast to write. It reads an indicated number of lines from the end of an indicated file. That file has to be readable py apache user obviously. It uses the file() php function, and no exec().


It's a module with parameters, they are indicated like for plugins, with a line of key=>value separated by commas (and alternatively by carriage return, very useful for display sake).

I used that module to display the tail -f of the logfile of my user on irc on TikiWikiDev (actually I use bitchx with log function in a screen on my remote server). So the only filter avalaible for now is an irc parser (filter=>irc) and an apache errors parser (filter=>apache_errorlog).

How to use it with the Module-Plugin

Using the module in a Wiki-page
Copy to clipboard
MODULE( module=>tail, align=>right, filter=>irc, file=>tails/tikiwiki.irc, title=>irc.freenode.net #tikiwiki, max=>12 )} {MODULE}


(note : it's okay to split module or plugin arguments on multiple lines)


Page last modified on Tuesday 13 September 2005 14:52:50 GMT-0000

Upcoming Events

1)  21 Mar 2024 18:00 GMT-0000
Tiki Roundtable Meeting
2)  25 Mar 2024 17:00 GMT-0000
29th anniversary WikiBirthday (With Ward Cunningham)
3)  18 Apr 2024 18:00 GMT-0000
Tiki Roundtable Meeting
4)  16 May 2024 18:00 GMT-0000
Tiki Roundtable Meeting
5)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9) 
Tiki birthday
10)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting