On Fri, Jul 25, 2008 at 11:31 AM, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Marty Alchin wrote:
>> Also, though, I have to ask why you're using such a complicated URL
>> pattern in the first place? For some applications, I can understand
>> accepting a full URL, but your pattern is expecting something very
>> specific, which means you're not looking to accept just any arbitrary
>> URL. Why bother using the full URL at all then? Couldn't you just
>> append a portion of it instead, and infer the rest in your code? If
>> you're after a full, arbitrary URL, your regex is far too specific at
>> this point.
>
> The OP's trying to implement http://oembed.com/

Ah. I had noticed the mention of oembed, but hadn't looked to see what
it was or how it worked, so I didn't realized it forced such a
convention. Not my cup of tea, but then, I don't need to implement it.
:) Thanks for the link.

-Gul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to