roxen.lists.roxen.general

Subject Author Date
Re: Creating a file/dir listing via emit dir in sitebuilder Peter Ohlerich <peter[dot]ohlerich[at]uni-bielefeld[dot]d> 20-04-2006
Peter Jönsson schrieb:
> The path attribute is only needed for changing from the current dir.
> Remove the . or the entire path attribute, and it should work.
> 
Hello!

Thanks for your answer.

I just tried:

<ul>
  <emit source='dir' path='' glob='*' notitle='yes' >
     <li>Dirname: &_.dirname; Filename: &_.filename; Path: &_.path;
Titel: &_.title;</li>
  </emit>
</ul>

and also

<ul>
  <emit source='dir' glob='*' notitle='yes' >
     <li>Dirname: &_.dirname; Filename: &_.filename; Path: &_.path;
Titel: &_.title;</li>
  </emit>
</ul>


The result was an empty output.

With regards,

Peter Ohlerich.

-- 
----------------------------------------------------------------------
HRZ der Universitaet Bielefeld  Phone: +49 521 106-00
Dipl.-Inf. Peter Ohlerich      Email: <Peter.Ohlerich[at]uni-bielefeld.de>
P.O.Box 100131                   WWW: http://www.uni-bielefeld.de/hrz/
D-33501 Bielefeld (Germany)