What is Web Detective?

Hi Folks,

One of the really cool features about Flock is the ability for it to automatically detect a login page of the services we support such as Facebook, Flickr and Photobucket and prompt a user to login to configure Flock for these services.  For those of you that remember 0.7 (a.k.a. Cardinal) you had to know Flock supported a particular service and then configure it through a series of dialog boxes.

As we started to design this feature in 0.9 we realized we’d be parsing the raw HTML (otherwise known as page scraping) to understand how to get the login information to pass on to the services’ API.  For example, when logging into Flickr on their website, we understand that someone has logged in and we pass the credentials onto the Flickr API so that people can use the uploader and media bar. As we began developing this functionality we realized that the web pages we were scraping are under constant change and we’d would need away to react to these changes quickly.  Thus, Web Detective was born.

 If you look in Flock’s profile folder you’ll see a sub folder called “detect”.  Inside that folder is set of .xml files, one for each service that Flock supports.  These files can be updated without having to do a complete point release.  Once a day, Flock calls home to see if any of these files have an update to be automatically downloaded.  For example, last week Xanga changed their login page on Tuesday and by Thursday we had an update available to be downloaded so login detection worked again.

I’ll announce such Web Detective updates on this blog as well starting with last week’s update for Xanga to fix the login detection and to Facebook to remove the “is” from being displayed in the sidebar’s people status (We’re going to have a separate fix to remove the “is” from the Me Card which is the top part of the people sidebar).

Thx,
Mike

Blogged with Flock

9 Responses to “What is Web Detective?”

  1. Omar Upegui R. Says:

    Hi Mike:

    Thanks a lot for keeping us informed of what’s going on with Flock. I appreciate your time to do that.

    I read this site everyday looking for Flock’s updates. BTW, are you guys thinking of adding the feature of “Color Management” in future Flock’s upgradesĀ”

    I’ve notices how well images look in Apple Safari. The colors are sharp, bright and brilliant. I’m crossing my fingers Flock follows suit.

    Regards,

    Omar.-

  2. releasenote Says:

    Hi Omar,

    This kind of rendering we inherit from Mozilla so until they provide this kind of feature, it won’t be available in Flock.

    Mike

  3. Omar Upegui R. Says:

    Hi Mike:

    I was reading a while ago that Firefox 3 will have this feature available. So that means we could be receiving the same benefit with Flock. Am I right?

    Regards,

    Omar.-

  4. The Release Note » Blog Archive » A couple of webdetective patches being released today Says:

    […] released two patches via our web detective mechanism […]

  5. The Release Note » Blog Archive » Twitter Web Detective fix has been deployed Says:

    […] deployed a Web Detective fix for Twitter to fix a pretty severe issue with the people sidebar not populating at all.  […]

  6. The Release Note » Blog Archive » Gmail Web Detective Fix Deployed Says:

    […] Web Detective fix for HTML displaying in the webmail flyout has been deployed.  Happy […]

  7. The Release Note » Blog Archive » YouTube Login Detection Fix Deployed Says:

    […] Thursday Flock released a Web Detective upgrade to fix the automatic login detection for YouTube.  All Flock 1.1.x browsers should be […]

  8. The Release Note » Blog Archive » A couple of Web Detective fixes have been deployed Says:

    […] rolled out a couple of Web Detective fixes over the last couple of days to fix the following […]

  9. The Release Note » Blog Archive » Getting us up todate to 1.2.1 Says:

    […] of 1.1.4 to accommodate a Facebook change. The change unfortunately could not be done with as a web detective fix.  This was probably one of the quickest turnaround times from bug discovery to in the […]

Leave a Reply