[development] links best practices (was Re: internal link filter ...)

Ray Zimmerman rz10 at cornell.edu
Sat Aug 12 17:52:26 UTC 2006


As a follow-up ...

On Aug 4, 2006, at 7:30 PM, Morbus Iff wrote:
> Actually, for what it's worth, we should NOT use internal:// or  
> *any* foo:// patterns. Doing so, even internally, is a creation of  
> what appears to be a new protocol, even though it's actually not.  
> We should instead create a new URN, such as internal:node/4. Apple,  
> in the past two years or so, I think, got flamed for using  
> webcal:// for it's iCal application, where webcal was merely a file  
> format, and not a protocol.

Path Filter (http://drupal.org/project/pathfilter) has been updated  
accordingly. From the README.txt ...

Path Filter takes internal drupal paths in double quotes, written as
e.g. "internal:node/99", and replaces them with the appropriate absolute
http URL using drupal's url() function.

    Ray


More information about the development mailing list