oh neat!

at first i thought this was for some sort of preview text, then
realized it was for a url friendly marker

i do something a little different.

also, i'd check to make sure what you get the url chars from. last i
checked, most things in python, perl, etc were written to rfc 1738 or
2396 but rfc 3986 was the current.

anyways, i have a url encoding module as such:

   http://paste.pocoo.org/show/QOLc8c6FD7Mqvyu28lSg/

which references some functions in a Misc package

   http://paste.pocoo.org/show/123669/

then i call it through:

   ( standardized, stripped, metaphoned ) = string_to_webtitle_data
( string )

which gives me the slug, a nice text display version, and a metaphone
encoding.

it's less useful for social-bookmarking and more useful for creating
'dictionary' or 'phonebook' style directories


--~--~---------~--~----~------------~-------~--~----~
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