Reading from a text file and outputting to a microformat

Reading from a text file and outputting to a microformat

Hi,

I'm getting to grips quickly with the power of jQuery but have it a bit of a problem. I have a design for a website which will utilise both microformats, moustach and jQuery in two ways.

Effectively, what I'd like to do is something like this

jQuery reads the text file (set up like this)

photoName.jpg
photoName_thumbnail.jpg
caption text

There can be any number of these

jQuery and moustach interact and moustach (or ICanHaz) injects into the microformat

I know how I can read from the text file, but I'm not how to the rest - any hints on how I can do a recursive read and inject?

Thanks

Paul