Re: [web2py] urlify - no char mapping

2013-12-10 Thread Niphlod
no, we didn't: too dispersive and hard to maintain. On Monday, December 9, 2013 10:25:24 PM UTC+1, Richard wrote: Hello, What's happen with this? Is unidecode been added to contrib? Thanks Richard Le lundi 19 août 2013 14:35:12 UTC-4, Niphlod a écrit : it would be the first time we

Re: [web2py] urlify - no char mapping

2013-12-10 Thread Richard Vézina
Ok, thanks... It was not working with typeahead anyway... :) Richard On Tue, Dec 10, 2013 at 3:13 PM, Niphlod niph...@gmail.com wrote: no, we didn't: too dispersive and hard to maintain. On Monday, December 9, 2013 10:25:24 PM UTC+1, Richard wrote: Hello, What's happen with this?

Re: [web2py] urlify - no char mapping

2013-12-09 Thread Richard
Hello, What's happen with this? Is unidecode been added to contrib? Thanks Richard Le lundi 19 août 2013 14:35:12 UTC-4, Niphlod a écrit : it would be the first time we ship a zip archive of a module... a) do we want to update a zip from a module with 118 files? b) do we want to maintain

Re: [web2py] urlify - no char mapping

2013-08-19 Thread Niphlod
it would be the first time we ship a zip archive of a module... a) do we want to update a zip from a module with 118 files? b) do we want to maintain our own packaging system for this library in contrib ? On Monday, August 19, 2013 3:20:04 AM UTC+2, Jonathan Lundell wrote: There's always

Re: [web2py] urlify - no char mapping

2013-08-18 Thread Jonathan Lundell
Another possibility (I haven't tried it): https://pypi.python.org/pypi/Unidecode/0.04.1 -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [web2py] urlify - no char mapping

2013-08-18 Thread Niphlod
i like django-urlify and slughify module structure better ... unicodedecode is yet another module that fiddles heavily with imports (it's 118 files) and I don't see it included in contrib if we're going to include its logic in IS_SLUG()... On Sunday, August 18, 2013 10:56:41 PM UTC+2,

Re: [web2py] urlify - no char mapping

2013-08-18 Thread Jonathan Lundell
On 18 Aug 2013, at 2:22 PM, Niphlod niph...@gmail.com wrote: i like django-urlify and slughify module structure better ... unicodedecode is yet another module that fiddles heavily with imports (it's 118 files) and I don't see it included in contrib if we're going to include its logic in

Re: [web2py] urlify - no char mapping

2013-08-18 Thread Niphlod
On Monday, August 19, 2013 12:14:48 AM UTC+2, Jonathan Lundell wrote: On 18 Aug 2013, at 2:22 PM, Niphlod nip...@gmail.com javascript: wrote: i like django-urlify and slughify module structure better ... unicodedecode is yet another module that fiddles heavily with imports (it's 118

Re: [web2py] urlify - no char mapping

2013-08-18 Thread Jonathan Lundell
On 18 Aug 2013, at 5:56 PM, Niphlod niph...@gmail.com wrote: On Monday, August 19, 2013 12:14:48 AM UTC+2, Jonathan Lundell wrote: On 18 Aug 2013, at 2:22 PM, Niphlod nip...@gmail.com wrote: i like django-urlify and slughify module structure better ... unicodedecode is yet another module that

[web2py] urlify - no char mapping

2013-08-16 Thread lesssugar
I'm using the following module to convert my urls: http://pydoc.net/Python/redsolutioncms.django-hex-storage/0.1.1/pinyin.urlify/ I have urlify.py (main function) and maps.py (chars mapping) in my /modules. I test it in one of my views, simply trying to print the urlify-ed value in the

[web2py] urlify

2010-01-23 Thread Jonathan Lundell
urlify needs a comment to say explicitly what its intention is. That's partly because it suppresses quite a few characters that are normally legal in URLs, which is confusing. Also, def urlify(s, max_length=80): s = s.lower() # string normalization, eg è = e, ñ = n s =