(This is hedronist in his disguise as himself, whatever that means.)
> www.mysite.com/sprint_cellular_M1000/
Ah, something specific. Of course, it doesn't look like what you first
posted, but I kind of suspected that. I'll say it one more time, if
you have a specific problem, then you need to specifically say what it
specifically is or people can't give you specific help. At least,
that's generally true. :-)
Still plugging away: by plugging that in to the previous pattern, we
get:
>>> import re
>>> x = 'sprint_cellular_M1000/'
>>> m = re.match(r'^(?P<manufacturer>[\w-]+)_(?P<line>[\w-]+)/$', x)
>>> print m.groupdict()
{'line': 'M1000', 'manufacturer': 'sprint_cellular'}
Which looks like it could work to me. Or did you want 'sprint',
'cellular', and 'M1000' as separate items? In which case, what's the
name for the third item? And why didn't you mention it in the first
place?
> From what I understand google will think that the second second
> example is more important than the first example because it's only one
> level from the root.
> Has anybody else heard of this?
Yeah, I have -- that and a whole lot more. The site I just finished
brought in a $500/hour SEO voodoo priest to design their "silos" and
it caused us to do handstands avoiding /class/id type URLs. I'm not
certain it makes any difference, but he must know something I don't in
order to get that billing rate. Maybe he convinces people that
'gullible' is not in the dictionary.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---