dregin / daftdrop Goto Github PK
View Code? Open in Web Editor NEWAn extenion to integrate daftdrop.com information into daft.ie
An extenion to integrate daftdrop.com information into daft.ie
The embedded map is a bit limited.
Example:
http://www.daft.ie/searchsale.daft?id=595908
http://www.daftdrop.com/#!searchView?houseId=595908
Need to only get the latest price.
Current response:
//OK[10,590309,-1,71024,68111,'TAPowWA',9,8,260000,151655,68111,'TDYewmA',9,8,200000,218285,68111,'TVptYwA',9,8,3,7,52.1571021,-6.9967584,6,68111,0,0,'T6B$kpA',5,0,'TAREtHA',5,0,'S$4FumA',5,3,4,3,2,1,["com.daftdrop.shared.model.House/736845760","Rose Cottage Strand Rd, Dunmore East, Co. Waterford","Co. Waterford","3 Bedrooms, 1 Bathroom","java.sql.Timestamp/3040052672","","java.util.ArrayList/4159755760","com.daftdrop.shared.model.HousePrice/492242575","java.sql.Date/730999118","Bungalow For Sale"],0,7]
Expected response:
//OK[10,624484,299950,194135,168475,'TNhk0AA',9,8,249950,326215,168475,'T1wfvAA',9,8,2,7,53.8194,-7.34644,6,168475,0,0,'T6Crz54',5,0,'TNlbzIQ',5,0,'TNhk0AA',5,4,4,3,2,1,["com.daftdrop.shared.model.House/736845760","Woodville, Kilnahard, Kilnaleck, Co. Cavan","Co. Cavan","4 Bedrooms, 3 Bathrooms","java.sql.Timestamp/3040052672","","java.util.ArrayList/4159755760","com.daftdrop.shared.model.HousePrice/492242575","java.sql.Date/730999118","Detached House"],0,7]
Saved Ads page is one culprit. The div @ id=address_box doesn't exist on this page, but the extension still tries to do things to it...
Nice extension,
gg so far.
Just noticed an issue with those entries which seem to have been updated multiple times.
The extension is showing the correct price and % difference for properties which have only been updated once.
http://www.redbrick.dcu.ie/~koffee/dregin/
Chrome Version 26.0.1410.64 m under Windows 7Ultimate Build 7601:SP1
This would make styling it a hell of a lot easier.
Javascript would then append relevant information to the divs when it is available.
Look here:
http://www.daft.ie/searchnew_development.daft?id=7015
Original, Change, Added, Updated are all empty.
Original should display the original price, even if it hasn't changed.
Change should display a monetary value of 0 euro for no change in price.
Added should still display the date the ad was created.
Updated should probably read the original create date, but that's debatable.
http://www.daft.ie/searchsale.daft?id=634980
Web Service response was:
//OK[10,634980,475000,212983,178393,'TUhnIQA',9,8,450000,238529,178393,'TbR$8WA',9,8,430000,240458,178393,'Tb2CEmA',9,8,3,7,53.3318666,-6.2874979,6,178393,0,0,'T6BuXxo',5,0,'TUkS2PY',5,0,'TUcdigA',5,3,4,3,2,1,["com.daftdrop.shared.model.House/736845760","2 Dolphin Avenue, South Circular Road, Dublin 8, South Dublin City","Co. Dublin","3 Bedrooms, 2 Bathrooms","java.sql.Timestamp/3040052672","","java.util.ArrayList/4159755760","com.daftdrop.shared.model.HousePrice/492242575","java.sql.Date/730999118","Terraced House"],0,7]
As seen here:
http://www.daft.ie/searchsale.daft?id=714780
Web Service response is as follows:
"//OK[10,714780,-1,335695,249677,'T5sn52A',9,8,399000,336484,249677,'T6BOQ2A',9,8,2,7,0.0,0.0,6,249677,0,0,'T6RticQ',5,0,'T5tl7kg',5,0,'T5neUGA',5,4,4,3,2,1,["com.daftdrop.shared.model.House/736845760","1 Stonemasons Green, Heather Lawn, Dundrum, Dublin 16","Co. Dublin","4 Bedrooms, 2 Bathrooms","java.sql.Timestamp/3040052672","","java.util.ArrayList/4159755760","com.daftdrop.shared.model.HousePrice/492242575","java.sql.Date/730999118","Semi-Detached House"],0,7]"
E.G. http://www.daft.ie/searchsale.daft?id=710807&s[provider_id]=1
This should display "None".
Original price is €325,000, the current price is €295,000, but the percentage change is shown as +17.72%
The extension's web store and options page should include links and credits.
Current example is http://www.daft.ie/searchsale.daft?id=714929
This example will be useless once daftdrop.com collects info for the advert.
JS error thrown:
dates.js:60 Uncaught TypeError: Cannot call method 'replace' of undefined
Clicking on price should bring the user to the price register website.
As it says on the tin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.