[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-15 Thread Luke
Hi Ken, If you use apache you can use mod_rewrite to create a rewrite rule in your .htaccess to satisfy the need for a static url and that translate into a dynamic script. example .htaccess file: RewriteEngine On RewriteRule ^orkut.xml DYNAMIC_SCRIPT Then you simply give your orkut gadget url

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-06 Thread Jason
Hi Ken. I wouldn't count on any fixes right around the corner. I recommend parsing by path from here on out since that should work reliably across containers. - Jason On Jun 6, 6:58 am, kennyjay <[EMAIL PROTECTED]> wrote: > Thanks Jason, > > Hi5 and MySpace both support query string params very

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-06 Thread kennyjay
Thanks Jason, Hi5 and MySpace both support query string params very well. I thought it was safe to assume that it would work here. Is this something you will support in the future? Regards Ken On Jun 5, 12:21 pm, Jason <[EMAIL PROTECTED]> wrote: > Hi Ken. Yes, I think that's exactly what hap

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-05 Thread Jason
Hi Ken. Yes, I think that's exactly what happened -- most of the time, the application specification is a literal XML file. Since the specification's URL is passed as a query string parameter to the orkut proxy, the URL can't have any parameters of its own. In this case, changing to a path-based a

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-03 Thread kennyjay
Hi Jason What I found in the end was that a url such as ours was not handled properly by Orkut. Our original url was: http://prod.gwidgets.com/gadgetserver.php?gid=81&site=orkut.com&pid=os&bpc=1 Orkut rendered it's iframe as: http://42ls3815uh72t4hun5udfcs327esfmeo.sandbox.orkut.gmodules.com/

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-06-02 Thread Jason
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/Ap

[orkut-developer] Re: Malformed XML error and Caching frustration

2008-05-27 Thread kennyjay
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