The <filelist>
tag
<filelist>
provides a list of files for download. It provides
links to the files, including their size.
For security reasons, Corbon requires you to give the file extensions for which you want to provide files — it doesn't list all files by default.
Attributes
- include: The file extensions to include, seperated by commas. You shouldn't include the dot, just use "mp3,mov,png".
Todo
Provide more configurability: define how you want to style the output,
including the file sizes. Also, use <ul>
instead of break tags.
Example
To show a list of all MP3's and WAV's in the current directory, use this:
<filelist include="mp3,wav"/>
The result will be: