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

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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 #1814 of 1975 |
Re: [rss-public] Feed Validator reports "misplaced item", seems wrong to me

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 why I place it
there in feeds that my site generates.)

Anyway, thanks again.

Ken



On Nov 19, 2008, at 2:57 PM, Charles Iliya Krempeaux wrote:

> Hello,
>
> On Wed, Nov 19, 2008 at 1:27 PM, kengorman238 <ken@...> 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/
>
>



[Non-text portions of this message have been removed]




Thu Nov 20, 2008 10:17 pm

kengorman238
Offline Offline
Send Email Send Email

Forward
Message #1814 of 1975 |
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