Archive for the ‘Validation’ Category

Thursday, April 3rd, 2008

RSS feed validation

Do you know RSS feed also have standards? To be 100% valid you better chech your RSS feeds with the nice validator tool provided by the w3c: http://validator.w3.org/feed/.

Some common errors:

  • wrap your links with the DATA tag: <link><![CDATA[http://myfeedpath]]></link>
  • Use a correct GTM date format: <pubDate>Wed, 2 Apr 2008 14:00:00 GMT</pubDate>

Wednesday, February 20th, 2008

Document Type Declaration and Validation

In order to build a ‘valid’ website you will have to define first what standards you want to follow. In other words you need something to tell the validation engine ‘This page is coded following this standard’.

This declaration need to appear in your page, before any markup of any type. It takes the form of a line of code, for example :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

(more…)