today | current | recent | random ... categories | search ... who ... syndication

Friday, March 08 2002

From the "Thinking Out Loud" department : Mail::Audit::Weblog


=head1 SUMMARY

 use Mail::Audit qw (Weblog)

 my $mail = Mail::Audit->new();

 # use Mail::Audit to figure out

 # if we're interested in the message

 # here...


 # ?


 return 1;


package Mail::Audit::Weblog;

use Mail::Audit;

return 1;

package Mail::Audit;

# Maybe Net::Weblog::CommonAPI ?

use Net::Weblog;

sub post {

  my $self = shift;


  my $weblog = Net::Weblog->new(...);

  my $post   = $weblog->new_post();






  # Use power of Mail::Audit ($self) 

  # to assign additional categories

  # here...

  # ?


  # For sheer laziness, we could also

  # use Mail::XML and a write a SAX::Filter

  # for handing off to a $weblog->raw (?)

  # method. So, if we were using $self to 

  # auto-generate categories we would also

  # do $self->put(category1,$category) before

  # doing :

  my $xml    = "";

  my $writer = XML::SAX::Writer->new(Output=>\$xml);

  my $filter = Net::Weblog::Filter::MailToBlog->new(Handler=>$writer);

  my $parser = XML::SAX::ParseFactory->parser(Handler=>$filter);

  # Not actually sure Mail::Audit can do this


  # raw ??? Anyway, if you were into that sort of

  # thing you could forget about creating a $weblog

  # object altogether (not to mention $writer and $xml) 

  # and just pass your blog credentials to the $filter 

  # object and have it post the message when it 

  # encountered the end_document event...


  # Which doesn't look so lazy anymore...

  # The upshot, of course, is that you could bundle 

  # the above and use the code outside of your mail

  # filter.

  return 1;


return 1;

see also : hurl


Barrie Slaymaker :

This was pointed out after I mentioned my DTD -> SAX handler widget idea to someone, this morning. I confess that the syntax just confuses me but it's probably a good place to start.

refers to


Bob DuCharme : Reading Multiple Input Documents [in XSLT]

refers to


Dachb0den Labs : bsd-airtools

"is a package that provides a complete toolset for wireless 802.11b auditing. Namely, it currently contains a bsd-based wep cracking application, called dweputils (as well as kernel patches for NetBSD, OpenBSD, and FreeBSD). It also contains a curses based ap detection application similar to netstumbler (dstumbler) that can be used to detect wireless access points and connected nodes, view signal to noise graphs, and interactively scroll through scanned ap's and view statistics for each. It also includes a couple other tools to provide a complete toolset for making use of all 14 of the prism2 debug modes as well as do basic analysis of the hardware-based link-layer protocols provided by prism2's monitor debug mode."

refers to


Everytime you masturbate...

via leuschke

refers to


The random word of the day is : quiztory

the recording of a quiz night victory
ex. WOW,What a win by table number 8, this will surely go down in quiztory as the greatest win ever

refers to


The dictified word of the day is : lenity

Lenity \Len"i*ty\ (-t[y^]), n. [L. lenitas, fr. lenis soft, mild: cf. OF. lenit['e]. See {Lenient}.] The state or quality of being lenient; mildness of temper or disposition; gentleness of treatment; softness; tenderness; clemency; -- opposed to {severity} and {rigor}. His exceeding lenity disposes us to be somewhat too severe. --Macaulay. Syn: Gentleness; kindness; tenderness; softness; humanity; clemency; mercy. web1913
lenity n : mercifulness as a consequence of being lenient or tolerant [syn: {lenience}, {leniency}, {mildness}] wn

refers to


Thursday, March 07 2002 ←  → Saturday, March 09 2002