Re: Feed Validator reports "misplaced item", seems wrong to me

"Charles Iliya Krempeaux" <[email protected]> Wed, 19 Nov 2008 14:57:47 -0800
Newsgroups gmane.network.syndication.rss.support
Message-ID <[email protected]>
Hello,


On Wed, Nov 19, 2008 at 1:27 PM, kengorman238 <[email protected]> wrote:

[...]

> What am I doing wrong? Isn't the above exactly compliant with 2.0 specs?

Your need is valid.  The complaint it makes, though, is a
recommendation. (I.e., it's suggesting you do something for various
reasons.)

Feed Validator is probably complaining about the...

<atom:link href="MY LINK HERE" rel="self" type="application/rss+xml" />

... near the end of your code.

It is suggesting you put this BEFORE any of the <item> elements.


So if you were to change your code to...

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>MY TITLE HERE</title>
<link>MY LINK HERE</link>
<description>MY DESCRIPTION HERE</description>
<language>en-us</language>
<pubDate>Mon, 16 Jun 2008 07:31:32 -0700</pubDate>
<generator>MY GENERATOR NAME HERE</generator>
<webMaster>MY EMAIL ADDR HERE</webMaster>

<atom:link href="MY LINK HERE" rel="self" type="application/rss+xml" />

<item>
<title>MY TITLE FOR FIRST ITEM HERE</title>
etc etc, for a number of items, down to ...
</item>

</channel>
</rss>

... then it should be OK.


--
Charles Iliya Krempeaux, B.Sc.
http://changelog.ca/

Canadian Economics Forum - http://forum.freemarkets.ca/

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-public/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rss-public/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/