Færdiggjort

Product Info Parsing From Web Page

i want to extract the product details from yemeksepeti.com.

a sample restaurant menu page is like this;

<[url removed, login to view]>

in this page you can see there is a menu with categories and products with name, explanation and price.

I want a php code, that get an input of URL of the restaurant and gives me some arrays so i can write them into my database. Array elements can be divided with special characters like ###, &&& or can be cascaded into new arrays.

These arrays at least should be;

1. Categories ( with ordered as in the menu )

id, name

1### Küçük Pizzalar (21 cm.)%%%

2###Orta Pizzalar (27 cm.)%%%

3###Büyük Pizzalar (33 cm.)%%%

...

..

.

2. Products

id, category_id, name, info, price

1###1###Margarita Pizza (Küçük),Çift kat mozarella peyniri ve özel sos###7.25%%%

2###1###Classic Pizza (Küçük),Mozarella peyniri, sos, sucuk, mantar, misir###9.7%%%

...

...

...

12###2###Turkish Pizza (Orta)###Mozarella peyniri, sos, pastirma, sucuk, mantar, yesil biber###20.9%%%

...

..

.

Attention;

*Product's category id should be valid as given in the categories table.

*Price should not include comma, it should include dot. (not 7,20 it should be 7.20 )

* After entering the restaurant url, PHP code should return the restaurant name first and ask if parse it or not.

Program is not required to write into database, i need only appropriate arrays.

## Deliverables

This is a very simple project, you will probably use preg_match function only :) I have no time to write this and im not good at regular expressions. If ? i am happy with this piece of code i will probably hire the coder for further coding jobs.

* * *This broadcast message was sent to all bidders on Tuesday Apr 6, 2010 8:02:35 AM:

my maximum bid was updated to 25$, for your info..

Evner: Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning

Se mere: web coding jobs, use regular expressions, sample regular expressions, restaurant jobs, regular expressions info, product engineering, parsing input, jobs in engineering, info jobs, hire web coder, engineering jobs jobs, engineering jobs in, database input jobs, engineering jobs, ys, turkish tr, turkish jobs, turkish coding, sos, restaurant web

Om arbejdsgiveren:
( 17 bedømmelser ) Istanbul, Turkey

Projekt ID: #3319614

Tildelt til:

vw7437936vw

See private message.

$21.25 USD på 1 dag
(19 bedømmelser)
4.1