Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

rss feed won't validate when I use the element?

Hi

I'm trying to use the <itunes:order> element -
http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/AddingContent/chapte r12_section3.html

When I run my feed through the W3C rss validator it won't validate. It says - Undefined item element: itunes:order

I also get a recommendation which says - Use of unknown namespace: http://www.itunesu.com/feed

As far as I can tell I'm doing everything correctly. The iTunes and iTunesU namespaces are declared correctly in the root rss element and the itunes:order are where they should be within the <item></item> element.

What am I doing wrong? Any help would be much appreciated.

Here's my rss feed -

<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:itunesu="http://www.itunesu.com/feed" version="2.0"><channel xmlns:itunesu="http://www.itunesu.com/feed" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents: all items - Dec 31 2099 12:00AM</title><link> http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><description>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</description><itunes:summary>Audio podcasts and pdf doucments from LSE's programme of public lectures and events</itunes:summary><managingEditor>lsewebsite@lse.ac.uk (LSE Web Services: Rich Media Producer)</managingEditor><itunes:owner><itunes:name>LSE Web Services: Rich Media Producer</itunes:name><itunes:email>lsewebsite@lse.ac.uk</itunes:email></itunes :owner><webMaster>lsewebsite@lse.ac.uk (LSE Web Services: Rich Media Producer)</webMaster><language>en-uk</language><copyright>Copyright © Terms of use apply see http://www2.lse.ac.uk/aboutThisWebsite/termsOfUse/</copyright><itunesu:category code="110" text="Social Science"/><category>Social Science</category><itunes:explicit>no</itunes:explicit><itunes:author>London School of Economics and Political Science</itunes:author><itunes:block>No</itunes:block><generator>SQL</generator ><image><url> http://www2.lse.ac.uk/assets/richmedia/webFeedImages/rss_144/PublicLecturesAudio Generic.jpg</url><title>London School of Economics: Public lectures and events : Audio Podcasts and PDF Documents</title><link> http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/</link><width>144</width><height>144</height></image><itunes:image href="http://www2.lse.ac.uk/assets/richmedia/webFeedImages/iTunes_300/PublicLec turesAudioGeneric.jpg"/><pubDate>Mon, 7 Feb 2011 11:45:00 GMT</pubDate><lastBuildDate>Mon, 7 Feb 2011 11:45:00 GMT</lastBuildDate>

<item><title>LSE Summer School 2010 - Business strategy in a global age [Audio]</title><itunes:author>Professor Costas Markides</itunes:author><link> http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 94</link><itunes:duration>01:25:21</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/20100712 1730businessStrategyInAGlobalAge.mp3" length="41003598" type="audio/mpeg"/><guid isPermaLink="false"> http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007121730businessStrategyInAGlobalAge.mp3?iTunesRSSPublicLecturesandEvents9999AudioTransc riptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</description><itunes:summary>Speaker(s): Professor Costas Markides | Robert P Bauman is Professor of Strategic Leadership at London Business School. Connson Locke is Lecturer in Management at LSE EROB Group.</itunes:summary><itunes:order>1</itunes:order><pubDate>Mon, 12 Jul 2010 17:30:00 GMT</pubDate></item>

<item><title>Global Justice [Audio]</title><itunes:author>Professor Amartya Sen</itunes:author><link> http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 92</link><itunes:duration>01:24:10</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/20100708 1830globalJustice.mp3" length="20233863" type="audio/mpeg"/><guid isPermaLink="false"> http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007081830globalJustice.mp3?iTunesRSSPublicLecturesandEvents9999AudioTranscriptSlidesDocum entJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</description><itunes:summary>Speaker(s): Professor Amartya Sen | In the first dialogue of the Global Policy Dialogue series, Amartya Sen and David Held will discuss Sen's new book, The Idea of Justice. Injustices in the contemporary world include global inequities as well as disparities within nations. Understanding the demands of justice in each context requires public reasoning, and the challenges of global justice specifically call for global public reasoning. The Idea of Justice also investigates the contributions of human rights movements to the removal of some of the nastiest cases of injustice in the world in which we live.</itunes:summary><itunes:order>2</itunes:order><pubDate>Thu, 8 Jul 2010 18:30:00 GMT</pubDate></item>

<item><title>The Secret State: preparing for the worst 1945-2009 [Audio]</title><itunes:author>Professor Peter Hennessy</itunes:author><link> http://www2.lse.ac.uk/newsAndMedia/videoAndAudio/publicLectures/player.aspx?id=6 91</link><itunes:duration>01:15:14</itunes:duration><itunes:explicit>No</itunes:ex plicit><enclosure url="http://richmedia.lse.ac.uk/publicLecturesAndEvents/20100707 1830theSecretStatePreparingForTheworst1945-2009.mp3" length="36141201" type="audio/mpeg"/><guid isPermaLink="false"> http://richmedia.lse.ac.uk/publicLecturesAndEvents/201007071830theSecretStatePreparingForTheworst1945-2009.mp3?iTunesRSSPublicLecturesandEvents 9999AudioTranscriptSlidesDocumentJan1200612:00AMDec31209912:00AM</guid><description>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</description><itunes:summary>Speaker(s): Professor Peter Hennessy | Peter Hennessy will examine the most secret files recently declassified from the Cold War years and contrast the Secret State of the 1940s, 50s, 60s, 70s and 80s with the the new protective state the UK has constructed since 9/11. Peter Hennessy is Attlee Professor of Contemporary British History at QMUL and was recently elected a Fellow of the British Academy as well as being an Honorary Fellow of LSE. Before joining the Department in 1992, he was a journalist for twenty years with spells on The Times as a leader writer and Whitehall Correspondent, The Financial Times as its Lobby Correspondent at Westminster and The Economist. He was a regular presenter of the BBC Radio 4 Analysis programme from 1987 to 1992. In 1986 he was a co-founder of the Institute of Contemporary British History.</itunes:summary><itunes:order>3</itunes:order><pubDate>Wed, 7 Jul 2010 18:30:00 GMT</pubDate></item>

</channel>
</rss>

Dell T5400, Windows XP, iPhone 4 32GB

Posted on Feb 7, 2011 5:28 AM

Reply
2 replies

Feb 7, 2011 10:45 AM in response to Tom_Williams

I've run a couple of the Stanford iTunesU rss feeds through the W3C validator they seem to have similar problems with the <itunes:order> element and other itunes/itunesu name space issues.

Is it simply the case that the W3C validator and feedvalidator.org do not support the iTunesU name space and/ or the <itunes:order> element?

If so would be grateful if someone could confirm.

Thanks

Jun 18, 2011 11:29 AM in response to Tom_Williams

I have been in touch with someone at Apple and I was advised that I shouldn't worry about this.


It would seem that the feed validator doesn't recognise the iTunes U namespace and some of the iTunes and iTunes U specific feed elements. The use of an unknown namespace gives an adviosry note and <itunes:order> and <itunesu:category> elements will not validate at all. I suspect there may be other elements that I haven't used in our feeds.

rss feed won't validate when I use the element?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.