It doesn't appear that setAnnotation() with a "link/manual" type supports anything aside from http:// as a URI type. Are there plans to change this? Am I just doing it wrong?
I'm trying to write a robot for an internet spaceships MMO (EVE Online) that uses an in-game browser based on Chromium. There are some game-aware extensions to the browser that allow you to launch in-game windows by clicking on links or calling a built-in JS function. An example link might look like this: "showinfo:5//30004099" and the JS function call looks like this: "javascript:CCPEVE.ShowInfo(5, 30004099);" (both do the same thing - the first one is a bastardized old version - the JS is the new version). I'm trying to figure out how to get a robot to recognize terms used in a blip and rewrite them into either one of these types of links without needing to replace the text with a gadget or something a little less user friendly like that. Try as I might, setAnnotation() seems to squash any non-standard URI you use. It sets the link, but the link text is empty and just resolves to "#". Just for giggles, trying the same thing using the link button from within the actual Wave client yeilds even more interesting results. If it doesn't recognize the URI as being valid, it urlencodes it and then slaps "https://wave.google.com/wave/#restored:wave:" onto the beginning of it (which I think is it assuming that you typed in a Wave ID). So - basic questions: 1) Am I just doing this wrong? 2) Is it likely that setAnnotation and/or the linking engine will accept non-standard URIs as input? (up to and including javascript:) If the answer is "No" to both of those, I'll just code the robot to insert a gadget, it's just not as clean as I'd like it to be. Thanks! - Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---