Search the web
Sign In
New User? Sign Up
rss-public
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Feed Validator reports "misplaced item", seems wrong to me   Message List  
Reply | Forward Message #1812 of 1987 |
Feed Validator reports my feed is valid but recommends I fix a misplaced item:
"all item
elements should appear after all of the other elements in a channel." The order
of my tags
is as follows (with dummy stuff plugged in), and I believe this conforms to
specifications:

<?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>
<item>
<title>MY TITLE FOR FIRST ITEM HERE</title>
etc etc, for a number of items, down to ...
</item>
<atom:link href="MY LINK HERE" rel="self" type="application/rss+xml" />
</channel>
</rss>


But Feed Validator reports that the <item> tags (I have a number of items in the
feed) are
out of place... "all item elements should appear after all of the other elements
in a
channel."

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

Thx,
Ken




Wed Nov 19, 2008 9:27 pm

kengorman238
Offline Offline
Send Email Send Email

Forward
Message #1812 of 1987 |
Expand Messages Author Sort by Date

Feed Validator reports my feed is valid but recommends I fix a misplaced item: "all item elements should appear after all of the other elements in a channel."...
kengorman238
Offline Send Email
Nov 19, 2008
10:47 pm

Hello, On Wed, Nov 19, 2008 at 1:27 PM, kengorman238 <ken@...> wrote: [...] ... Your need is valid. The complaint it makes, though, is a ...
Charles Iliya Krempeaux
supercanadian@...
Send Email
Nov 19, 2008
10:57 pm

Charles, thanks for tip, I'll check it out. (I recall seeing somewhere, but can't remember where, that the <atom...> line goes after the last item, and that's...
Ken Gorman
kengorman238
Offline Send Email
Nov 21, 2008
12:27 am

... Exactly right. If I'm misinterpreting the RSS Profile, let me know and I will correct the feedvalidator. Meanwhile all the feedvalidator is attempting to...
Sam Ruby
sa3ruby
Online Now Send Email
Nov 21, 2008
2:12 am

I realize it's just a recommendation, but I'm trying to be as "clean" as possible. I'm wondering if the validator is correct or not regarding placement of that...
Ken Gorman
kengorman238
Offline Send Email
Nov 21, 2008
10:05 am

... You're interpreting the profile correctly. It has this recommendation in the Channel section: "All item elements SHOULD appear after all of the other...
rcade
Offline Send Email
Nov 21, 2008
2:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help