I run a phototgraphy site, and each product has an associated photograph. A small number of products have two or three photographs.

My question is how do I create a dynamic media RSS feed?
http://en.wikipedia.org/wiki/Media_RSS

I need to creat an xml file on the fly that contains this info for each product:
Code:
 <item>
                    <title>A.jpg</title>
                    <link>pl_images/A.jpg</link>
                    <media:thumbnail url="pl_thumbs/A.jpg"/>
                    <media:content url="pl_images/A.jpg"/>
                </item>
with the actual title, links, and urls being generated to match the image associated with the product.

-Josh Fisher