LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2003, 04:33 PM   #1
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
Perl Script Reading a txt file and generate html to be published!


Hello people,

Hope this finds everyone in good health.

This is what I am trying to do. The Principal of my school prints out a daily bulletin for the faculty every nite.

I would like to automate this process by having him simply type it up as a text file to a specified location on our network. Then at a specified time I could have a perl script read that text file and convert into html syntax or leave it as text to be published to our intranet side via a cgi include and hopefully save some trees.

Slick eh? The thing is does anyone know where I can get such a script if one already exists, I surely would not want to re-invent the wheel.

Thanks!
 
Old 09-22-2003, 05:12 PM   #2
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
http://txt2html.sourceforge.net/

That something along the right lines?

If not, you could do the unspeakable, and have him type it in Word or Frontpage and save it as html, in a specific place on the network. Then have a small script move it over to the web tree. Yeah, I agree, that idea sucks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading from a txt file into a two dimension array in C kponenation Programming 3 11-26-2005 07:04 PM
Reading a txt file in terminal over a network mdlister Programming 5 03-14-2005 07:47 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
perl reading pdf,ps,txt j-ray Programming 1 02-04-2003 10:49 AM
txt file to html > right forum ? saavik Programming 7 04-16-2002 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration