Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Bolding search terms ... which might be URLs?

by mr_mischief (Monsignor)
on Mar 11, 2011 at 06:07 UTC ( #892590=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/local/bin/perl
    ...
    }
    
    print "\n\n";
    
  2. or download this
    
    I have a simple, site-specific search engine.
    ...
    So, say the user has searched for "perlmonks" and the page contains "y
    +ou should all go to http://perlmonks.org/?node_id=;user=, it's great!
    +".
    We find the term in the database, we bold it, we render the URL clicka
    +ble and display it to the user, but at this point, the HTML has becom
    +e this:
    
  3. or download this
    
    
    ...
    
    
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-07-06 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls