[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Aug 15 17:39:07 UTC 2007


kawas
Wed Aug 15 13:39:06 EDT 2007
Update of /home/repository/moby/moby-live/Perl/scripts
In directory dev.open-bio.org:/tmp/cvs-serv8869

Modified Files:
	AgentRDFValidator 
Log Message:
made the form more pleaseing to the eye.
moby-live/Perl/scripts AgentRDFValidator,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/scripts/AgentRDFValidator,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/scripts/AgentRDFValidator	2007/08/15 17:12:29	1.1
+++ /home/repository/moby/moby-live/Perl/scripts/AgentRDFValidator	2007/08/15 17:39:06	1.2
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 #-----------------------------------------------------------------
-# AgentRDFValidator
+# ValidateService
 # Author: Edward Kawas <edward.kawas at gmail.com>
 # Copyright (c) 2007 Edward Kawas. All Rights Reserved.
 #
@@ -10,8 +10,6 @@
 # This software is provided "as is" without warranty of any kind.
 #
 # $Id$
-#
-# ABOUT:
 # 
 # This script is a web based form for testing the RDF agent
 # on a specified user URL. When the script is called without
@@ -23,10 +21,10 @@
 # 	1. This script assumes that a BioMOBY registry is properly 
 #	   installed
 #	2. JAVA_HOME is set in the environment or 'java' called
-#        at a command prompt actually calls a java runtime.
-#     3. This script attempts to ensure that the arguement passed
-#        in is a 'real' url by first calling head on the URL. 
-#        I am not sure if this will cause problems later on.
+#      at a command prompt actually calls a java runtime.
+#   3. This script attempts to ensure that the arguement passed
+#      in is a 'real' url by first calling head on the URL. 
+#      I am not sure if this will cause problems later on.
 #-----------------------------------------------------------------
 use strict;
 use CGI qw/:standard/;
@@ -117,6 +115,7 @@
 function testAgent(value)
 {
 if (value && value.replace(/ /g, "") != "") {
+	document.getElementById('output_div').style.visibility = 'visible';
 	document.getElementById('description_span').textContent = 'Results'
 	document.getElementById('iframe').src = location.href + "?url=" + value;
 }else{
@@ -143,7 +142,7 @@
   <div></div>
 </form>
 
-<div id='output_div'>
+<div style='visibility:hidden;' id='output_div'>
 <span id='description_span'></span><p></p>
 <iframe id='iframe'></iframe>
 </div>




More information about the MOBY-guts mailing list