Ok, I have made rough filelist template (can't test it properly at work):
<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>%host%%folder% directory feed</title>
<description>Files in %host%%folder% directory</description>
<link>http://%host%</link>
<atom:link href="http://%host%%folder%~files.lst?recursive" rel="self" type="application/rss+xml" />
%files%
</channel>
</rss>
[files]
%list%
[file]
<item>
<title><![CDATA[%item-name%]]></title>
<description><![CDATA[%item-name% (%item-size%)]]></description>
<guid><![CDATA[http://%host%%folder%%item-url%]]></guid>
</item>
It seems that's as far as symbols can get it. HFS takes care of inclusion/exclusion by filetype so that question gone.
What remains:
- feed generated - timestamp in RFC822
- file created - timestamps in RFC822 (btw I only found symbol for file modification date in wiki, no symbol for creation date?)
- exclusion by file creation date (otherwise feed is going to be huge for big folder)
- symbols seems to work with current folder, if I need few - I stack them in one and use ?recursive, right?
- %item-url% takes care of spaces, converting them to %20, but it is also needed to change square brackets [ ] to %5B %5D (maybe other symbols, but these three are only one that gave me trouble with validation so far)
PS template and symbols seem so much nicer and fluffier than those scary macros
