Not 100% sure what you are after, but you can always warp any text file with the following - will display in most browsers!
<html> <body> <pre> --- the contents of the text file ---- </pre> </body> </html> You need to make sure you escape these characters in the contents: < becomes < > becomes > & becomes & There is a whole list of other escapes you can use, but with most browsers the above 3 seem to be all that is needed. Dennis. ----- Original Message ----- From: "Alistair George" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 9:09 AM Subject: Re[2]: [DUG]: Textfile display on web page > Hello James(Jim), > Sorry - but what would the html code be for getting this to display?? > > > > Thursday, July 24, 2003, 8:37:26 AM, you wrote: > JJS> On my local IIS http://localhost/version.txt seems to work > > JJS> -----Original Message----- > JJS> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > JJS> Behalf Of Alistair George > JJS> Sent: Thursday, 24 July 2003 8:03 a.m. > JJS> To: Multiple recipients of list delphi > JJS> Subject: [DUG]: Textfile display on web page > > JJS> You can display a graphics file easily enough in html on a web page, but > JJS> how do > JJS> you display a textfile on a web page? > JJS> I want to display each new version and date of my software which is in a > JJS> textfile > JJS> on a web site (version.txt). Myprogram links to it for update > JJS> information, so it > JJS> makes sense to use that info as well on the programs web page. > JJS> Anyone know how? html code please. > JJS> Al+ > > JJS> ----------------------------------------------------------------------- - > JJS> --- > JJS> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > JJS> Website: http://www.delphi.org.nz > JJS> To UnSub, send email to: [EMAIL PROTECTED] > JJS> with body of "unsubscribe delphi" > JJS> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > JJS> --- > JJS> Incoming mail is certified Virus Free. > JJS> Checked by AVG anti-virus system (http://www.grisoft.com). > JJS> Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003 > > > JJS> --- > JJS> Outgoing mail is certified Virus Free. > JJS> Checked by AVG anti-virus system (http://www.grisoft.com). > JJS> Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003 > > > JJS> ----------------------------------------------------------------------- ---- > JJS> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > JJS> Website: http://www.delphi.org.nz > JJS> To UnSub, send email to: [EMAIL PROTECTED] > JJS> with body of "unsubscribe delphi" > JJS> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > -- > Regards, > Alistair+ > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
