SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
SI - Site Forums : Test Your HTML Here Before You Post It!

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Dan Merfeld who wrote (1782)1/2/1998 11:36:00 AM
From: David Lawrence  Read Replies (2) of 5408
 
Okay, once more into the affray....

You can not add color directly to a message. However, the SI internal search engine is designed to display messages with the search keywords highlighted in bold red. In other words, if you search the message database by using the full text seach option at the bottom of the page, and then click on one of the URLs in the resulting list, the keywords you specified will be highlighted in bold red. With me so far?

So, how is that done, you ask? SI messages are stored in a database, not has HTML forms. When you request to view a particular message, it's content is extracted from the database and a temporary HTML page is constructed "on the fly" - that's what you see downloaded to your browser. The URL to access these pages can take different forms: ordinal, which uses a thread-number/message-number format; sequential, which uses the message's sequential database record number; and search format, which specifies search keywords and a sequential message number. We use the latter to generate red text, however, we don't have to use the search engine, only the style of URL that it generates. Clear as mud? I thought so.

For purposes of illustration, I'll stick a spaces in after "http:" so you can see the full URL's since the SI HTLM generator abbreviates long URLs.

Anyway, your message to me was....
http: //talk.techstocks.com/~wsapi/investor/reply-3076972
Message 3076972

If I want to highlight certain words, I would construct the URL as follows:

http: //talk.techstocks.com/~wsapi/investor/reply?s=thick+headed+german&sreply=3076972
techstocks.com

That's all there is to it. Sorry, no green.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext