EXAMPLES

The following examples show output from the channel with the most users in it I could find on EFNET (which happened to be a warez channel). Here we apply different cascading stylesheets to vary the look of the output:

  % ./irclog-xml.pl \
  -irc-log-format=mirc \
  -xml-discard \
  -xsl-output-file=mirc_default.html \
  doc/ex_mirc.log

view output

  % ./irclog-xml.pl \
  -irc-log-format=mirc \
  -xml-discard \
  -xsl-output-file=mirc_greyed.html \
  -xsl-param-css=css/greyed.css \
  doc/ex_mirc.log

view output

  % ./irclog-xml.pl \
  -irc-log-format=mirc \
  -xml-discard \
  -xsl-output-file=mirc_blackgrey.html \
  -xsl-param-css=css/blackgrey.css \
  doc/ex_mirc.log  

view output

  % ./irclog-xml.pl \
  -irc-log-format=mirc \
  -xml-discard \
  -xsl-output-file=mirc_plain.html \
  -xsl-param-css=css/plain.css \
  doc/ex_mirc.log 

view output

The next two examples are from BitchX, from a less noisy channel than used in the examples above. Instead of applying a different cascading stylesheet to change the look, we'll use the default XSLT sheet, and then contrast that with another XSLT sheet that strips out all the noise and leaves only chat and topic messages. First the default:

  % ./irclog-xml.pl \
  -irc-log-format=bitchx \
  -xml-discard \
  -xsl-output-file=bitchx_default.html \
  doc/ex_bitchx.log

view output

Here we apply the XSLT stylesheet chatonly_html.xsl, which removes all events except normal chat and topic:

  % ./irclog-xml.pl \
  -irc-log-format=bitchx \
  -xml-discard \
  -xsl-stylesheet=chatonly_html.xsl \
  -xsl-output-file=bitchx_chatonly.html \
  doc/ex_bitchx.log

view output

Colorization of particular nicks is also possible:

  %./irclog-xml.pl \
  -irc-log-format=bitchx \
  -xml-discard \
  -nickcolors=doc/ex_nickcolors.xml \
  -xsl-output-file=bitchx_nickcolors.html \
  doc/ex_bitchx.log 

view output
ex_nickcolors.xml

You can specify all the standard html FONT tag attributes to decorate a matching nick. By specifying attributes in the <nicks> element, you can also set default FONT attributes for nicks that don't match any of the <nick> elements.

  %./irclog-xml.pl \
  -irc-log-format=bitchx \
  -xml-discard \
  -nickcolors=doc/ex_nickcolors2.xml \
  -xsl-output-file=bitchx_nickcolors2.html \
  doc/ex_bitchx.log 

view output
ex_nickcolors2.xml

SEE ALSO

http://irclog-xml.sourceforge.net

AUTHOR

<ruf_ruf@users.sourceforge.net>