Solved

RSS is valid, but improvement recommendations are confusing.

Posted on 2016-11-07
3
52 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where can I find... 1 43
XML Document XPath with Namespaces 3 26
Powershell import xml to array (non-cli xml) 4 18
PHP alternative to file_get_contents('php://input') 4 61
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

856 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