Top-rated recipes tagged "beautiful"http://code.activestate.com/recipes/tags/beautiful/top/2008-09-21T07:22:06-07:00ActiveState Code RecipesCreating beautiful urls from user generated text (Python)
2008-09-21T07:22:06-07:00Mark Zitnikhttp://code.activestate.com/recipes/users/4166559/http://code.activestate.com/recipes/576511-creating-beautiful-urls-from-user-generated-text/
<p style="color: grey">
Python
recipe 576511
by <a href="/recipes/users/4166559/">Mark Zitnik</a>
(<a href="/recipes/tags/beautiful/">beautiful</a>, <a href="/recipes/tags/url/">url</a>, <a href="/recipes/tags/web/">web</a>).
Revision 3.
</p>
<p>Most of the web sites that work with user generated content use the text that was entered by the user as the url for this specific item and usually the user enter charates like ' '(space) '&', '.' and some other char that you want to remove or convert to _ , _and_ , _dot_. So i have wrote a dynamic code that you can setup what chars you what to change.</p>