I can't get my RSS to validate - writing a PHP script - validator throws error on "ITEM"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lawrence

    I can't get my RSS to validate - writing a PHP script - validator throws error on "ITEM"

    [cross posted to comp.text.xml]


    I can't get this page to show in Internet Explorer, so I assume the
    error is quite grave. I'm using a PHP script to write the RSS file.
    In Netscape the page shows up as plain text.

    "Item" is used in RSS .91 examples, so how can it be undefined?



    I'm running this page:




    through this validator:




    I can't get this page to validate. I'm getting two errors:

    1. pubDate must be an RFC-822 date 9 9
    2. Undefined rss element: item 12 7

    The second one makes no sense to me. "item" is used in all the
    examples they give for .91 RSS, so why is the validator giving me
    grief?
  • Andy Dingley

    #2
    Re: I can't get my RSS to validate - writing a PHP script - validator throws error on "ITEM&quot ;

    On 5 May 2004 08:37:36 -0700, lkrubner@geocit ies.com (lawrence) wrote:
    [color=blue]
    >[cross posted to comp.text.xml][/color]

    No, you multi-posted. Please learn the difference.

    --
    Smert' spamionam

    Comment

    Working...