[Google Wave APIs] Re: Serving a dynamic gadget from the robot app

2009-11-09 Thread hcvst

Hi Flavio,

let your bot add the gadget and include some query-string parameters
such as
the wave-id when it does, so that you can correlate in subsequent
requests on that
id.

I've used that approach for my wavedirectory.net. Source available at
github.
http://example.com/gadget.xml?waveid=id

Regards,
HC


On Nov 7, 4:44 pm, Flavio Coelho fccoe...@gmail.com wrote:
 Hi I want to serve a gadget which I modify according to data collected
 by the robot. So I want to generate the gadget XML dynamically and
 serve at using the same app for example at myrobot.appspot.com/gadget/

 I haven't figured out how to do this.

 any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Serving a dynamic gadget from the robot app

2009-11-08 Thread pamela (Google Employee)
I believe the IMDBotty sample does something like that, using the Python SDK
and Django templates:
http://wave-samples-gallery.appspot.com/about_app?app_id=48018

- pamela

On Sun, Nov 8, 2009 at 6:05 PM, David Nesting da...@fastolfe.net wrote:

 This seems pretty straightforward to do within appengine.  Rather than
 serve a static XML document from a static_dir or static_files handler, serve
 it from a script.  The script could accept query or path parameters to
 customize the XML it emits.  If you need details, what language are you
 working in?

 David

 On Sat, Nov 7, 2009 at 6:44 AM, Flavio Coelho fccoe...@gmail.com wrote:


 Hi I want to serve a gadget which I modify according to data collected
 by the robot. So I want to generate the gadget XML dynamically and
 serve at using the same app for example at myrobot.appspot.com/gadget/

 I haven't figured out how to do this.

 any ideas?




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Serving a dynamic gadget from the robot app

2009-11-07 Thread David Nesting
This seems pretty straightforward to do within appengine.  Rather than serve
a static XML document from a static_dir or static_files handler, serve it
from a script.  The script could accept query or path parameters to
customize the XML it emits.  If you need details, what language are you
working in?

David

On Sat, Nov 7, 2009 at 6:44 AM, Flavio Coelho fccoe...@gmail.com wrote:


 Hi I want to serve a gadget which I modify according to data collected
 by the robot. So I want to generate the gadget XML dynamically and
 serve at using the same app for example at myrobot.appspot.com/gadget/

 I haven't figured out how to do this.

 any ideas?

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---