Solved

RSS is valid, but improvement recommendations are confusing.

Posted on 2016-11-07
3
47 Views
Last Modified: 2016-11-08
https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.magickitchen.com%2Fnews%2Fdiabetes-feed.xml

I know it says it's a valid RSS feed, but I'm very curious as to why I'm getting these errors.

line 89, column 0: Non-html tag: guid (5 occurrences) [help]

          <guid>http://www.diabetes.co.uk/news/2016/sep/letting-your-diet-slip-l ...

line 93, column 0: description should not contain title tag [help]

I can't see anything wrong with the tags they are referencing.  Thanks.

          <title>Diabetes and Your Diet: The Low-Carb Debate </title>

line 95, column 0: description should not contain link tag [help]

          <link>http://www.nytimes.com/2016/09/16/health/type-2-diabetes-low-car ...
0
Comment
Question by:mel200
  • 2
3 Comments
 
LVL 27

Expert Comment

by:Dan McFadden
ID: 41878682
The validator is complaining about the element "<guid>" which is not a valid HTML element.  If you were to remove that item, it would render.  The <guid> element is preventing the previous closing tag of the description from being properly seen and causing the all of the validation issues.

Dan
0
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41878684
There is a missing bracket on line 86 in the CDATA field.

<description><![CDATA[Letting your diet slip linked with 34 per cent increased risk of type 2 diabetes.]></description>


That should be:

<description><![CDATA[Letting your diet slip linked with 34 per cent increased risk of type 2 diabetes.]]></description>

Open in new window


Dan
1
 

Author Closing Comment

by:mel200
ID: 41878782
Thanks, Dan! I thought it might be something like that, but I couldn't find it. :)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question