Re: [Hypercontent-users] Project Definition Include
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2006-07-18 14:36:00
|
Hey Adam, The brackets are used in a case where you want to include an alternate form of output after resolving a relative path. For example, if the current path was /pages/docs/help/starting/index.xml and you specify an include [/cal/]/!/!/!/rss.xml The system will first resolve the relative path to /pages/docs/help/rss.xml and will then look for the form of output of that file at the basedir "/cal/" /cal/pages/docs/help/rss.xml In this example, an identical result could be achieved by specifying the include as [/cal/]../rss.xml It is important to note that this syntax is NOT currently compatible with wildcard patterns - if you have any * characters in the include, you'll get no results. The main goal of this syntax is to make it easy to include RSS or calendar XML output from a single navigation or search file. Alex On Jul 18, 2006, at 10:23 AM, Adam Carl wrote: > Alex, > > I noticed in one of your project definitions the use of brackets in > the source path for an include. > Example: <include data="yes" metadata="no" source="[/ > cal/]/!/!/!/rss.xml"/> > > Can you explain what that is used for? > > Thanks, > > Adam Carl > Programmer > CUIT Web Services > ac...@co... > > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |