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) 
Tiki birthday
2)  19 Oct 2023 14:00 GMT-0000
Tiki Roundtable Meeting - October
3)  16 Nov 2023 14:00 GMT-0000
Tiki Roundtable Meeting - November
4)  21 Dec 2023 14:00 GMT-0000
Tiki Roundtable Meeting - December
5)  18 Jan 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  15 Feb 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  21 Mar 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting