Unidecode maps every unicode character to a ASCII char. That's why it's
so big. Slugs are used for url generation that is SEO friendly and self
explainatory. Most cases are blog entries mapped to URLs. Having
numerical ids in URLs to map resources has many cons.

I could ask the unidecode author to release package on pypi and
WebHelpers users would require them by need basis.
> On Sat, Jun 6, 2009 at 6:17 PM, Domen Ko�ar<ielect...@gmail.com> wrote:
>   
>> Hey guy, today I threw together this little function helper that I
>> miss a lot in WebHelpers.
>>
>> unidecode module can be obtained from
>> http://code.zemanta.com/tsolc/unidecode/releases/Unidecode-0.04.1.tar.gz
>>
>>
>> source: http://paste.pocoo.org/show/121523/
>>     
>
> Hmm, Unidecode is 1.4 MB, which is bigger than WebHelpers.  What are
> you using the slugs for?  What general purpose would they have in
> other sites?
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to