Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
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, 5646👍, 0💬
Popular Posts:
Can one change the mouse pointer in Forms? The SET_APPLICATION_PROPERTY build-in in Oracle Forms all...
What is the output of printf("%d")? 1. When we write printf("%d",x); this means compiler will print ...
Explain in detail the fundamental of connection pooling? When a connection is opened first time a co...
Can you explain in brief how the ASP.NET authentication process works? ASP.NET does not run by itsel...
What Happens to Indexes If You Drop a Table? - Oracle DBA FAQ - Managing Oracle Table Indexes If you...