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 url with no space can need special or
manual conversion.)
Niklas

On Feb 28, 8:14 pm, Andrew Badera <and...@badera.us> wrote:
> 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 you,
>
> > Brian in Atlanta
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to