malformed RSS feed

Discussion in 'XML' started by lawrence, Nov 18, 2004.

  1. lawrence

    lawrence Guest

    lawrence, Nov 18, 2004
    #1
    1. Advertisements

  2. lawrence

    Joris Gillis Guest

    > Hey, I'm working on a PHP script to make an RSS feed for my weblog.
    > I've got a "malformed" error at this validator:
    >
    > http://feedvalidator.org/check.cgi?url=http://www.krubner.com/rss/page1907.xml
    >
    > I don't know enough about XML or RSS to figure this out. I've read
    > over this document:
    >
    > http://www.w3.org/TR/REC-xml/#sec-well-formed

    Hi,

    The XMl is not well formed:
    <?xml version="1.0" contentType="application/xml; charset=UTF-8" encoding="UTF-8"?>
    The 'contentType' attribute is illegal, just omit it, like this:
    <?xml version="1.0" encoding="UTF-8"?>

    regards,
    --
    Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
    Ceterum censeo XML omnibus esse utendum
     
    Joris Gillis, Nov 18, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roland Wolters

    RSS Feed

    Roland Wolters, Jul 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    627
    Roland Wolters
    Jul 27, 2003
  2. George Durzi

    Finance News RSS Feed

    George Durzi, Dec 3, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    591
    George Durzi
    Dec 3, 2003
  3. Aaron

    Limit RSS Feed

    Aaron, Dec 6, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    579
    Aaron
    Dec 6, 2003
  4. Anonymous

    Generate the rss feed at a given time ?

    Anonymous, May 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    451
    Anonymous
    May 15, 2004
  5. Replies:
    5
    Views:
    1,072
    SpaceGirl
    Feb 25, 2005
  6. Motta
    Replies:
    1
    Views:
    776
    Andy Dingley
    Jun 9, 2004
  7. Scott Gordo
    Replies:
    5
    Views:
    997
  8. Jonathan Groll
    Replies:
    1
    Views:
    570
    Kouhei Sutou
    Jun 27, 2009
Loading...