[General] Webboard: Set categories/tags via HTML tag attribute?

2015-10-21 Thread bar
Author: Alexander Barkov
Email: b...@mnogosearch.org
Message:
> I would like to use different tags (or categories) for different 
> parts of a website and I would like to have a "Default" tag which 
> includes all pages that are not part of another category. I tried to 
> configure different tags for different URLs:
> 
> > Tag A
> > http://www.example.com/part-a/
> > 
> > Tag B
> > http://www.example.com/part-b/
> > 
> > Tag C
> > http://www.example.com/
> 
> The problem is that the tag C includes all pages of 
> http://www.example.com/, including those of /part-a/ and /part-b/.
> 

The above configuration looks fine.
Note, after adding the Tag commands it needs full re-crawling.
The easiest way is just to clean the database and crawl again:

indexer -Cw
indexer


> Is there a possibility to set the tag which should be used for a 
> page, e. g. with a document section? Like ' name="mnoGoSearchTag" content="B" />'? Or does anybody have a clue 
> how to solve this issue?

There is no a way to set exactly the Tag value this way.
But you can use a meta.* section for the same purpose, say:

Section meta.mnoGoSearchTag  14 0

After full re-crawling, the collected values can be used to limit search
with help of sl.mnoGoSearchTag=B search parameter.
See here how to pass search parameters:

http://www.mnogosearch.org/doc33/msearch-doingsearch.html#AEN4693

Reply: 

___
General mailing list
General@mnogosearch.org
http://lists.mnogosearch.org/listinfo/general


[General] Webboard: Set categories/tags via HTML tag attribute?

2015-10-12 Thread bar
Author: Felix Heller
Email: felix.hel...@aimcom.de
Message:
I would like to use different tags (or categories) for different 
parts of a website and I would like to have a "Default" tag which 
includes all pages that are not part of another category. I tried to 
configure different tags for different URLs:

> Tag A
> http://www.example.com/part-a/
> 
> Tag B
> http://www.example.com/part-b/
> 
> Tag C
> http://www.example.com/

The problem is that the tag C includes all pages of 
http://www.example.com/, including those of /part-a/ and /part-b/.

Is there a possibility to set the tag which should be used for a 
page, e. g. with a document section? Like ''? Or does anybody have a clue 
how to solve this issue?

Reply: 

___
General mailing list
General@mnogosearch.org
http://lists.mnogosearch.org/listinfo/general