Title: extracting the body of the requested html file into a variable

Hello,
I have documentation in plain html files in a directory tree.
I use autohandler in the root directory to:
  extract the body of the requested html page (remove the header, etc.)
  add my own header and navigation

To put the content of the requested html file into the $doc_text variable, I do the following:

         my $path = $m->request_comp()->path();
         my $doc_text = $m->scomp($path);

Is there a simplier more direct way of doing this ??

Warmest Regards
Lev Selector
212-670-2569


If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to