Add links to a text with URLs
03 November 2004
I've now written a little something that is able to convert a piece of text and make URLs into hyperlinks. Here's an example:
Go to www.abc.com and firstname.lastname@example.org
Go to <a href="http://www.abc.com">www.abc.com</a> and <a href="mailto:email@example.com">firstname.lastname@example.org</a>
Most of you have probably seen this in the way emails are displayed within their email program. See this screenshot:
Now, what my little program does is that it attempts to accomplish the same effect. The script is written in Python and will be available for download here soon. First I just want you people to help me find any bugs first.