Quickly running it through my local shindig installation it would seem
that it fetches & parses the RSS without any problems, take a look
with firebug at:
http://modules.partuza.nl/gadgets/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/113674169573509517942/sexywomeneverywhere.xml
You'll see the response is:
throw 1; < don't be evil' >{"http:\/\/pipes.yahoo.com\/pipes\/pipe.run?
_id=_iz1KlqU3BGlD9R4y6ky6g&_render
=rss":{"body":"{\"title\":\"Sexy Women Gadget\",\"link\":\"http:\\\/\\
\/pipes.yahoo.com\\\/pipes\\\/pipe
.info?_id=_iz1KlqU3BGlD9R4y6ky6g\",\"description\":\"A collection of
sexy women over the internet for
Gadget\",\"pubDate\":\"Sun, 20 Jul 2008 05:20:19 PDT\",\"language
\":null,\"category\":null,\"items\"
:[{\"title\":[{},{}],\"link\":\"http:\\\/\\\/www.flickr.com\\\/photos\\
\/[EMAIL PROTECTED]/2684395929\
\\/in\\\/[EMAIL PROTECTED]",\"author\":\"[EMAIL PROTECTED]
(pixel242)\",\"description\":[{},{}],\"category
\":\"portrait female pentax k10d\",\"comments\":null,\"pubDate\":
\"Sun, 20 Jul 2008 05:20:28 PDT\"},
... etc etc
However looking at the gadget xml, it's looking for the entry.Link,
entry.Title and entry.Summary and the response uses the .link, .title
(different upper / lower case first letter) and .description instead
of summary.
Orkut uses shindig just like hi5 does, so i guess hi5 just uses a more
recent version of the rss/feed parsing code? (there were some changes
in java version shindig a while ago to use the roma framework for feed
parsing and it could be that's when the change occured. The php
version of shindig used that output as a reference for implementation
so they should be identical)
On Jul 20, 2008, at 2:01 PM, ZadaheaD wrote:
>
>
> hi,
> im trying to implement google API with the Apache Shindig Projert (PHP
> Version).
>
> my problem accures with this example XML :
> http://hosting.gmodules.com/ig/gadgets/file/113674169573509517942/sexywomeneverywhere.xml
>
> (yeah i know, kinda kinky gadget but still :)
>
> when applying this gadget in Orkut Server or MySpace - this Xml works
> just fine.
> and while trying to apply this in hi5 or in our container (shindig),
> we get an error.
>
> the error accures bcos the structure of the response xml created by
> Orkut Server is different then
> this in hi5 or shindig (as i know, hi5 uses shindig also).
>
> the gadget expect the orkut type structure and this is why is fail in
> shindig.
>
> so the question is :
> is there a unique stucture for rss feeds response ?
>
> thank you !
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---