[
https://issues.apache.org/jira/browse/SHINDIG-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Helmling updated SHINDIG-60:
---------------------------------
Attachment: fix-SHINDIG-60-bug_rome3.patch
Updated implementation of ContentType.FEED handling in ProxyHandler class,
using the ROME feed parsing library.
This patch replaces all my previous attachments (fix-SHINDIG-60-bug_rome.patch,
fix-SHINDIG-60-bug_rome2.patch, fix-SHINDIG-60_legacy.patch).
Changes since previous version:
- added unit tests for RSS and Atom feed parsing to ProxyHandlerTest
- tweaked "author" setting to fall back to first entry author if no feed-level
author
- tweaked date resolution for better Atom support
Total files changed are:
ProxyHandler:
- added parsing of RSS and Atom remote content responses based on ROME
(http://rome.dev.java.net) library
ProxyHandlerTest:
- added unit test with sample RSS feed
- added unit test with sample Atom feed
java/gadgets/pom.xml:
- add ROME library as a dependency
features/core/legacy.js:
- wrap callback in _IG_FetchFeedAsJSON to pass back error message and feed
object as expected in Google Gadget docs
> Shindig does not properly support the FEED content type as defined by the
> gadgets spec for gadgets.io.MakeRequest
> -----------------------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-60
> URL: https://issues.apache.org/jira/browse/SHINDIG-60
> Project: Shindig
> Issue Type: Improvement
> Components: Features (Javascript), Gadget Rendering Server (Java),
> Gadget Rendering Server (PHP)
> Reporter: Cassie Doll
> Priority: Critical
> Attachments: fix-SHINDIG-60-bug_rome.patch,
> fix-SHINDIG-60-bug_rome2.patch, fix-SHINDIG-60-bug_rome3.patch,
> fix-SHINDIG-60_legacy.patch, io.js.patch, ProxyHandler.java.patch
>
>
> The FEED contentType in gadgets.io.MakeRequest should not return general json
> in the same way that the JSON contentType does. It should instead return a
> structured object that looks like this:
> http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_JSON
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.