Hi Ken. I'm sorry for the late reply.

Are you setting the content-type header in your PHP script to
application/xml or text/xml? Also, you shouldn't append &bpc=1 to your
application's URI. Instead, append it to the address bar after you've
added the application (e.g. 
http://sandbox.orkut.com/Application.aspx?appId=...&uid=...&bpc=1).

We were experiencing several issues with our content re-writing
mechanism and have temporarily disabled it in the sandbox. Please let
me know if you're still seeing the caching issues that you reported
earlier.

- Jason

On May 27, 5:22 pm, kennyjay <[EMAIL PROTECTED]> wrote:
> Just an addendum.  I think I worked through the Malformed xml issue by
> reformatting my php properly.  However, now I get the same sort of
> issue where the dynamic url returns a "No appropriate view could be
> found for gadget:http://prod.gwidgets.com/gadgetserver_fixed.php?bpc..";
> error.  The static url appears to load the app ok.
>
> The urls are:
>
> dynamic:  
> http://prod.gwidgets.com/gadgetserver_fixed.php?bpc=1&gid=82&pid=os&s...
> static:http://prod.gwidgets.com/apps/orkut/einstein_static.xml
>
> They appear to return the same xml and the xml validates just fine on
> w3c.org..
>
> On May 27, 5:32 pm, kennyjay <[EMAIL PROTECTED]> wrote:
>
> > I'm using a dynamic url like this:
>
> > 1)http://dev.gwidgets.com/gadgetserver1-c.php?bpc=1&gid=82&pid=os&site=...
>
> > loading that page in a browser, then view source, and then paste the
> > same xml in a static file here:
>
> > 2)  http://dev.gwidgets.com/apps/orkut/hello_world1-c.xml
>
> > Results upon trying to add an application:
>
> > 1)  for dynamic url,  loads confirmation page, with app title,
> > however, when loading application, I get
>
> > "Malformed XML in filehttp://dev.gwidgets.com/gadgetserver1-c.php?bpc:
> > Premature end of file. At: (1,1)"
>
> > 2) for static page, loads just fine.
>
> > As for CACHING:
>
> > 1.  Trying to debug this was maddening because Orkut seemed to cache
> > everything no matter what I tried.  I tried both methods, &bpc=1 and
> > the new
>
> > <Optional feature="content-rewrite">
> >      <Param name="include">NONE</Param>
> > </Optional>
>
> > Neither appeared to work reliably.  Sometimes if I added a few extra
> > parameters, the title was cached and not the content, and visa versa.
> > The ONLY way I found to reliably get cached was to alter the name of
> > my php file, e.g., gadgetserver2.php for each test case.
>
> > What gives?  This same xml is working fine in MySpace and hi5, but
> > Orkut has been just frustrating.  Luckily the random javascript errors
> > appeared to have stopped.
>
> > Can anyone who has gone through this process successfully help out?
>
> > Thanks
>
> > Ken
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to