Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 17th, 2005, 3:20 PM   #1
Invisible
Newbie
 
Join Date: Jun 2005
Posts: 4
Rep Power: 0 Invisible is on a distinguished road
Want to upload, show as HTML and other things....

Hi All, great site.

Right then, maybe someone can help me with a bit of programming for my webpage(s).

You see one of my hobbies is that I write poems, and I like to show of these poems, as it stands I have over 200 poems at the moment, and it is growing daily.
Now then, As I said I want to show off these poems, the problem is that the sheer amount of time it takes to convert MSword *.Doc files into HTML files ready for viewing takes forever (as youy would expect with a large number of documents).
Then adding on new poems (as I do on a regular basis), editing the HTML tags to create a new link for that poem and everything else is also very time consuming.

So what I am looking for is a program that I can place into my HTML (or call from my index page) that can do the following.

1. Read either *.txt or *.doc files
2. Convert them to readable HTML on the fly.
3. Create links to the poems in my CSS menu system
4. Upload new *.txt for *.doc files and have them perform the above actions.
5. Randomly pick a poem for viewing when the index page loads (selected poems will then replace the random poem in a table/window.)
6. Possibly allow other people to upload thier poems, in thier own directories for viewing on a differant page.


Now I don't care if it is written in CGI/Perl, PHP or Javascript, but can someone please help me out with this? I know there are programs out there that can do this, but they cost something like $180, which for a single person, non corporate, non profit making webpage is way over the top.

All help will be apprechaited, as will any comments on the design of my new webpage as it stands. The link for it is: http://www.ashesofangels.co.uk/Test/index.php

P.s. Apologies for my spelling, I was never very good at English........
Invisible is offline   Reply With Quote
Old Jun 17th, 2005, 3:40 PM   #2
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
It was my understanding that in Word you could save the document as HTML. As for easy posting, you could try a CMS (Content management system) such as XOOPS or Mambo. After initial setup, and perhaps installation of an Articles add-on, you can easily upload documents with all the linking handled for you.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Jun 17th, 2005, 4:05 PM   #3
Invisible
Newbie
 
Join Date: Jun 2005
Posts: 4
Rep Power: 0 Invisible is on a distinguished road
Quote:
Originally Posted by Dameon
It was my understanding that in Word you could save the document as HTML. As for easy posting, you could try a CMS (Content management system) such as XOOPS or Mambo. After initial setup, and perhaps installation of an Articles add-on, you can easily upload documents with all the linking handled for you.
Have you ever actully seen what word considers to be html? Man alive is it UGLY, it is also huge and takes up more space on the webserver than anything else containing text, throw in images and you may as well wave bye bye to your webspace.
Invisible is offline   Reply With Quote
Old Jun 17th, 2005, 4:28 PM   #4
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Perhaps you should consider writing your poems in something else then.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Jun 19th, 2005, 7:51 PM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
If you re-save all your poems as text files, you can use PHP to include the files - just use the nl2br() function to add the <br /> tags in.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:51 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC