i'm building a simple site where users can post comments about "things".
What I want to do is in some way "analyze" the comment they post to detect Links (and provide tags) images (maybe display previews), videos, etc.
I'm building the site with django. I think there must be some kind of library to do that server side, and must be some plugin for JQuery.
What do you recommend? Do you know something that can help me with that? Is it better to do it client side or server side?
Thanks a lot!
EDIT:
I'll use an example. Suppose a user post this comment:
"Hello guys, i love this new site: example.com"
That should be translated to:
"Hello guys, i love this new site: <a href='http://example.com'>example.com</a>"
Plase note that i don't want to use a WYSIWYG editor!