This script is amazing. I tried it and it works perfect as it is. Thanks a lot.
But, for this to work in my case, i need some modifications, i thought maybe you could shed some light on what i want to do.
I’m a copy/paster when it comes to php, so any help is appreciated.
Well what i want to do with the script is:
I’m trying to setup a kind of an online record label for some bands i work with. And i’m doing this using wordpress with special templates and the “SimplePie” rss parser plugin.
I want the users to upload their files to a directory on the server. The rss generator script will generate the uptodate rss and the simplepie will parse it in a wordpress page.
So, i have a tree structure like this:
|-a user folder
|-another user folder
and so on…
The script, as it is, ignores the subdirectories. Is it possible to modify the script to output something like this:
link to the mp3 file
mp3 file name
I’m not really sure about the xml syntax, but i guess this gives an idea of what i want to achieve.
Where should i start?
Thanks in advance.