1
F.A.Q.s / m3u or rss templates for HFS (customize MIME needed)
« on: July 07, 2009, 10:57:55 AM »
Hi all,
I need to share a folder in dir listing mode, as well as .m3u or rss podcast feeds,
I tried to edit the template to make the output looks like .m3u or rss, but some media player seems having a trouble parsing the MIME. Is there a way to define MIME in HFS template? Or more advanced, customize a HTTP header?
Or why not HFS provide a way of multiple views of dir listing, like
normal dir listing: http://127.0.0.1/mp3/
m3u for current dir: http://127.0.0.1/mp3/:m3u
m3u for .mp3 files only: http://127.0.0.1/mp3/:m3u?filter=*.mp3
currently I am using a mongoose+python script to do this, I really HFS could provide such a funtion directly
I need to share a folder in dir listing mode, as well as .m3u or rss podcast feeds,
I tried to edit the template to make the output looks like .m3u or rss, but some media player seems having a trouble parsing the MIME. Is there a way to define MIME in HFS template? Or more advanced, customize a HTTP header?
Or why not HFS provide a way of multiple views of dir listing, like
normal dir listing: http://127.0.0.1/mp3/
m3u for current dir: http://127.0.0.1/mp3/:m3u
m3u for .mp3 files only: http://127.0.0.1/mp3/:m3u?filter=*.mp3
currently I am using a mongoose+python script to do this, I really HFS could provide such a funtion directly