Skip to main content.
home | support | download

Back to List Archive

Re: about frames

From: Ron Klatchko <ron(at)not-real.library.ucsf.edu>
Date: Thu May 13 1999 - 15:54:06 GMT
At 01:03 AM 5/13/99 -0700, Ibon Aizpurua wrote:
>Does the swishspider index the pages that are
>into the frame??? That is:
>
><frame src="index.html">
>Can index for example "index.html" file??
>If it is yes How??

The current version of swishspider does not do that.  If you would like to
allow that, implement the following patch:

> diff -c swishspider~ swishspider
*** swishspider~        Thu Mar 18 08:34:01 1999
--- swishspider Thu May 13 08:47:49 1999
***************
*** 59,66 ****
  
  sub linkcb {
      my($tag, %links) = @_;
!     if (($tag eq "a") && ($links{"href"})) {
!       my $link = $links{"href"};
  
        #
        # Remove fragments
--- 59,69 ----
  
  sub linkcb {
      my($tag, %links) = @_;
!     if ((($tag eq "a") && ($links{"href"})) ||
!       (($tag eq "frame") && ($links{"src"}))){
!       my $link;
!       $link = $links{"href"} if ($tag eq "a");
!       $link = $links{"src"} if ($tag eq "frame");
  
        #
        # Remove fragments

moo
----------------------------------------------------------------------
          Ron Klatchko - Manager, Advanced Technology Group           
           UCSF Library and Center for Knowledge Management           
                        ron@library.ucsf.edu                
Received on Thu May 13 08:50:02 1999