Re: [Hypercontent-users] Need a complete $baseurl
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-08-11 14:21:00
|
Hi Mike, In 2.0 you have both relative and absolute base urls available in these four parameters: rel-project-base abs-project-base rel-server-base abs-server-base Note that the absolute bases point to the HC2 server, and not the url of an external web server the content may be published to. The $baseurl parameter in HC1.4 is equivalent to rel-project-base; it will give you a "." if you're transforming a file in the root directory, ".." one level down, "../.." two levels down, etc. You can always pass an absolute base URL as a parameter to the transform in your project definition. If you're wondering how to accomplish some specific task given these constraints, post more details to the list. -Alex On Aug 10, 2005, at 10:51 AM, Mike B wrote: > Hi all, > > Is there any way to put the true baseurl into the $baseurl variable? I > currently get back only a '.' for $baseurl and it would be helpful if > this reflected the full url. > > Thanks, > Mike > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |