[google-appengine] Re: accepting user url link as input and making it a clickable link

2009-03-08 Thread thebrianschott
I got around to trying urlize on my production app and it works fine. The problem must have been in my older version of the SDK. Thanx for your help and encouragement, Niklas Brian in Atlanta --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: accepting user url link as input and making it a clickable link

2009-03-06 Thread niklas
an understandable trivial example with pure gae (no additional django patch needed just a recent sdk): .py: path = os.path.join(os.path.dirname(__file__), 'directory', 'detail.html') a='www.google.com' self.response.out.write(template.render(path, {'a':a, ...othervariables detail.html:

[google-appengine] Re: accepting user url link as input and making it a clickable link

2009-02-28 Thread Andrew Badera
regular expressions. On Sat, Feb 28, 2009 at 2:12 PM, thebrianschott schott.br...@gmail.com wrote: Is there an easy way to recognize a part of a user's input  as a url and make it into a clickable link for other users to click on in a log application? I am using python and django. Thank

[google-appengine] Re: accepting user url link as input and making it a clickable link

2009-02-28 Thread niklas
django urlize http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#urlize django filters can clean and markup for example a variable text {{text|striptags|urlize|autolinebreaks}} there are exceptions though that won't work (com is a spanish word perhaps not part of a url and