Results 1 to 6 of 6
Hi,
I am looking for some source package which will convert plain text file to html file without using perl.
I mainly need to do this on an ARM platform, ...
- 06-09-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 3
plain text to html without perl
Hi,
I am looking for some source package which will convert plain text file to html file without using perl.
I mainly need to do this on an ARM platform, so if I get sources I can cross compile it.
Thanks in advance,
Cheers,
Jai
- 06-09-2010 #2
you need a plain text file, converted to HTML ..... I'm confused. I could understand doing the reverse, taking html and ripping the plain text out of it, but plain text doesn't contain the things you would need to populate the HTML data.
Are you trying to make text files avaialble over HTTP??
can you explain a bit more about your objective?New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 06-09-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 3
my objective is to display a plain text in a browser. So I need to convert my plain text to html file to get it displayed in the browser
- 06-10-2010 #4Just Joined!
- Join Date
- Nov 2006
- Location
- near Berea, Kentucky (in a tipi)
- Posts
- 34
Have you tried displaying 'plain text' in whatever browser you're using? When I open a text file in Firefox or Konqueror, it displays perfectly.
Worst case you could just add something like HTML BODY to the top and /BODY /HTML to the end. Something that simple could be scripted, or written in C if you must...
Good luck,
Daniel
- 06-10-2010 #5
? No, you don't. The browser will display a text file, as is. E.G. if your document root is /var/www/html, and you put a copy of /etc/hosts in it, http://server/hosts will display the contents as text.
- 06-10-2010 #6
If all I want is a simple html page, Seamonkey. Easy to just drag and drop onto the blank page and it will automatically generate the code. There is a portable app version.


Reply With Quote
