Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(ichi) Re: Skipping HTML tags using the "get_token" method with HTML::TokeParser module

by ichimunki (Priest)
on Mar 14, 2002 at 19:14 UTC ( #151790=note: print w/ replies, xml ) Need Help??


in reply to Skipping HTML tags using the "get_token" method with HTML::TokeParser module
in thread Skipping HTML tags with HTML::TokeParser

Same as above, only instead of

while( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] eq 'a' ) {
use something like
while( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] =~ /zindex/ ) {
Although I've never heard of the zindex# tag for HTML, so I can't say whether HTML::Parser catches it.


Comment on (ichi) Re: Skipping HTML tags using the "get_token" method with HTML::TokeParser module
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://151790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-07-29 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls