Work of the program is to go through 100 pages like these
<[login to view URL]> (here is incomplete xml)
<[login to view URL]> (here is complete xml)
and make a web page of all these offers.
There should be one big page, where are all offers.
It should give them to db and from db make a page.
It will check every 15 minutes if there is a change. If there is max_customers, then it will check every 5 to 1 minute depending on customers: max_customers ratio and difference.
Front and background of the page should look like my page [[login to view URL]][1]
It is not important to be exactly the same, but similar.
This program has to work correctly with xml feeds with some fileds not filled. And with xmls with different names for various categories (for example price = final_price)
It has to sort out according to my rules, so every site will get number and if there are more offers from the same town and of the same kind, the one with higher number will be preferred.
MOre text is below.
## Deliverables
Offers from some sites will be seen only for members.
It should work similarly like [[login to view URL]
But][2] with different design.
It has to be in utf-8-czech-czech so it is readable in my country
-------
I. Top of the page:
logo + my texts + main menu customizable
below top:
II. cities:
Chci videt nab?dky z mest: <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />V?e/nic (=check/iuncheck all)<input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />CR <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />Praha <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />Brno <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />all other cities sorted alphabetically<input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" /><input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" /><input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" /><input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />
<input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />SR <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />Bratislava <input id="type_jidlo" value="jidlo" type="checkbox" name="type[]" jquery1289823741114="27" />all other cities sorted alphabetically
default is checked all, but unchecked all in Slovakia (SR)
if he wants to uncheck all or uncheck "CR" then please write a message in "balloon" (tooltip is the correct word?) with text "Pod položkou CR se zobrazuj? slevy dostupn? obvykle každ?mu bez ohledu na m?sto jeho bydli?te. Doporucuji ponechat za?krtnut?"
Each city will have number given by me.
Numbers from 5000 up are from slovakia.
From 0 to 4999 are from Czech.
they will be sorted out according my number. If it has no number till now (new city) - it will be given at the end of CR or SR.
It has to find out that usti-n-l is the same as ?st? nad labem as ust n.l. and so on
It can be done by me manually
III. Categories
For example J?dlo and Gastronomie is the same, so it needs to be customisable by me.
IV: customisable by customer:
+Please send me email if there is offer for less than .... Kc
+Please send me email if there is a offer with max_customers below ....
+Please send me email if there is offer with discount bigger than ....
+Please send me email if there is offer which expires in .... hours and was added after .... hours today
V. Show only offers with discount bigger than .....
and final price between ... and ....
VI. Show only offers which was added today (today from .... hours) (1, 2, 3 days ago)
VII. Show only offers which has max_customers
VIII. Search:
search by word in offers
------------
IX. Offers
Any site will get some number from me.
If any site has more than 2000, then all offers from this (these)
site(s) are displayed as first regardless of what is described below. So these offers make first bunch of offers.
Second bunch is made from all offers from all sites where I have given number between 1199 and 100 (only whole numbers, not decimals)
Third bunch is from offers below 100.
Always first bunch, then second bunch, then third.
-----------------
in all bunches:
columns:
1. column = image + title
not sortable
Please do it searchable. So that a person write "pizz*" and only items with "pizza", pizzu, pizzerie are displayed
2. City (sorted by city)
3. Final price (Original) (sorted by final price)
4. Discount = (1-final price/ original)*100 in %
- if there is difference between this value and Discount value in xml, only write me error, but do everything according to
discount = (1-final price/ original)*100 in %
(Sorted by discount)
5. Sale (=Original_price - Final_price) (sortable)
6. Available (=max_customers - customers)
if max_customers = 0, then available is "cas"
7. Time to end (sortable)
= time till deal_end
8. Category (sortable)
9. checkbox
person can choose that he wants to be notified when this deal will have only ....hours to left or less than .... (max_customers - customers) or less than ....% (max_customers/customers)
at first checking of this checkbox he will write his email address
/////////////////////////////////////////////
Please do it all in subdir d so that it can be called as
[login to view URL]
/////
box with submitting of xml will work only in my account. Another users will not see it.
Instead of it they will have possibility to give any comment in their submit form.
----------------------
Some xmls:
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
[[login to view URL]][3]
<[login to view URL]>
<[login to view URL]>, cesky
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
[[login to view URL]][4]
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
[[login to view URL]][5]
Somewhere are little differences, for example
somewhere FINAL-PRICE somewhere PRICE
so you need to make sure that all possibilities are dealed well. Martin
=====
<[login to view URL]>
<[login to view URL]>
<[login to view URL]>
there:
poskytovatel_slev = server
mesto = city
sleva=deal
titulek=title
plati_od = deal_start
plati_do = deal_end
url_obrazku = image
cena_pred = original_price
cena_po = final_price
procenta = discount
===