Ethereal-dev: RE: [Ethereal-dev] RFQ - Print as HTML

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 5 Jan 2004 10:01:03 +0100
| From: Ulf Lamping
| 
| Fulvio Risso wrote:
| 
| >Hi Olivier.
| >
| >It seems to me that you're going to rewrite Analyzer ;-))
| >
| >Analyzer is able to export files in HTML.
| >It saves the PDML and it adds, in the same folder, a couple 
| of other files
| >(XML style sheet, CSS) so that everything is displayed as 
| HTML in a normal
| >browser (ehm... Internet Explorer only, so far).
| >  
| >
| I wouldn't call IE a normal browser, especially if you are 
| talking to an audience of mixed windows/unix users.

As long as you stick with as-standard-as-possible output,
I don't see a problem here.

| Do XSL stuff with the current Mozilla/Netscape versions 
| shouldn't be too hard, if you code your things for it.

That's the only way to do this, I think. If you want to save
to HTML, you'll have to select *an* HTML format (including
the layout, preferably with a cascading style sheet).

| I have done some experiments with the IE and the Mozilla 
| XSL(T) engine for a different project, and it worked ok for me.
| 
| But every browser has it's edges, as we all now ;-) and IE 
| has lot's of them :-(
| 
| >To do that properly you should add support for PSML files, 
| i.e. a file that
| >keeps the *summary* of the capture (basically, what Ethereal 
| displays in the
| >window that lists all the packets in the capture).
| >
| >It may be an excellent idea to share the efforts to print 
| packets in HTML between Analyzer and Ethereal.

This sounds fun!

Regards,

Olivier