🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to convert text to html

#1233
From: viv
Date: Wed, 14 Sep 2005 11:41
34 lines
1422 bytes
Hi there,

I am using Borland C++ Builder 6.

I want to convert text to html.

For example if i am having the text as follows:

Hello james,
How are you?

then it should be converted to html as follows:

<html>
<head>
<title></title>
</head>
<body>
<p>Hello james,</p>
<p>How are you?</p>
</body>
</html>

It should work as frontpage editor.
i.e when we type any text in normal tab of front page the corresponding htlm 
code is genrated in HTML tab.

How to do this?

Please suggest any way to do this.

Thanks,

Viv. 
Technical Details
Message-ID: <43280c18$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7e03cd2599fed9,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "viv" <getvivek_2000@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: how to convert text to html
Date: Wed, 14 Sep 2005 17:11:24 +0530
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 59.182.16.71
Message-ID: <43280c18$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126698008 59.182.16.71 (14 Sep 2005 04:40:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail