malformed RSS feed

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

  1. lawrence

    lawrence Guest

    lawrence, Nov 18, 2004
    #1
    1. Advertising

  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. Advertising

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:
    514
    Roland Wolters
    Jul 27, 2003
  2. Replies:
    5
    Views:
    824
    SpaceGirl
    Feb 25, 2005
  3. Motta
    Replies:
    1
    Views:
    582
    Andy Dingley
    Jun 9, 2004
  4. Scott Gordo
    Replies:
    5
    Views:
    759
  5. Jonathan Groll
    Replies:
    1
    Views:
    324
    Kouhei Sutou
    Jun 27, 2009
Loading...

Share This Page