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

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 UTC