For juniour programmer: code this text modification program

Avg Bid (USD)
Project Budget (USD)
$30 - $250

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!


FileA.html 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


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 FileB.csv

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

Example: modifier.exe FileA.html FileB.csv

The output file should be written to a subfolder with the same file name as the input file, e.g. .\modified\FileA.html

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.

Skills required:
C# Programming, Java
Additional Files: FileA.html FileB.csv
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.