Ye, but you might want to make sure and wait for someone else here to confirm this as I am not sure. Better yet, why don't you email the iPage guys because they can give you an answer better...
Giz, I know what RTF is, I was wondering how it was layed out eg. all 1 line or in a readable manner. also he said RTF stream.... what is a RTF stream?? not an RTF document...
What is a RTF stream??.
Hi guys -.
Sorry about the confusion -.
What I meant by an RTF stream is simply a stream of characters in the database -.
There is no formatting in the database, just a line of text.....
Its up to the program that reads this stream to intereptet this stream and display it as needed.
Thanks for the help.
Ok that sounds a little better. so do you have asmaple of this stream? is it seperated by something, eg. : or , or |.
If it is not seperated by anything then it will be real hard to seperate it..
The DB should be setup so the data being inserted will be in a readable manner. just makes thing worse on the other end if it is not. like you are finding out...
Hi all -.
Here is the exact line as it is in the database.
<PRE>this is a test for tony</PRE><PRE>&nbsp;</PRE><PRE><STRONG>this is a test for tony in bold</STRONG></PRE><PRE><STRONG></STRONG>&nbsp;</PRE><PRE><FONT color=#ff3300>this is a test for tony in red</FONT></PRE>.
Note - there is no delimiters or anything like that -.
Can get this entire string into a variable,.
I simply want to display this string in a label, textbox or something (thats the key) that can handle the formatting and render it as it would look in a RTF viewer.
Thanks for all your help!!!.
Well, just put it into a variable and display it on the page just like that...
This is a test for tony.
This has nothing at all to do with RTF. RTF looks nothing like this. This is actually just "encoded" HTML. It has the text and the HTML tags already formatted in the data. The.
Is the < marker and the.
Is the > marker. The above resolves to:.
<PRE>this is a test for tony</PRE>.
Which when fed to a normal web browser will display as preformatted text, using the HTML tags supplied. Look in the data for.
Which is the paragraph marker,.
Which is a line break, and so on. I can see lots of HTML codes in the example above,.
, and so on...