Re: need help with testing: GMail live search (available in svn trunk)
- From: Debajyoti Bera <dbera web gmail com>
- To: "Joe Shaw" <joe joeshaw org>
- Cc: dashboard-hackers gnome org
- Subject: Re: need help with testing: GMail live search (available in svn trunk)
- Date: Wed, 9 Apr 2008 21:45:33 -0400
Hi Joe,
> > > I wanted to see how a live GMail search "backend" will work so
> > > here is one. It just queries GMail IMAP server directly for searching.
> > > I need some help
> >
> > I checked this in. For instructions, see
> > http://beagle-project.org/Live_GMail_Search
...
> I use a Google Apps account, and was pleasantly surprised that my
> username and password just worked for the IMAP interface. However,
> the search results don't. I am getting URLs like:
> https://mail.google.com/mail/#search/200804051946 23877 dbera web gmail com
>
> but for my apps account, they should be:
> https://mail.google.com/a/joeshaw.org/#search/200804051946.23877.dbera.web@
>gmail.com
Now that you point out that gmail and google app uses different URLs, some
configuration seems required. I guess the "a" points to "app". Does not
matter though, since it will be tough to cover all cases.
Instead how about a config option GMailSearchOpenURL with
default "https://mail.google.com/mail/#search/%s" and can be replaced by
whatever the user wants.
%s will be replaced by the message-id. Using the message id to simulate a
search is really a hack though, I just hope that works everytime. I did not
find any better way to tell gmail to open a particular email.
> > There were only some minor changes from the test dlls. Use
> > --enable-googlebackends during configure to build this. Its disabled
> > by default since its not too exciting (to me) and is not that fast :-(
> > (I mean querying over IMAP and then getting the headers of the matched
> > results is pretty slow).
>
> Yeah, it's pretty slow. It seems like we could cache the headers for
> certain IDs though? So at least largely overlapping services would be
> a bit quicker.
Could you elaborate on this one ? Which IDs to cache ? Is this something
specific to Google Apps ?
My KMail fetches entire emails faster than xemail-net is fetching headers.
Well, KMail probably fetches them in large batches (in IMAP, you can ask for
headers for [a,b] for all messages with id a to b; in the google backend we
do [a,a]). But I still feel that xemail-net needs improvement; a better .Net
IMAP library should do better.
xemail-net anyway needs improvement. It is buggy and I didnot like its IMAP
implementation. I was surprised it worked for searching. Unfortunately it
seems to be unmaintained :-/ (Joe, no jokes please :)
- dBera
--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE / Mandriva / Inspiron-1100
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]