you can add the tags and text to a string e.g.

mystring = "<html><body>" etc
mystring = mystring & sometextvariable
mystring = "</html></body>"

then export your string to a file using fileio.

you can then upload the file.

it also helps to make formatting strings beforehand and get them from a list, e.g.

tabletags = [#table:"<table>", #beginrow;"<tr><td>" , #endrow:"</td></tr>", #endtable:"<table>"], etc

it makes large amounts of formatting easier to read and debug after.

hth

Julian

On 13 Jul 2005, at 17:58, JOHN HART wrote:
I have  plain text in a field, in a projector. Is there any way, using
Lingo or Javascript, to extract the plain text and create a new html
page from that text?  My next step would be to upload the html page to
a server using something like DirectFTP.  The goal is to automatically
extract the text, convert to HTML, and have it appear live on the web.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to