[mythtv] [PATCH] Mythweb -- canned queries, HD search,
brad+mydev at templetons.com
Tue Mar 1 08:54:15 UTC 2005
On Mon, Feb 28, 2005 at 11:10:48PM -0800, Chris Petersen wrote:
> Also, in answer to your question about the google-style searches (since
> I've obviously moved to "canned:"), particular about your "hd:" patch,
> I'm still not entirely sure how it's all going to work. I guess my
> eventual goal is to get them all put in that way ("hd:yes",
> "title:Food", etc), but for now I think I'll start with search terms
> only (no flags) in that format.
Google's approach (they think pretty hard about this stuff...) is to
have the tags and also a power search page with broken out checkboxes
and I think that makes sense.
The one thing I like about a simple form is that the user can write it
and then bookmark it. To bookmark you must of course use GET rather than
POST. Users will just have a few searches they commonly do, and then
random searches that are string oriented.
The one other thing I have on my list is a link on the search page to
say "Set a cookie with the current time" and another tag to say "only
do searches for shows after the time in the cookie."
This will let users create their favourite search, and do it every
so often, and only see "what's new". Particularly for movies, specials,
to show "all results" and "new results". But you really want one cookie
per search, and it's a hard call when to set the cookie since the user
might want to do several searches in the same "new" zone. One basic
principle would be to set the cookie after a session is over (you need
2 cookies to do this), so that if there is a gap of several hours, that's
a new searching session, and what's new searches only back over those hours.
More information about the mythtv-dev