Just as a learning exercise, I was trying to make a bot that converts
phone numbers to sip: uri's, but it seems that
doc.SetAnnotation(document.Range(match.start(), match.end()),
"link/manual", 'sip:' + ''.join(match.groups()))
just causes it to spit out a link to '/'
while
doc.SetAnnotation(document.Range(match.start(), match.end()),
"link/manual", 'http://example.com/' + ''.join(match.groups
()))
works just fine.
Is this a bug or is that working as it's intended? Do other uri's
work like 'irc:" or 'ftp:'?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---