Ignore the fact I've named my function incorrectly.

On Oct 17, 4:11 pm, JamesBrooks <[email protected]> wrote:
> So I'm using this function for my OnBlipSubmitted event:
>
> def OnBlipCreated(properties, context):
>         logging.debug("Blip created!")
>         blip = context.GetBlipById(properties['blipId'])
>         blipText = blip.GetDocument().GetText()
>         logging.debug("TEXT: " + blipText)
>         regex_url = r'http:\/\/([\w.]+\/?)\S*'
>         logging.debug("Just past the regex_url variable!")
>         logging.debug(regex_url)
>         for match in re.finditer(regex_url, blipText):
>                 url = match.group(0)
>                 #logging.log(blipText.replace(url, TehGDURL(url))
>                 logging.debug("Short url created!")
>
> The logging works when the blip does not contain the URL, however as
> soon as there is a URL inside of the blip, nothing is logged. Matching
> the URL should work 100% there, why does Wave not send the URL
> created?
>
> James
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to