rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Foggy on November 20, 2007, 11:16:32 AM

Title: Filters in files.lst
Post by: Foggy on November 20, 2007, 11:16:32 AM
With the addition of filters recently, they have really added new functionality to hfs but it would be good if we could use the filters on the ~files.lst file.

eg. /~files.lst?recursive&folders-filter=*
To show only folders on the list.
Title: Re: Filters in files.lst
Post by: TSG on November 20, 2007, 11:30:30 AM
I second that. I guess rejetto forgot to add it to the files.lst :)
Title: Re: Filters in files.lst
Post by: rejetto on November 22, 2007, 01:19:26 AM
filters DO work on ~files.lst
the point is that default tpl for the list has no [folder] section, so your example filter is useless.
Title: Re: Filters in files.lst
Post by: Foggy on November 22, 2007, 05:24:58 AM
hmm, I tried to use a filter with the tpl I use to create the xml for the folder tree and the search but it didnt work. I still got everything file/folder in my vfs.

Edit: my example filter doesnt work, which is why I thought filters didnt work on the files.lst. I shouldve used this filter to just get folders http://localhost/~files.lst?files-filter=/&recursive
Title: Re: Filters in files.lst
Post by: rejetto on November 22, 2007, 12:34:11 PM
=\
not =/