For juniour programmer: code this text modification program

  • Status Closed
  • Budget $30 - $250 USD
  • Total Bids 14

Project Description

PLEASE set the phrase 'I will use program language xyz' into your bid, where xyz should be either Java or C#. PLEASE do not start programming before you got the task assigned!


[url removed, login to view] is a sample of an input text file. It has to be edited - not by hand, but by the special Java- or C# program a want you to hire for. The steps are as follows:

1) Identify all <div sections in the HTML code, e.g. one like this:

<div id="Oa1002b1g" style="position:absolute;z-index:4;visibility:visible; left:690px;top:701px;width:20px;height:35px;">

<img name="Ggeo6" src="./geometry/a1002b1ggeo6shd3pg1p9.png" alt="" border = "0" width="20" height="35"></div>

2) Take the ID of the section (in this example Oa1002b1g), strip the leading 'O' and look up a line in the FileB which has this ID either in column 2 or 3, in this example the line

[url removed, login to view];a1002b1g;a1002b1r

3) Now take the string value of the 1st column and modify the <div section as follows:

<div id="Oa1002b1g" style="position:absolute;z-index:4;visibility:visible; left:690px;top:701px;width:20px;height:35px;">

<a href="javascript:openplan("1.002.B1">

<img id="1.002.B1" name="Ggeo6" src="./geometry/a1002b1ggeo6shd3pg1p9.png" alt="1.002.B1" border = "0" width="20" height="35"></div>

As you can see, you must add some HTML code and modify/fill some attribute values depending on the lookup procedure as described in step 2).

4) Read the file from top to bottom. All text not subject to modification has to be copied unmodified to the output file. This is true also for the <div sections for which you cannot find a match in [url removed, login to view]

The program should run as a console program without GUI and take the input file name and the 'lookup'file name as arguments.

Example: [url removed, login to view] [url removed, login to view] [url removed, login to view]

The output file should be written to a subfolder with the same file name as the input file, e.g. .\modified\[url removed, login to view]

You will have to deliver the source code in case of Java, or a complete project in Visual Studio 2005 or 2008 in case of C#. I must be able to make 'last minute' changes to the program myself.

Not a big deal for a smart juniour programmer, i think.

Get free quotes for a project like this
Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online