transfer html listings into mysql database format

Completed Posted Mar 3, 2011 Paid on delivery
Completed Paid on delivery

I have a directory of resource suppliers that was created using only html. For more efficient content management, I need to create a MySql database, transfer all the existing data to it, and create an html form for future entries.

The database table and the html form need to include the following fields:

- name of company

- website URL/link

- street address

- email address

- phone number

- toll-free phone number

- description of products and services

The listings are currently formatted one per paragraph (<p>listing</p>).

There is a <br> for each line of the paragraph (not <br/>).

The name of the company is in a <b></b> tag (sometimes the closing </b> is after the <br> instead of before it).

The rest of the information is not always in the same order, except that the description is always last and preceded by either a double hypen (--) or an em dash (html code &#151;).

The email address is separated as in the following example:

<a href="mailto:example@?body=(add%[login to view URL]%20to%20complete%20the%20email%20address">example@</a> (add <b>[login to view URL]</b> to complete the email address)

Sometimes there is a word and colon at the beginning of a line; for example, a phone number might just be the phone number or it might be preceded by "Phone: "

Since there is some inconsistency, it might be tricky to create a script that could successfully transfer all the info into the new format. However, there are enough patterns to be able to extract the following with a script:

- name of company (delimiters being <b> and <b/>)

- website URL/link (delimiters being <a and </a>)

- email address (using the elements common to all the email addresses, like mailto, @, and the repeated phrase in parentheses)

- phone numbers (looking for several variations of the pattern, as sometimes they have all hyphens and sometimes the area code is in parentheses)

- the description because of it being preceded by one or the other type of dash pattern.

Whatever is left after the above are extracted might need to be put into the address field and then adjusted manually.

The html form for adding future entries needs to include php processing to transfer the input into the database in a secure way (sanitizing input). I will also need to have the new db entries moderated, so the processing will need to include a notification email to the administrator, with a malicious-code-free copy of all the data that was input.

There are about 100 listings so far.

I hope I've given you all the information you need to know how long this might take you and how much you would need to charge for it. Thanks!

Data Entry Data Processing HTML MySQL PHP

Project ID: #970938

About the project

29 proposals Remote project Active Mar 10, 2011

Awarded to:

boblangdon

please see PM

$50 USD in 4 days
(7 Reviews)
4.8

29 freelancers are bidding on average $52 for this job

mantislin

Hi sir, Please check PM.

$70 USD in 2 days
(418 Reviews)
7.9
hamotig87

Please see PM.

$100 USD in 1 day
(53 Reviews)
7.1
eelance

i can do that for you.

$30 USD in 1 day
(384 Reviews)
6.9
soniamit

Lets Starts .......... Regards soNia

$75 USD in 1 day
(170 Reviews)
6.5
tonykim100

Hello sir! I am ready to start your work right now. Please refer your pmb. Thanks.

$30 USD in 1 day
(142 Reviews)
6.3
z115corporation

I can start right now. Thanks

$40 USD in 1 day
(79 Reviews)
6.2
arusdevelopers

No problem for me. Lets start

$30 USD in 1 day
(55 Reviews)
6.0
brtodi

Hello, I am ready to start the project. You are requested to check my PM for portfolio and client reviews to get an idea of my works & services. Thanks.

$100 USD in 2 days
(109 Reviews)
6.4
persistent

hi, let's start the project. check PM now.

$50 USD in 1 day
(33 Reviews)
5.1
najib0s

-=Quality and speed=- I can do it with high quality of work.

$30 USD in 1 day
(28 Reviews)
4.9
Linsam

Hi, I am very much interested in this project. please look at your PM. THanks

$50 USD in 0 days
(6 Reviews)
4.8
praph

please check pm

$50 USD in 1 day
(23 Reviews)
4.5
codemiracles

Yes we look new but we have a pleasant surprise for you. Pls see PMB.

$50 USD in 1 day
(58 Reviews)
5.1
botzkobg

Hi there I will finish this job. Please check your PMB.

$30 USD in 0 days
(8 Reviews)
3.3
REY619

Hello, please check your PMB. Thanks.

$100 USD in 2 days
(4 Reviews)
3.5
fixme

Web fetching is my passion. It will be very interesting to do this job for you.

$30 USD in 1 day
(3 Reviews)
2.4
sweetcoder

Not a work of more than 30$...

$30 USD in 1 day
(3 Reviews)
1.9
venkiveer

Hi, We have an excellent team of web developers and designers and we have lot of experience in dealing this type of projects so we are ready to handle this project. Please check PMB

$30 USD in 1 day
(2 Reviews)
1.4
atifmajid

Hi. I can do this job. And import all data in mysql. Kindly provide me access to get started

$60 USD in 3 days
(2 Reviews)
1.0
gutentag11

Dear sir. I'm sure I can help you. Please check PM.

$80 USD in 2 days
(0 Reviews)
0.0