Login Register

patch

[patch] Augment dojox.data.GoogleSearchStore items with aggregated query data

I have a patch that adds an "aggregated" property to each item returned by GoogleSearchStore. The "aggregated" property contains properties in the Google-produced resultData that don't belong to a specific document.

This is very useful (at least) in local search, where aggregated properties can help set the viewport for a map widget.

Netscape Fix

I'm required to support Netscape 7.2 and 8.1 for my current project at work, so with that said, this is why I've had to create this patch for Dojo 0.9+. It's probably not the prettiest thing, nor the most optimized, but it's all I have had time for.

If you decide to use this fix, PLEASE READ the comments carefully, as this will not work if you don't place things in the right places.

I've also yet to test this with a Custom Build, so some issues may come up when this point is hit. I'll be updating this shortly when I do finally get to test this in a build. Until then, here you are...

Syndicate content