the modify.pm is only an example - you can change it how ever you want,
exept these two lines
package BlockReport::modify;
sub modify {
and the behavior, that it accepts the complete BlockReport as argument -
and it returns the complete modified BlockReport.
There is no need to use the example makeRe structure.
Thomas
Von: K Post <nntp.p...@gmail.com>
An: ASSP development mailing list <assp-test@lists.sourceforge.net>
Datum: 17.01.2011 17:14
Betreff: Re: [Assp-test] block report, modify, makeRe help
A couple more questions:
Do you have a suggestion on how to modify >only< the subject and not the
extra froms. Modifying the .css to alter strong is fine, but that affects
the from addresses too. Is there a non-greedy regex that makeRe could
use
like finding [.*]??
Second, FYI, setting the rightlink width to 0 doesn't seem to work, I
needed
to set padding and border to 0 (settings that were inherited).
display:none; works in a webbrowser, but Outlook is too supid to interpret
this correctly. Good enough for me.
<td class="rightlink">
</td>
still appears in my reports with
&makeRe("<td class=\"rightlink\">\n<\/td>") => '',
in the modify.pm
Modify.pm definitely works for other replacements.
&makeRe("<th colspan=\"3\"") => "<th colspan=\"2\"", doesn't seem to work
either. Nor does
&makeRe("<br \/><span class="spam">spam reason: <\/span>") => "",
I can't imagine what I'm doing wrong there.
Thanks for helping with this seemingly petty stuff.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test