Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What Happens If Your Atom Feed Fails the Validation
What Happens If Your Atom Feed Fails the Validation? - RSS FAQs - Atom Feed Introduction and File Generation
✍: FYIcenter.com
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 </subtitle> <link href="http://dev.fyicenter.com/atom.xml"/> <id>http://dev.fyicenter.com/</id> <updated>2005-07-13T18:30:02Z</updated> <author> <name>FYIcenter.com</name> <email>noreply@fyicenter.com</email> </author> <entry> <title>Webmaster FAQ Collection</title> <link href="http://dev.fyicenter.com/faq/"/> <id>http://dev.fyicenter.com/faq/</id> <updated>2005-07-13T18:30:02Z</updated> <summary>A massive collection of FAQs for Webmasters. </summary> </entry> </feed>
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.
2007-05-12, 5227👍, 0💬
Popular Posts:
What are different properties provided by Objectoriented systems ? Following are characteristic’s of...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
What is the difference between Class and structure’s ? Following are the key differences between the...
How To Blend a Color Layer to a Image? - PSP Tutorials - Fading Images to Background Colors with PSP...
How To Return the Second 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If yo...