Ramu Chenna wrote:
>> Hi everybody
>> There are few swissprot entries ( BST1_HUMAN for quick check)
> which have www links in comment line.
>> Add the following icarus lines to swissprot.is do make them clickable!
>> h_cc: ~ {$In:[fields c:cc t:html]}
> (tag
> ('WWW="' href {$Rep:"<A HREF=$Ct>$Ct</A>"} | ln ))* ~
>> href: ~ /[^"]+/ ~
>
To enable hypertext links to more than one URL per CC line block and to
include FTP URLs, you might want to use:
h_cc: ~ {$In:[fields c:cc t:html]}
(tag
(('FTP="'| 'WWW="')
/[^"]+/ {$Rep:{$ParStr:urlR $Ct $Ct}} ln | ln ))* ~
This production uses hypertext link definition 'urlR' which is in file
srsdb.i:
$href:[urlR link:"<A HREF=%s>%s</A>"]
There are only four "FTP" links in current release of SWISS-PROT
and all but one lack 'ftp://' string from the beginning (see BTK_HUMAN,
Q06187). The SWISS-PROT annotators are fixing this now.
-Heikki
--
______ _/ _/_____________________________________________________
_/ _/ http://www2.ebi.ac.uk/mutations/
_/ _/ _/ Heikki Lehvaslaiho heikki at ebi.ac.uk
_/_/_/_/_/ EMBL Outstation, European Bioinformatics Institute
_/ _/ _/ Wellcome Trust Genome Campus, Hinxton
_/ _/ _/ Cambs. CB10 1SD, United Kingdom
_/ Phone: +44 (0)1223 494 644 FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________