Home >> FAQs/Tutorials >> RSS Tutorials >> Index

RSS Tutorials - Atom Feed File Failed Validation

By: FYIcenter.com

(Continued from previous topic...)

What Happens If Your Atom Feed Fails the Validation?

If your Atom feed file fails the w3.org validator, you will get an error message explaining where the error is in your feed file. The tutorial exercise below shows you a good example.

Try to validate the following Atom feed file:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 <title>Webmaster FYI Center</title>
 <subtitle>A place to find information for Webmasters
 <link href="http://dev.fyicenter.com/atom.xml"/>
  <title>Webmaster FAQ Collection</title>
  <link href="http://dev.fyicenter.com/faq/"/>
  <summary>A massive collection of FAQs for Webmasters.

You will get the following error message:

line 2, column 3: Missing atom:link with rel="self"

   <feed xmlns="http://www.w3.org/2005/Atom">

Why? Because the feed link element is missing the rel="self" attribute.

(Continued on next topic...)

  1. What Is Atom 1.0 Standard?
  2. What Is the Relation between Atom and XML?
  3. What Are Main Differences between Atom 1.0 and RSS 2.0?
  4. What Is the Icon for Atom Syndication?
  5. What Is the MIME Type Definition for Atom Files?
  6. What Is an Atom Syndication Feed?
  7. How To Write a Minimum Atom 1.0 Feed File?
  8. How To Validate an Atom 1.0 Feed File?
  9. How To Use w3.org Feed Validation Service?
  10. What Happens If Your Atom Feed Fails the Validation?
  11. Is There Any DTD File to Validate Atom Feed Files?
  12. Is There Any XSD File to Validate Atom Feed Files?
  13. How To Create Atom Feed Files?
  14. How To Tell Visitors That You Have Atom Syndication Feeds?
  15. How To Tell Web Browsers That Your Web Pages Have Atom Feeds?
  16. What Happens When FireFox Knows a Web Page Has Atom Feeds?

Selected Developer Jobs: