I'm using a dynamic url like this:
1)
http://dev.gwidgets.com/gadgetserver1-c.php?bpc=1&gid=82&pid=os&site=orkut.com
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 file
http://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