Skip to main content.
home | support | download

Back to List Archive

Re: Help Needed

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Mar 23 2004 - 15:04:02 GMT
On Tue, Mar 23, 2004 at 06:45:20AM -0800, Peter Karman wrote:
> tag the way it is in your doc. I believe (please, someone, correct me on 
> this) that the HTML parser will recognize only <meta> tags as valid for 
> metaname storage.

I believe I coded the HTML2 parser to allow plain old tags as meta
names.

moseley@bumby:~$ cat 1.html  
<html>
<head><title>titleword</title></head>
<body>
top
<tag>foo</tag>
</body>
</html>

moseley@bumby:~$ cat c
Metanames tag



moseley@bumby:~$ swish-e -i 1.html -c c -T indexed_words -v0
    Adding:[1:swishdefault(1)]   'titleword'   Pos:2  Stuct:0x7 ( HEAD TITLE FILE )
    Adding:[1:swishdefault(1)]   'top'   Pos:6  Stuct:0x9 ( BODY FILE )
    Adding:[1:tag(10)]   'foo'   Pos:7  Stuct:0x89 ( META BODY FILE )

-- 
Bill Moseley
moseley@hank.org
Received on Tue Mar 23 07:04:03 2004