home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 842 of 2,753   
   Joachim Pimiskern to Das moderator   
   Re: Parsing HTML : I would appreciate ad   
   15 Nov 06 00:12:16   
   
   From: JoachimPimiskern@web.de   
      
   Das moderator schrieb:   
   > [There's a bazillion HTML parsers available.  I write most of my stuff   
   > in perl these days, so I like the HTML::Parser package which could   
   > easily do what you want. -John]   
      
   For an example of how to use HTML::Parser, see   
   http://www.augos.com/temp/MyHtmlParser.pm   
      
   You would use this class like:   
      
   $o = MyHtmlParser->new();   
   my ($title,   
       $meta_keywords,   
       $meta_description,   
       $meta_robots,   
       $words,   
       $links,   
       $cached)= $o->analyze($html);   
      
   where $html is a string that contains   
   the HTML page.   
      
   Regards,   
   Joachim   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca