Computers

November 27, 2008

Experiences With Gadgets for Gmail

Filed under: Technology, Internet, Google, Search — Lindon @ 2:34 pm

Sterling Udell is a freelance web developer who started programming with Google Maps since before the API was released. He’s the author of the book Beginning Google Maps Mashups.

In the last couple of days I’ve been actively exploring the creation of gadgets for GMail, and wanted to share some of my findings, both for GMail users and other gadget developers.

First, a bit of background... Google announced support for gadgets on GMail about a month ago, at which time they released their own Calendar and Docs gadgets. Since I have quite a few gadgets these days, I thought I’d try my hand at it myself.

What I generally found is that, although GMail theoretically supports any gadget, in practice most don’t work well and many don’t work at all. There’s a list of some reasons why, and some additional notes of my own later in this post. One of the major oddities is that there’s no easy mechanism for adding a gadget directly, as there is in iGoogle. Here are the required steps:

  1. In GMail, click the Settings link (at the upper-right), and go to the Labs tab.
  2. In Labs, turn on the “Add any gadget by URL” feature (towards the bottom), and save your changes.
  3. Still in Settings, go to the Gadgets tab.
  4. Paste in one of the URLs below to activate the gadget.

Which brings me to my gadgets themselves. At the moment, I have three:

First, a brand-new gadget created specifically for GMail, although it does also work in iGoogle (and elsewhere). It’s a compact multi-timezone clock:

<<http://gad.getpla.net/poly/clock.xml>>

Second, my most popular iGoogle gadget, DaylightMap, now supporting GMail:

<<http://www.daylightmap.com/daylight_mapplet.xml>>

And third, just for fun, It’s 5:00 Somewhere!

<<http://gad.getpla.net/5oclock/somewhere.xml>>

Finally, here are some of the development-related items that I’ve learned along the way. Hopefully they’ll help others with their own GMail gadgets.

  • Caching is definitely broken:
    • The refresh-interval parameter to all functions which use the gmodules cache (_IG_GetCachedUrl, _IG_GetImageUrl, etc.) is ignored. In Firebug I can see that the content is being retrieved with “refresh=3600”, and that’s the effect I’m seeing as well. So if you need to disable caching, you’ll need to do it manually, with a timestamp parameter or other workaround.
    • Strangely enough, caching generally seems to be effectively disabled for the gadget XML itself. This is good for testing but has an obvious downside for deployment.
  • Dynamic-Height is flaky – sometimes works and sometimes not on FF, and on Chrome I get an error: Uncaught Error: Unknown RPC service: resize_iframe
  • Gadgets are a fixed, narrow width, looks like 162px at normal font size. This presents some challenges for UI design.
  • There’s no UI for Settings, but setprefs works – which effectively means that all UserPrefs are datatype="hidden”.
  • Gadgets are served over HTTP, meaning that if you’ve set GMail to use HTTPS, you get a “Page contains nonsecure items” warning from IE.

With these few caveats, gadgets for GMail generally follow the legacy iGoogle Gadgets API – meaning they’re quite straightforward for most web developers. The door is now open for you to make your own mark on GMail, rather than waiting for Google’s developers to make the enhancements. What accessories would you find useful in GMail?

[By Sterling Udell | Origin: Experiences With Gadgets for Gmail | Comments]


[Advertisement] Google books at eBay: background info on Google, AdWords, AdSense, Blogger and more...

November 25, 2008

Google Maps Interface Updated

Filed under: Technology, Internet, Google, Search — Lindon @ 10:52 pm

The Google Maps navigation interface has received an update. The zoom bar is slightly redesigned, and Street View can now be accessed by clicking the person icon above the zoom slider. Street View is a bit more immersive now as it’s not wrapped in a box layer on top of the map anymore, but fills the whole width instead (with a small map appearing in the bottom right). Rotating a panorama photo is possible by moving the “N” symbol of the top compass.

For comparison, here’s an older Maps design:

[Thanks Trent Olson!]

[By Philipp Lenssen | Origin: Google Maps Interface Updated | Comments]


[Advertisement] Google books at eBay: background info on Google, AdWords, AdSense, Blogger and more...

Re: Malicious Setting Up of Filters in Gmail?

Filed under: Technology, Internet, Google, Search — Lindon @ 10:33 pm

Google says that recent reports on a Gmail vulnerability aren’t true (Google might mean this one at GeekCondition.com, as blogged here earlier; my emphasis in the quote):

<<We’ve seen some speculation recently about a purported security vulnerability in Gmail and the theft of several website owners’ domains by unauthorized third parties. At Google we’re committed to providing secure products, and we mounted an immediate investigation. Our results indicate no evidence of a Gmail vulnerability.

With help from affected users, we determined that the cause was a phishing scheme>>

Google continues to write, “Several news stories referenced a domain theft from December 2007 that was incorrectly linked to a Gmail CSRF vulnerability. We did have a Gmail CSRF bug reported to us in September 2007 that we fixed worldwide within 24 hours of private disclosure of the bug details.” I contacted Brandon at GeekCondition yesterday to find out more but haven’t heard back from him yet.

[Thanks A.!]

Please join the existing comments.

[By Philipp Lenssen | Origin: Re: Malicious Setting Up of Filters in Gmail?]


[Advertisement] Want to advertise here? Your ad will show in the blog and feed.

Get Quick Feedback For Your Website

Filed under: Technology, Internet — Lindon @ 2:46 pm

Feedback Army is an incredibly useful little website where you pay $7 for feedback to a given website of yours, and then get back 10 comments. Feedback Army uses Amazon’s Mechanical Turk in the background. You enter the domain in question, say “example.com”, and then ask a bunch of question. Questions could be, “What do you find confusing about the site? What did you stumble over at first? What did you like about the site?” Then very quickly, feedback – which you can RSS-subscribe to – comes in. (Note the feedback is public for others to see, if they know the URL you are requesting feedback for.)

If you want to see examples of what kind of feedback may be given, you can enter http://captionx.com, http://watchtolearnchinese.com or http://www.coverbrowser.com into the service.

I asked creator Raphael Mudge some questions about his site, and here’s his response from yesterday (edited to include the links):

<<Feedback Army didn’t exist 12 days ago. I saw a forum post on news.ycombinator.com last week where someone asked if a service like Feedback Army existed or not.

I’ve always wanted to play with Mechanical Turk so I decided to attack the problem. I figured I could add value over using mechanical turk directly by making the process as frictionless as possible. I started soliciting the mechanical turk community for feedback on Feedback Army itself. I was really impressed with the attention to detail they showed me and so I felt I had something worthwhile. (...)

About me? I’m a graduate student in computer science at Syracuse University. Feedback Army is written in the Sleep scripting language.>>

[Via Andy Baio!]

[By Philipp Lenssen | Origin: Get Quick Feedback For Your Website | Comments]


[Advertisement] Want to advertise here? Your ad will show in the blog and feed.

New Wider YouTube Video Box

Filed under: Technology, Internet, Google, Search — Lindon @ 12:59 pm

The YouTube.com player has become a bit wider. Ionut says, “YouTube’s Google Video-ization continues by using more space for the player and less space for the sidebar. YouTube changed the aspect ratio from 4:3 to 16:9, generally used for high-definition TV.” Videos using the older proportions show black pillars to the left and right. [Hat tip to Haochi and Ionut!]

[By Philipp Lenssen | Origin: New Wider YouTube Video Box | Comments]


[Advertisement] Find the right keywords for your campaigns at KeywordDiscovery.com
Next Page »

Powered by WordPress