On Fri, 2006-01-27 at 17:45 +0100, Andreas Hartmann wrote:
> Josias Thoeny wrote:
> > Hi,
> > 
> > I would like to remove the
> 
>  > DocumentURLModule
> 
> +1
> 
> > and the ProxyURLModule from
> 
> IMO it would be nice to get the "base url" from the proxy URL module too,
> so that it can be used for non-document URLs as well, e.g.:
> 
> {proxy:baseUrl}/images/foo.gif  --> http://www.foobar.com/images/foo.gif
> 
> That would make it indenpendent from documents, and refactoring into
> the DocumentInfoModule might not be appropriate.

I had the intention to write a new module to get the base proxy url,
independent of the document. 
But of course we can also keep the existing proxy-module and add the
attribute "baseUrl" there.

The reason for me to write a separate module was because I wanted to get
the base url even if no proxy is defined. (The result would be
{context-path}/{pub-id}/{area}).

Which option do you like better?

Josias


> 
> I implemented that for a customer project, if nobody objects I'll check it in.
> 
> -- Andreas
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to