Opened 11 years ago

Closed 11 years ago

#7306 closed enhancement (fixed)

[patch][cls] Update the google.smd to include the Feed service

Reported by: Revin Guillen Owned by: dante
Priority: high Milestone: 1.2
Component: RPC Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

See attached for a tiny patch to the google.smd spec that adds a getFeed() method, which calls Google's feed-to-JSON conversion service. Patch is relative to the dojox root.

Attachments (2)

google-smd-feed-service.patch (551 bytes) - added by Revin Guillen 11 years ago.
google-smd-feed-service-demo.patch (3.0 KB) - added by Revin Guillen 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by Revin Guillen

comment:1 Changed 11 years ago by dante

Milestone: tbd1.2
Owner: changed from Dustin Machi to dante
Status: newassigned

comment:2 Changed 11 years ago by dante

Resolution: fixed
Status: assignedclosed

(In [14609]) fixes #7306 - thanks revin! (cla/ccla on file) - add getFeed member to google.smd

comment:3 Changed 11 years ago by Revin Guillen

Resolution: fixed
Status: closedreopened

Reopening because dante had asked for a simple demo of the feed service, and it seemed a waste to create a whole new ticket just for that. So, see attached for a patch.

Note that this uses an ugly in-place modification to dojo.io.script (taken from source:dojox/trunk/rpc/demos/demo_GoogleAjax.html@14613#L38) because Google's service returns a Javascript array rather than a real JSON object.

Changed 11 years ago by Revin Guillen

comment:4 Changed 11 years ago by dante

Resolution: fixed
Status: reopenedclosed

(In [14616]) fixes #7306 - adds a demo for google feeds, courtesy revin guillen - and he also found out if you don't send a context param, the data comes back as valid JSONP! woohoo, awesome catch -- no need for janky workaround anymore!

Note: See TracTickets for help on using tickets.