<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Ceki</div><div><br></div><div>Thanks for the prompt reply.</div><div><br></div><div>So you are suggesting to write a small Custome CSS Builder for both configurations?</div><div>They are probably quite trivial and we'll try; do you see such CSS Builder ever make it into the official release?</div><div><br></div><div>If so, should we raise a JIRA? and provide the sample code?</div><div><br></div><div>Thanks</div><div><br></div><div>Benoit</div><div><br></div><div>-----</div><div><br></div>Hi Benoit,<br><br>Including the CSS in a jar file and then including it via a custom&nbsp;<br>CssBuilder should not be a problem. Try to write one and see how it goes.<br><br>As for ExplicitCssBuilder, &nbsp;I think all you need is to define a String&nbsp;<br>property called "cssTest", the rest should be automatically taken<br>care of by logback/joran.<br><br>Holler if you run into trouble.<br><br>--<br>Ceki<br><br><br>On 09/02/2011 11:39 PM, Benoit Xhenseval wrote:<br><blockquote type="cite">Hi *<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Our flagship product has been using SLF4J for years but we're switching<br></blockquote><blockquote type="cite">to LogBack and so far...loving it!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">We have a question about the CSS builder we could be using for HTML emails.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">We noticed the DefaultCssBuilder and the UrlCssBuilder, however is there<br></blockquote><blockquote type="cite">a way to either include the CSS in a jar file, or to specify the CSS in<br></blockquote><blockquote type="cite">the XML file directly?<br></blockquote><br><blockquote type="cite">Something like:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp;&nbsp;&nbsp;&lt;cssBuilder &nbsp;class="ch.qos.logback.classic.html.*_ExplicitCssBuilder_*"&gt;<br></blockquote><blockquote type="cite">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- url where the css file is located --&gt;<br></blockquote><blockquote type="cite">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cssText&gt;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">...the CSS Text itself....<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cssText&gt;<br></blockquote><blockquote type="cite">&nbsp;&nbsp;&nbsp;&lt;/cssBuilder&gt;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is it something that exists or something that somebody would be willing<br></blockquote><blockquote type="cite">to provide code or guidelines?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Many thanks<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Benoit<br></blockquote><blockquote type="cite">Appendium Ltd<br></blockquote><blockquote type="cite"><br></blockquote><br><br>------------------------------<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: arial; font-size: small; "><br class="Apple-interchange-newline">--&nbsp;<br>IMPORTANT NOTICE This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.</span></span>
</div>
<br></body></html>