On Thu, Jan 11, 2007 at 04:21:07AM -0800, graham hadgraft wrote:
> I want to only index certain parts of certain pages so i am using the
> <!-- SwishCommand noindex --> and <!--SwishCommand index --> tags.
> However swish is still indexing every part of every page.
>
> My page looks something like below.
>
> <html>
> <head>
> header information
> </head>
> <body><!-- SwishCommand noindex -->
> body content
> <!--SwishCommand index -->
> content i want to index
> <!-- SwishCoommand noindex -->
> the rest of the body content
> </body>
> </head>
You have some spelling mistakes there:
moseley@bumby:~$ cat noindex.html
<html>
<head>
<title>title</title>
</head>
<body><!-- SwishCommand noindex -->
body content
<!--SwishCommand index -->
content i want to index
<!-- SwishCommand noindex -->
the rest of the body content
</body>
</html>
moseley@bumby:~$ swish-e -i noindex.html -T indexed_words -v0
Adding:[1:swishdefault(1)] 'title' Pos:5 Stuct:0x7 ( HEAD TITLE FILE )
Adding:[1:swishdefault(1)] 'content' Pos:11 Stuct:0x9 ( BODY FILE )
Adding:[1:swishdefault(1)] 'i' Pos:12 Stuct:0x9 ( BODY FILE )
Adding:[1:swishdefault(1)] 'want' Pos:13 Stuct:0x9 ( BODY FILE )
Adding:[1:swishdefault(1)] 'to' Pos:14 Stuct:0x9 ( BODY FILE )
Adding:[1:swishdefault(1)] 'index' Pos:15 Stuct:0x9 ( BODY FILE )
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Thu Jan 11 06:09:37 2007