RSS feed from 1.6dev fails to validate

RSS feed from 1.6dev fails to validate

deur Dan Stowell -
Getal antwoorde: 1
I used http://feedvalidator.org/ to check the RSS coming from my Moodle 1.6dev site. It found various errors. The report was:

  • line 10, column 31: managingEditor must include an email address [help]

        <managingEditor>Dan Stowell</managingEditor>
                                   ^
  • line 11, column 26: webMaster must include an email address [help]

        <webMaster>Dan Stowell</webMaster>
                              ^
  • line 23, column 50: pubDate must be an RFC-822 date-time [help]

          <pubDate>Thu, 16 Mar 2006 07:55:27 +22333901</pubDate>
                                                      ^
  • line 26, column 0: Missing enclosure attribute: length [help]

    <enclosure url='http://www.ucl.ac.uk/is/fiso/lifesciences/test/moodlemoddev/ ...

In addition, this feed has issues that may cause problems for some users. We recommend fixing these issues.

  • line 15, column 78: Image link doesn't match channel link [help]

          <link>http://www.ucl.ac.uk/is/fiso/lifesciences/test/moodlemoddev/mood ...
                                                                                  ^
  • line 27, column 4: item should contain a guid element [help]

        </item>
I was testing to see if the "enclosure" would work as a podcast feed, but iTunes rejected it so I went to the validator.

Is anyone working on this at the moment? I could fix these problems according to my own thoughts, which are:
  • remove managingEditor and webmaster tags completely, since I'm reluctant to automatically include the admin email address
  • include a guid - this is easy
  • fix pubdate
  • enclosure length may be tricky, but I can look into it
(BTW I'm aware of the "ipodcast" module - I just wanted to get the default forum RSS working nicely with enclosures.)
Gemiddeld van beoordelings: -
In antwoord op Dan Stowell

Re: RSS feed from 1.6dev fails to validate

deur Dan Stowell -
I have fixed these issues in the RSS output and there's a patch submitted as:

bug 4929

If anyone can test these changes and let me know how they get on, that would be really helpful.
Gemiddeld van beoordelings: -