🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1041

Re: how to convert text to html

#1041
From: viv
Date: Thu, 15 Sep 2005 10:34
34 lines
1491 bytes
Hi Hans,

Yes, you are write.Your  proposed  code will work.
But suppose I have the text/graphics as follows:

Hello james,
How are you?

then it should convert is as follows:

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<P>
<B><I><U>
<FONT face=Verdana>Hello james,</FONT>
</U></I></B>
</P>
<P>
<FONT face=Arial>How are you?</FONT>
</P>
</BODY>
</HTML>


How to do this?

It should also work for any graphics/images.

Thanks,

Viv.
Technical Details
Message-ID: <43294df8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43280c18$1@newsgroups.borland.com> <43281c12$1@newsgroups.borland.com> <4328edb6$1@newsgroups.borland.com> <43292dfb@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7e03cd2599fed9
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "viv" <getvivek_2000@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <43280c18$1@newsgroups.borland.com> <43281c12$1@newsgroups.borland.com> <4328edb6$1@newsgroups.borland.com> <43292dfb@newsgroups.borland.com>
Subject: Re: how to convert text to html
Date: Thu, 15 Sep 2005 16:04:39 +0530
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 59.182.8.191
Message-ID: <43294df8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126780408 59.182.8.191 (15 Sep 2005 03:33:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail