From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2006-03-03 16:14:56
|
I guess anyway to get a 'pure' text table would be expensive. Whether sprintf was used or space padding the columns manually.. i.e " " x ($ColSize - len($DataSize)). Some of my biasness aginst the HTML, is the BB alert emails we get are not very pleasant to read since the emails are text format. And I am just anticipating once I get these spiffy new devices monitored, and the pretty reports. Requests for trending will soon follow. Guess I could have my larrd script filter out the HTML first...=20 > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Schwimmer, Eric E *HS > Sent: Friday, March 03, 2006 10:54 AM > To: dev...@li... > Subject: RE: [Devmon] Templates: Message - TABLE >=20 >=20 >=20 > Would this be for multi column formats? If so, would they > have to be aligned? that many sprintf statements would be expensive. >=20 > -Eric=20 >=20 > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf=20 > > Of Aiello, Steve (GE, Corporate, consultant) > > Sent: Friday, March 03, 2006 10:46 AM > > To: dev...@li... > > Subject: [Devmon] Templates: Message - TABLE > >=20 > > I was curious if there is a non-HTML TABLE format. Some of > > the reports > > I do, it is prefered not to do it with a HTML table. If not,=20 > > I would be > > happy to put something together. I can just peak at your=20 > code for how > > the existing TABLE format is generated. > >=20 > > General format I would think for a TABLETXT format would to > > loop through > > headers & row data text sizes to come up with the maximum=20 > > column length. > > The generate the text table with a '-------' line between=20 > > header & data > > rows. > >=20 > > Steven > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend=20 > > the live webcast > > and join the prime developer group breaking into this new=20 > > coding territory! > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support >=20 |