Grumpus

msg:514420 | 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

msg:514421 | 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

msg:514422 | 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

msg:514423 | 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

msg:514424 | 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

msg:514425 | 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

msg:514426 | 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.
|
|