[thelist] creating RSS pages

Will willthemoor at gmail.com
Wed Jun 10 22:52:21 CDT 2009


http://www.ibm.com/developerworks/xml/library/x-phprss/ is the
tutorial I used to get a handle on it. sounds like you might just be
missing the

header("Content-Type: application/rss+xml");

part.

On Wed, Jun 10, 2009 at 10:20 AM, Nan Harbison<nan at nanharbison.com> wrote:
> Anthony,
>
> Hmmm, I am not sure I understand this! I am trying to have the page validate
> on feedvalidator.org and it has to show up on a web page,  I am trying to
> copy this page:
> http://www.concordtv.org/site/cbbrss
> For a local TV station
>
> I have followed directions on various how to do rss sites, and it doesn't
> validate. I get an undefined root element, which was copied RIGHT from a
> tutorial!
>
> Thanks for your help.
> Nan
>
>
> -----Original Message-----
> From: Anthony Baratta [mailto:anthony at baratta.com]
> Sent: Wednesday, June 10, 2009 1:13 PM
> To: nan at nanharbison.com; thelist at lists.evolt.org
> Subject: Re: [thelist] creating RSS pages
>
> 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
>
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list