Welcome,
Just thought I would start the ball rolling on a development discussion about a Text Reader plug-in. I have a vision... And here it is.
While a test reader plugin itself probably shouldn't be a hard thing to do. What I think would make this plug-in really special is the ability to parse a text file for valuable information, and provide user configurable plug-in variables.
The way I see this working, (and I'm no programmer, so feel free to flame me ), is that The plugin itself loads some sort of configuration file which tells it how to parse the information, and what variables to assign it to. This would need to be loaded at startup, and I'm unsure as to how LCDinfo would handle this as the variable would need to be assigned within the plug-in before LCDinfo checks for plugin variables? (Henri, any idea's?) *Edit: OK, I just looked at the Starting a plug-in post Henri provided
http://forum.lcdinfo.com/viewtopic.php?t=448, and I think there shouldn't be a problem with the config file, as there is space provided for Plug-in startup stuff... But... I could be wrong..
The idea is to start with something basic but utilising the concept above. This would open up the plugin for future expansion. Further parsing code could be added, allowing more complex information to be retrieved as more time can be devoted to the development.
Basic parsing code to start with could include:
Line (number)
Tab delimiting (Tab column number)
Comma delimiting (comma column number)
Text labels
In the future, things could be expanded to include:
Date/time lookups
XML tags
And anything else the LCDinfo community can think to add.
With the config file idea, it might also be possible to handle multiple text file handling from the same plugin instance with the config file grouping particular variables and parsing data with a particular file.
OK... Now for the reasons... A text reader plug-in with these features could be used to collect a wide variety of data, and could actually be used to replace the need for multiple plug-ins which basically do the same thing. Reading log files to provide firewall and secuity data, reading your IM client log files to show msgs from a specific contact. Reading any sort of log file can provide a great deal of information that currently isn't available on LCDinfo. Hmm... The possibilities are endless... Think of all of those plain text files on your computer, and what info is in them.... Ok OK... I'm getting a little excited about those possibilities... Thats why I'm a geek.
Anyway... Discuss, flame, invent, think outside the box.
The possibilities... Hmmm Amasing...
Hmmm geek.. yes...