Actually, I just learned that that won't work. What you can do is add the same robot but differentiate based on the robot name. For example, you can use robot addresses "[email protected]", "[email protected]", etc. and then parse the gadget name out of the robot address and add it to the wave.
Thanks, -joe On Mon, Apr 19, 2010 at 11:39 AM, Joe Gregorio <[email protected]> wrote: > On Sun, Apr 18, 2010 at 12:00 AM, Brian <[email protected]> wrote: >> I'm trying to create an extension that adds several actions to the >> "New Wave" menu. Each action should create a new wave, add my robot, >> and insert a gadget, where the gadget is different for each action. >> From this message: >> http://www.mail-archive.com/[email protected]/msg02460.html >> , it appears that it's not possible to specify the gadget to be added >> using the extension manifest. > > Yes, you can specify the gadget to be added using the > extension manifest: > > http://code.google.com/apis/wave/extensions/installers/index.html#Actions > > Here is an example: > > http://wave-skynet.appspot.com/public/extensions/areyouin/manifest.xml > > Thanks, > -joe > > -- > Joe Gregorio > Developer Relations, Google Wave > >> A workaround would be to have the robot >> insert the gadget when it's added to the new wave, but since a >> different gadget is required for each action it seems like I would >> need multiple robots. I don't see a way to do that other than by >> creating an entirely separate app and robot for each distinct gadget, >> which seems ugly. >> So, my questions: >> - Is there a way to have an extension action create a new wave and add >> a specified gadget to it? >> - Is there any mechanism to pass any sort of state to a new wave >> created from an extension action? That way the robot could read the >> state and add the correct gadget. >> - Is it possible to have multiple robots running out of a single App >> Engine app? >> - Or is there a better approach to this problem that I'm overlooking? >> >> Thanks, >> >> Brian >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Wave API" 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/google-wave-api?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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/google-wave-api?hl=en.
