PDA

View Full Version : Shopping for bike?



Dare
29th August 2011, 14:52
Hey guys, been a while =P
Been building this in my lunch breaks, releasing something more finished looking soonish.
Trademe bike search tool (http://joeswann.co.nz/tm/6/)
Pretty much just built it for odometer filtering functionality..
Hope someone finds it useful =)
Note: Still working around how massive the table has to be to fit everything.. Currently total listings run about 6mb (holyshit)... Loads the most recent 6000 listings atm

Oh and if anyone has any ideas for ways to improve it I'll chuck em in when I have time.

Edit - as of about half an hour ago page isn't loading...
Edit edit - Nope, it's back :)

29.8 5pm v7 now with relevant categories! (http://joeswann.co.nz/tm/7/) (slow evening at work)
30.8 2pm v8 now with regions and thumbnails... (http://joeswann.co.nz/tm/8/)

2Seat_Terror
29th August 2011, 15:44
<== Finds it useful. :2thumbsup

oracle
29th August 2011, 16:19
Cheers, I think I'll find this useful

Desert Eagle
29th August 2011, 16:20
Ooh I've always wanted something like that, have you thought about adding something to filter no reserve/reserve met/not met?

oracle
29th August 2011, 16:24
Also if you could have an excluding a certain type (e.g. when searching for a road bike you don't really want dirtbikes but may not be fussy about whether it is sports, cruiser, tourer etc)

jim.cox
29th August 2011, 16:29
Doesnt seem to work for me - just gives a blank page - maybe because I am using Firefox

Dare
29th August 2011, 16:56
Ooh I've always wanted something like that, have you thought about adding something to filter no reserve/reserve met/not met?
Yes at the moment its loading bare minimum columns but aim is to have show/hide functions on all of the important ones..



Also if you could have an excluding a certain type (e.g. when searching for a road bike you don't really want dirtbikes but may not be fussy about whether it is sports, cruiser, tourer etc)

At the moment changing it over so it loads...


$types = array(
'classic',
'cruiser',
'dual',
'sports',
'tourers'
);

which should bring the total size down to something less server breaky too.. << This now done
-Multiple select for type also coming soon

Thani-B
29th August 2011, 18:21
North Island and South Island options?

NinjaNanna
30th August 2011, 09:11
North Island and South Island options?

Totally agree North Island South Island is the biggest thing missing from Trademe search capability

Dare
30th August 2011, 11:05
North Island and South Island options?

Totally agree North Island South Island is the biggest thing missing from Trademe search capability
Good point, shouldn't be too hard to do.

Dare
30th August 2011, 14:05
Just updated with north/south island region filtering and thumbnails =)
linky (http://joeswann.co.nz/tm/8/)

Thani-B
30th August 2011, 14:26
Just updated with north/south island region filtering and thumbnails =)
linky (http://joeswann.co.nz/tm/8/)

Don't think it quite works right. Mines coming up with Otago in the North Island and Waikato in the South Island.

And the thumbnails make it load so slow ><

Dare
30th August 2011, 14:46
Don't think it quite works right. Mines coming up with Otago in the North Island and Waikato in the South Island.

And the thumbnails make it load so slow ><
Hmm yeah.. I based it off http://joeswann.co.nz/tm/8/regions.php but it doesnt seem to line up quite right ><

red_makes_it_go_fast
30th August 2011, 16:15
I really like it.

It would be nice if it had a paged version so that it loaded a little bit quicker. Thanks

Dare
30th August 2011, 20:34
I really like it.

It would be nice if it had a paged version so that it loaded a little bit quicker. Thanks

Unfortunately that would mean you can't filter the results live the way it's being done at the moment, can do smaller chunks on one page but loading data from the server that quickly would be a little bit more complicated.. will see though.

Squiggles
30th August 2011, 21:34
Do like :Punk:

motorbyclist
30th August 2011, 23:59
is trademe going to get all upset with the server loading this causes, or are they going to wake up to the fact their search functionality sucks?

If it was going to be the latter, they would have fixed it by now.

This tool is a cool idea - but googling within trademe.co.nz still seems to be the best bet

can we have operators? eg "sports AND touring"? having a customisable range of cc is fantastic!

Dare
31st August 2011, 08:54
is trademe going to get all upset with the server loading this causes, or are they going to wake up to the fact their search functionality sucks?

If it was going to be the latter, they would have fixed it by now.

This tool is a cool idea - but googling within trademe.co.nz still seems to be the best bet

can we have operators? eg "sports AND touring"? having a customisable range of cc is fantastic!

Can enable full regex (http://en.wikipedia.org/wiki/Regular_expression) on the filters but I think will probably have some kind of control panel with checkboxes. Right now trying to figure out how to only load the thumbnails on the current page to reduce times...

Trademe doesn't seem to mind these kinds of apps so far, the way this one works works is a utility (run.php) loading from the api into several json files on my server and then index.php loads them. All I need to do is make sure run.php runs a few times a day and there shouldn't be any out of date/missing links and trademe should be happy =) my infinite bandwidth hosting plan should cope... hopefully. haha

Dare
8th September 2011, 11:01
Haven't forgotten about this... Just been learning code igniter.
Should be much quicker soon =)