Closed Thread Icon

Topic awaiting preservation: Need Help with Syntax Pages that link to <a href="https://ozoneasylum.com/backlink?for=12024" title="Pages that link to Topic awaiting preservation: Need Help with Syntax" rel="nofollow" >Topic awaiting preservation: Need Help with Syntax\

 
Author Thread
Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 01-29-2002 20:23

I'm working on adding a search program to my Web site and I'm trying to tweak certain bits. I've been pretty successful so far, but there's one thing I can't figure out how to add.

I prefix all my page TITLEs with the name of my site for the sake of external search engines (Google, etc.), but I would like to remove it from the results of my internal site search.

I've located where the TITLE clean-up occurs:

<BLOCKQUOTE><FONT face="Verdana, Arial">quote:</font><HR>
$file =~ s/^.*\/([^\/]+)$/$1/g;
$title

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 01-29-2002 22:05

$title =~ s/Texas Twisted \

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 01-30-2002 07:35

If text "Texas Twisted

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 01-30-2002 07:48

Ha HA! Beautiful -- it does exactly what I wanted. Thanks for the help, guys!


« BackwardsOnwards »

Show Forum Drop Down Menu