[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Titles.



WebGlimpse was missing far too many titles still.
Will try to get more output from glimpse for a better handle on what it 
is doing.
For now, in order to try and make the parsing more readable, did the 
following.
	$file=$link=$rest=$title=$data=$string=$line=''; 
	($file, $link, $rest)=split(/$FILE_END_MARK/);
	@rest=split(/\:\s+/,$rest);
      if (@rest==4)
      {
              ($title,$date,$line,$string)=@rest;
      }
      elsif (@rest==3)
	{
		($title,$date,$string)=@rest;
	}
	else
	{
		next;
	}

I'm sure I'm missing cases.  Output seems ok though, wish it was more 
easy to tell what this code was doing...