topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 6:00 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Programmer Wanted for Project  (Read 6545 times)

friedsonjm

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Programmer Wanted for Project
« on: November 21, 2007, 11:49 AM »
My wife does translating; I need an html/php [or whatever] that will allow someone to:
1. Upload their file to be translated in .doc or .txt format.
2. Count the number of words.
3. Calculate the cost to translate based on normal or rush service.
4. Carry that cost through to paypal.
5. Make sure the project cost is paid.
6. Send the project to her to be translated!
I have web site hosting with all the 'normal' things someone would expect, at westhost.com in case you want to take a look at what they offer.
Any takers?  Please email me at johnf@ friedson.org [take out space].
thanks,
jf

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #1 on: November 21, 2007, 12:17 PM »
Couple of quick things:
1) You may want to post a budget you have in mind for this project.
2) The Word doc format may run you into problems.  The server would need Word installed to be able to use the Word API to look inside to get an accurate word count - this means a Windows server and you probably won't be able to use a shared server.  May want to put a restriction on the format to just TXT or provide a copy/paste textarea on the website where the user submits the document through that (not sure how big the documents you would be dealing with)
3) Are all words counted or are there stop words (words excluded from count).

The rest is pretty trivial with PHP: from the upload, text document parser, PayPal integration and email/reporting.

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #2 on: November 21, 2007, 12:25 PM »
The Word doc format may run you into problems.  The server would need Word installed to be able to use the Word API to look inside to get an accurate word count

Mmmmmmaybe, maybe not.  Third party tools exist that parse, manipulate, and display Word documents without needing Office.  The TX Text component is one I've used with great success, for instance.  But it ain't cheap.

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #3 on: November 21, 2007, 12:25 PM »
To state the obvious, unicode text would be necessary.

friedsonjm

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #4 on: November 21, 2007, 12:56 PM »
The Word doc format may run you into problems.  The server would need Word installed to be able to use the Word API to look inside to get an accurate word count

Mmmmmmaybe, maybe not.  Third party tools exist that parse, manipulate, and display Word documents without needing Office.  The TX Text component is one I've used with great success, for instance.  But it ain't cheap.

Yowsa!  Certainly ain't cheap.  Maybe its paste in text to get word count, and attach .doc or .txt or even .pdf file or any MS or OpenOffice format to get translated if you want formatting maintaned? 

jf

MrCrispy

  • Participant
  • Joined in 2006
  • *
  • Posts: 332
    • View Profile
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #5 on: November 21, 2007, 01:11 PM »
How about using OpenOffice to parse the word document? I don't know how scriptable OO is but you should be able to open it up and get document statistics that way.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #6 on: November 21, 2007, 01:30 PM »
wv is a library which allows access to Microsoft Word files. It can load and parse Word 2000, 97, 95 and 6 file formats. (These are the file formats known internally as Word 9, 8, 7 and 6.) There is some support for reading earlier formats as well: Word 2 docs are converted to plaintext.

wv compiles and works under most operating systems. Although most development is carried out with Linux, wv should work on BSD, Solaris, OS/2, AIX, OSF1, and even (with varying levels of success) AmigaOS VMS. The GnuWin32 project maintains a port for Windows, and it is required to compile and work on all of AbiWord's supported platforms, of which there are a lot.


http://wvware.sourceforge.net/

free...open source  ;)

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Programmer Wanted for Project
« Reply #7 on: November 21, 2007, 02:57 PM »
The Word doc format may run you into problems.  The server would need Word installed to be able to use the Word API to look inside to get an accurate word count

Mmmmmmaybe, maybe not.  Third party tools exist that parse, manipulate, and display Word documents without needing Office.  The TX Text component is one I've used with great success, for instance.  But it ain't cheap.

I need to check this out.  I have never seen anything that works on a Linix server for Word documents.