Bam wrote on 26 feb 2008 in microsoft.public.inetserver.asp.general:
Hey all. Hope everyone is doing fine.
Question...
I know how to display results that contain html code on a page. (ie.
<br<b>...)
what i would like to know, is if a result contains bbc code (ie..
[code] [url]..)
I often listen to the BBC, those are not their words. ;-)
how would i display that to be readable?
Isn't displaying a browser thing?
ASP runs serverside so does not display anything.
This is not for a forum, but would be the same as if i was writting a
forum.
wher you want to use it for?
I think there is a script that the page has to contain to be
able to read it correctly, but I can't find it.
A script where?
You/one could write an ASP-vbs or ASP-js script converting a text file or
textstream any way you choose and then sending the resulting stream down
the line tot the browser for display. That is an essential part of what
ASP and other serverside coding is all about.
or can i be directed to the correct NG to post this. Not sure where i
would need to post.
Do you want to tackle this serverside with one of the ASP languages?
ASP-vbs perhaps:
t = replace(t,"
- ","<script type='text/javascript'>")
-
t = replace(t,"
","</script")
"there is a script"? Where? On the web? Perhaps someone already did some
work on this, but I have never seen that.
Why not write decent HTML in the first place?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)