Welcome Developers!

in

Welcome!

in

MySpace Mail Search with Gears Released! Google I/O Presentation Slides

Hey everybody,

We've finally released this feature to the public, so if you have Google Gears installed you can start searching and sorting your messages!  We're also pitching Gears directly to people who've got 5000 or more messages, and will start lowering that threshold soon.

This blog post is mainly a follow-up to the presentation I did at Google I/O about MySpace Mail Search with Gears.  Some folks at the show expressed interest in digging into the code a little bit deeper so I mentioned I'd provide links to the current source here.  I'm also including a link to the public slides, and notes for the presentation if you're interested.

So, here goes!

The main source code for the feature, which contains the Gears abstraction, the state management class, the client-side pager class, and various other classes and global functions can be found here:

http://x.myspacecdn.com/modules/messaging/static/js/searchmessages-004.js

The 2 worker pool threads that are in use currently can be found here:

http://messaging.myspace.com/modules/messaging/services/workers/indexworkerpool.js 

http://messaging.myspace.com/modules/messaging/services/workers/syncworkerpool.js

As mentioned in the presentation, the difference between them is the index worker deals with committing new messages while the sync worker deals with updating message statuses, or deleting messages.

 The slide deck and notes for the presentation are available courtesy of Google Docs.

 

 If you have any questions, feel free and email me at owyn [at] myspace [dot] com!  Thanks for reading :)

 Owyn

Comments

 

Tamara Barton said:

Okay, so I just added Google Gears to my MS, but how do I sort my mail into categories. The search feature works to a degree (although I have 1113 messages cluttering my MS inbox and it doesn't seem to search all of them for words like "model" or "promo"), but I have NO CLUE how or where to sort. Help :P

June 12, 2008 11:56 PM
 

KY-ILL said:

i have over 7000 messages and i want to look at messages from a long time ago, is there a way i can sort them by date???

July 5, 2008 3:28 AM
 

Christopher said:

Sick

July 14, 2008 11:22 AM
 

adalberto said:

heyyy

July 17, 2008 6:08 PM
 

adalberto said:

watz g00d??????????

July 17, 2008 6:10 PM
 

Jay 2.0 said:

Is gears still installed? I don't get the option anymore and I'm using chrome now. Doesn't seem to show up in firefox ether.

September 15, 2008 10:14 PM
 

Karl said:

How do you enable it.  It popped up and since I did not know about it, I had to deny it to use any part of my browser.  I couldn't research it until I denied or approved and that didn't seem like a good idea.  When I checked it immediately after denying it, it seems like a good feature.  How can I re-enable it after denying it?  Help me please.

September 17, 2008 7:58 AM
 

K™ said:

cool. it didnt work.

January 10, 2009 9:06 AM
 

Slplss said:

So i installed gears but i accidentally hit deny when it asked me if i wanted to use it. how do i get it back?

May 11, 2009 3:13 AM
 

Partyball Lotto - Lottery Fun with Friends said:

Hello,

The internet tells me I can use Gears with Safari, however, I can't seem to add it as a plugin after downloading and installing. I've closed all my browser windows but nothing has changed as far as my inbox goes. What do you think the problem is?

May 22, 2009 1:52 PM
 

Md. Abu said:

Welcome

May 24, 2009 6:41 AM
 

Jenni said:

Well I installed it on my firefox and now my mailbox doesn't work.  It does on here on explorer, but I won't install the gears.

July 20, 2009 6:52 PM
 

T a n a (: ! ♥ ( [ P.Y.T ] [ r i p j d w ] said:

I installed google gears and it works okay. But it doesnt search a lot of specific words. Also i want to find messages from a long time ago, can I do that?

July 29, 2009 3:46 PM
 

Michael said:

i can not reply to any mail on myspace because of google tools...why is this happening and how can i remove it. it is not in the add/remove program in the control panel. i got infected with this program by opening mail from a so called fried.

July 31, 2009 6:41 PM
 

JC said:

hi. Im trying to figure out how to get the new myspace email system my friend has it but doesnt have any idea how she got it and I really wanna get it cause it looks cool!!!

August 1, 2009 12:06 PM