A RSS feed is just a web page by a different name. To produce a 'feed' you create a dynamic webpage from your database that conforms to the RSS specification.
Also look at other peoples feeds. IMHO 'firefox' displays them in a way that makes them easy to understand. Look at the document source and you should get the idea.