W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

validator/httpd/cgi-bin check,1.563,1.564

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 11 Sep 2007 05:34:16 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IUyO8-0004fR-Hk@lionel-hutz.w3.org>

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv17630/httpd/cgi-bin

Modified Files:
	check 
Log Message:
for resources served as application/atom+xml, passing to feed validator


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.563
retrieving revision 1.564
diff -u -d -r1.563 -r1.564
--- check	11 Sep 2007 05:02:21 -0000	1.563
+++ check	11 Sep 2007 05:34:13 -0000	1.564
@@ -1431,6 +1431,11 @@
         'http://jigsaw.w3.org/css-validator/validator?uri='
           . uri_escape $url;
       exit;
+    } elsif ($ct =~ m(application/atom\+xml) and defined $url) {
+      print redirect
+        'http://validator.w3.org/feed/check.cgi?url='
+          . uri_escape $url;
+      exit;
     } else {
       $File->{'Error Flagged'} = TRUE;
       $File->{Templates}->{Error}->param(fatal_mime_error => TRUE);
Received on Tuesday, 11 September 2007 05:34:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:59 GMT