homepage Welcome to WebmasterWorld Guest from 54.234.141.47
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Local / WebmasterWorld Community Center
Forum Library, Charter, Moderators: lawman

WebmasterWorld Community Center Forum

    
Highlighted Searchwords on webmasterworld.com
If you come from a searchengine, webmasterworld.com highlights the keywords
Chriss74

10+ Year Member



 
Msg#: 1017 posted 6:28 pm on Mar 11, 2003 (gmt 0)

Hi Forum,

I just came here to webmasterworld.com via google. And I'm impressed, that all searchwords, which I typed in google, are highlighted on webmasterworld! That is a very interesting function.

I would like to have such a function on my website, too! Can anybody help me? Where can I find a script, which implement this function to my website?

Thanks a lot! And I'm very happy to have found your fantastic site. I already learned a lot.

Chriss
Germany

 

Grumpus

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1017 posted 6:31 pm on Mar 11, 2003 (gmt 0)

That is pretty clever, Brett. :) I know how you do it, so I won't go spoiling it for ya if you don't want yer secret out. Really nifty stuff, though.

G.

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1017 posted 7:16 pm on Mar 11, 2003 (gmt 0)

Well, it's not rocket science, but it is specific science. It's built into the board. I don't think there would be a way to make a script generic enough to work with very many web sites.

andreasfriedrich

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1017 posted 8:30 pm on Mar 11, 2003 (gmt 0)

>>I won't go spoiling it for ya

I don´t believe this is exactly a secret. Anyway, since I do not know how Brett does it I felt free to post how I do it. Have a look at Bag-O-Tricks for PHP II - some code snippets that should be helpful for all in creating dynamic sites - Highlighting Search Terms [webmasterworld.com]

Andreas

Marcia

WebmasterWorld Senior Member marcia us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1017 posted 10:00 pm on Mar 11, 2003 (gmt 0)

>>I just came here to webmasterworld.com via google.

Then the good times have just begun! Welcome to WebmasterWorld, Chriss - glad to have you here with us.

Chriss74

10+ Year Member



 
Msg#: 1017 posted 8:44 pm on Mar 12, 2003 (gmt 0)

Thanks Marcia!
I'am very glad to have found this board!

@andreasfriedrich: Thanks to Berlin! Danke für Deine Hilfe. Für dynamisch generierte Seiten ist es tatsächlich einfach umzusetzen. Für meine statischen Seiten muss ich mir da wohl noch was einfallen lassen, oder?

Chriss
Germany

andreasfriedrich

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1017 posted 2:42 am on Mar 13, 2003 (gmt 0)

>>Danke für Deine Hilfe. Für dynamisch generierte
>>Seiten ist es tatsächlich einfach umzusetzen.
>>Für meine statischen Seiten muss ich mir da wohl
>>noch was einfallen lassen, oder?

For all those who for whatever reasons do not understand German: Thanks for your help. Highlighting search terms is indeed easy to implement for dynamically generated pages. It seems that this requires a bit more thought for my own static pages, doesn´t it.

If your pages are truly static as in simple HTML pages then there is little you can do if you want to keep serving these static pages in a static way. You might however, want to have a look at Bag-O-Tricks for Perl - Let´s collect some nice and useful perl scripts - Highlighting Search Terms on Static Pages [webmasterworld.com] which uses mod_rewrite [httpd.apache.org] and a Perl [perl.com] script to highlight search terms.

Andreas

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1017 posted 3:09 am on Mar 13, 2003 (gmt 0)

That's only if you want to do it in post processing Andreas. Pregenerating and then substituting is not that good an option as it causes tons of system load by the memory usages. It's why all those with some forum software get kicked off their host when they hit 20-30k a day. Properly done in a cgi environ to me, means generating on the fly.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Local / WebmasterWorld Community Center
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved