[Bioperl-l] hide XML display on web

Guojun Yang gyang at plantbio.uga.edu
Fri Oct 12 20:52:06 UTC 2007


Hi, All,  
I have a cgi script that uses remoteblast (xml output). Every time, before and after the blast is finished, a lot of information is displayed on the client's screen, it's a nuisance but I am wondering if anyone knows how to rid of these. See below for examples:  
   
Thanks  
Guojun Yang  
_______________________example_____________________  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>NCBI Blast:</title>
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/blastRes.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
<![endif]-->
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/results.js"></script>
</head>

<body id="type-a" class="noToggleCheck" >
<div id="wrap">
   <div id="header">
  <div id="site-name"><a id="logolink" href="http://www.ncbi.nlm.nih.gov" title="NCBI Home Page"><img src="css/images/helix.gif" alt="NCBI Logo" title="Link to NCBI Home Page" /></a>BLAST <span class="desc"> Basic Local Alignment Search Tool</span>
  </div>
  <div id="search">
  <div><script language="JavaScript" type="text/javascript"><!--
    var myncbi_xo = 0;
    var myncbi_x = MyNCBI_find();
    var myncbi_cu = unescape('http%3A%2F%2Fwww%2Encbi%2Enlm%2Enih%2Egov%2Fblast%2FBlast%2Ecgi%3F');
    function MyNCBI_find()
    {
        var cs = document.cookie.split('; ');
        for(var i = 0; i < cs.length; i++) {
            // a name/value pair (a crumb) is separated by an equal sign
            var c = cs[i].split('=');
            if(c[0] == 'WebCubbyUser') { return c[1]; }
        }
        return '';
    }
.........



More information about the Bioperl-l mailing list