Seach Results - Online Guidebook

Having problems with the board or the online guidebook?
Suggestions welcome.
User avatar
Saxman
Posts: 3088
Joined: Fri Mar 28, 2003 7:10 pm

Seach Results - Online Guidebook

Post by Saxman »

Is there any way to add an option to choose how many search results one gets at a time? Maybe an option like some online stores; show 25 per page - 50 per page - show all. You could then print your results all at once instead of having to cut and paste into Word.
The theory of evolution is just as stupid as the theories of gravity and electromagnetism.
Paul3eb
Posts: 2445
Joined: Wed Sep 24, 2003 1:49 am

Post by Paul3eb »

is it possible to search by wall and get results per wall? for instance, if i were looking for "show me all walls that have two star or three star 5.11 to 5.13 and always stays dry"?
and great loves will one day have to part -smashing pumpkins
Yasmeen
Posts: 4663
Joined: Tue Oct 08, 2002 10:42 am

Post by Yasmeen »

Saxman, that's a cool idea - I'll work on that this week.

Paul3eb, do you mean that you want your results sorted by wall? At http://www.redriverclimbing.com/RRCGuideV2/search.php you can specify the region you want to search, and details such as stars and grades. If there's something more that you want, let me know and I'll work on that this week, too.
"I snatched defeat from the jaws of victory." --Paul
---
(Emails > PMs)
dah-le
Posts: 48
Joined: Wed Jun 01, 2005 7:03 pm

Post by dah-le »

I was also wondering if there was a syntax to exclude R & X rated routes...I was looking to try and do a search like this:
"show me all routes 5.0 to 5.6 without an R or an X first sorted by wall then sorted by grade"

I assumed that I missed something in the syntax, but I couldn't find any documentation.

Thanks,
Dale
Yasmeen
Posts: 4663
Joined: Tue Oct 08, 2002 10:42 am

Post by Yasmeen »

dah-le, the "danger" field is an enum, and its values can be '' or 'R' or 'X'. I'm looking around the current search page and I don't think there's a way to search for danger or to search purely by SQL. If I put that in, would anyone use it? For instance, you could type into the text field that is currently there "select name from route where danger='X' limit 10;" or "select name from route where danger='' limit 10;" and check a box that says "Execute my SQL query" or something like that, and the page would just serve as a messenger between the MySQL DB and you - no manipulation of what you put in. If your SQL was faulty, you'd get an error message instead of results. Let me know if this sounds good, or if you'd rather I just add some functionality such that you could specify the danger of a route.
"I snatched defeat from the jaws of victory." --Paul
---
(Emails > PMs)
User avatar
der uber
Posts: 1044
Joined: Sat Apr 29, 2006 2:42 am

Post by der uber »

Also, it would be nice to search on routes that get a breeze, and ones that have snakes.
Oh yeah, also, I guess a height rating would be usefull to that person who is 5'2" recently.
tomdarch
Posts: 2407
Joined: Wed Dec 04, 2002 9:22 pm

Post by tomdarch »

From a user-interface point of view, it seems like the ideal would be to add a "Danger" category like the "Sun" or "Dryness" ones, with check boxes for 'Normal', 'R' and 'X'. How that would be implemented is way, way beyond me, though.
Bacon is meat candy.
Yasmeen
Posts: 4663
Joined: Tue Oct 08, 2002 10:42 am

Post by Yasmeen »

Absolutely. There could be a keyword search on the comments section of the routes that would return all routes whose comments contain the words "snake" and "5'2"". That's going on the list, too, der uber. Thanks for your note in our little Comments/Suggestion box. I think I'll filter out words like "the" and "a", a la Google.

I like the way you think, Tom. Anything that is stored in the database shouldn't be too hard to query via the search page.
"I snatched defeat from the jaws of victory." --Paul
---
(Emails > PMs)
dah-le
Posts: 48
Joined: Wed Jun 01, 2005 7:03 pm

Post by dah-le »

Yasmeen,
Yep, I like Tom's idea of the checkboxes as well...definitely beats trying to parse some sort of text string that's for sure.
Thanks a ton for making this even more useful...its already really cool to be able to do a lot of searches & sort/filter/etc.
-Dale
Cliff Heindel
Posts: 190
Joined: Wed Oct 13, 2004 12:57 pm

Post by Cliff Heindel »

OK! so if this works i can search for death routes with snakes that stay wet? sweet.
'really ?' -fluffy
Post Reply