unvalid xml
morenoh149 opened this issue · 2 comments
Hello. Thank you for these templates. Could you help me figure out why my feed is invalid http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fharrymoreno.com%2Ffeed.xml something about URIs
Hi @morenoh149,
This isn't really a jekyll-rss-feeds issue and probably a better question for something like Stack Overflow, but here goes nothing:
It looks like line 213 has some escape HTML that would render this way:
<li><a href="posts https://www.youtube.com/watch?v=LMSkdsHUsKY">editing</a></li>
See the issue? You have a problem with the href
attribute — it contains the word "posts" in front of the URL. Evidently the feed validator is trying to validate the escaped HTML inside of the tag and caught this error? I think that's the source of the first error it's reporting (*This feed does not validate. line 216.).
The other "errors" are more clearly identified, but shouldn't prohibit you from validating:
- description should not contain data-lang attribute (line 30)
- description should not contain iframe tag (line 143)
- description should not contain relative URL references: ../../../2014/12/12/shpe-sf-site-makeover.html (line 361)
If you want it to strictly validate you'll have to remove that data-lang attribute, the iframe and fix the relative URL. Of those three, I'd say fixing the relative URL is probably the more critical one, as that will probably lead to a broken link of some kind depending on the client that's parsing the feed.
Hope that helps!
thank you