Forwarding to the shindig-dev list where this belongs :)
Guys the question is: The fetch feed format is different between
iGoogle (which has Entry vs item, Link vs link, and some extra fields
which shindig doesn't provided) and shindig.
Is this a case of the specification being different between the two or
a bug?
On Jul 26, 2008, at 11:54 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hello,
I’ve found small incompatibility how feed requests are treated by
shinding.
In http://code.google.com/apis/opensocial/articles/makerequest.html#contenttypes-feed
we can read that making makeRequest with contentType=FEED we should
get something like this:
{
URL : "http://example.com",
Title : "Example Feed",
Description : "A subtitle.",
Link : "http://example.com/feed/",
Author : "Sample Testington",
Entry : [
{
Title : "You can request feeds with makeRequest",
Link : "http://example.com/entry12345",
Summary : "Some text."
}
}
In shinding we get something like:
{
…
item : [
{
title : "You can request feeds with makeRequest",
link : "http://example.com/entry12345",
description : "Some text."
}
}
The url of the gadget which works correctly in iGoogle and not in
shinding is:
http://static.widgetpot.pl/static/xml/igoogle-b53b3a3d6ab90ce0268229151c9bde11.xml
I’ve made small change, renaming fields in ProxyHandler.php and now
it works correctly.
These changes are not complete – I’m not sure which names are
correct or if those changes didn’t break anything.
May it be that iGoogle doesn’t conforms to the standard? ;)
Java version has the same problem.
Best regards,
Andrzej Margos
<ProxyHandler.php.patch>