[thelist] creating RSS pages

Anthony Baratta anthony at baratta.com
Wed Jun 10 12:12:35 CDT 2009

Nan Harbison wrote:
> Hi All,
> For the first time I have to create an RSS feed. I googled it and found lots
> of resources, but can't find the answer to one really obvious question! What
> file extension do I use? I got error messages with .php, if I use .xml, it
> doesn't read the php included that is needed to draw the data out of the
> database.

It's not your local file extension. It's the HTTP content-type of the 
file you send (and you can "name" the resulting file anything you want 
with the HTTP headers).

Anthony Baratta

We must believe in free will — we have no choice.

— Isaac Bashevis Singer

More information about the thelist mailing list