Skip to main content.
home | support | download

Back to List Archive

I am trying to index only <div id="content">

From: Matthew Slocum <Mslocum(at)not-real.bju.edu>
Date: Mon Mar 08 2004 - 21:15:55 GMT
I am trying to index only &lt;div id="content"&gt;
I think it is giving me all the div tags.

in swish.conf:
StoreDescription HTML "&lt;div id=\"content\"&gt;"

the command:
swish-e -c ../swish-e/swish.conf -S http &

example of html files:
<pre>
&lt;html&gt;
	&lt;head&gt;
		&lt;title&gt;&lt;/title&gt;
	&lt;/head&gt;
	&lt;body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"&gt;
		&lt;div id="header"&gt;
		&lt;/div&gt;
		&lt;div id="navbar"&gt;
			&lt;ul class="sitenav"&gt;
				&lt;li&gt;thing1&lt;/li&gt;
				&lt;li&gt;thing2&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/div&gt;
		&lt;div id="pagenav"&gt;
		    &lt;ul&gt;
			&lt;li&gt;thing1&lt;/li&gt;
			&lt;li&gt;thing2&lt;/li&gt;
		    &lt;/ul&gt;
		&lt;/div&gt;
		&lt;div id="content"&gt;
			&lt;p&gt;Page Content&lt;/p&gt;
		&lt;/div&gt;
		&lt;div id="footer"&gt;
			&lt;span style="float: right; font-size: 11px"&gt;&lt;a href="/contact.html"&gt;contact us&lt;/a&gt;&lt;/span&gt;
		&lt;/div&gt;
	&lt;/body&gt;
&lt;/html&gt;
</pre>

I am a newbe, so any help is appreciated.
Thanks.
Received on Mon Mar 8 13:15:55 2004