PDA

View Full Version : Zoomcategory meta tag for categories


Mantis
12-06-2006, 11:16 AM
Hi.

I have a little issue with the ZOOMCATEGORY-meta tag. Apparently it is beeing ignored by the indexer. Or at least it doesn't place the files in proper category.


<!--ZOOMSTART-->
...
<html>
<head>
...
<meta name="ZOOMCATEGORY" content="Economy">
...
</head>
<body>
<!--ZOOMSTOP-->

Header

<!--ZOOMSTART-->

Content

<!--ZOOMSTOP-->

Footer


I'm not quite sure what I'm doing wrong. I'm guessing that I'm making some mistake in the indexer's categories tab. I created an "Economy" category with the match pattern "Economy" (not working) and also <meta name="ZOOMCATEGORY" content="Economy"> (also not working).

Ray
12-06-2006, 10:24 PM
You're using the ZOOMSTOP tags incorrectly. The tags are <!--ZOOMSTOP--> and <!--ZOOMRESTART-->. You need to mark the sections of the page which you wish to EXCLUDE, by enclosing them within these two tags.

So it should look more like this:


...
<html>
<head>
...
<meta name="ZOOMCATEGORY" content="Economy">
...
</head>
<body>
<!--ZOOMSTOP-->

Header

<!--ZOOMRESTART-->

Content

<!--ZOOMSTOP-->

Footer
<!--ZOOMRESTART-->

Mantis
12-07-2006, 11:29 AM
I edited my template file accordingly. No effect.

The pages won't show up when searching with the categories filter.

wrensoft
12-07-2006, 06:14 PM
Can you post the URL to your site so that we can have a closer look.

Mantis
12-07-2006, 06:21 PM
http://www.isr.tu-berlin.de/suche/search.php

wrensoft
12-07-2006, 08:15 PM
I looked at more than 20 pages on your site and didn't find a single page that used the ZOOMCATEGORY tag.

(After you add or remove tags, you need to re-index your site before you will see any changes. Also make sure you turn off file caching from the General tab in the Zoom configuration window)

Mantis
12-08-2006, 11:20 AM
Try http://www.isr.tu-berlin.de/index.php?id=150
I have re-indexed over and over again after making changes to the config.

wrensoft
12-08-2006, 07:16 PM
I spent some more time looking at your web site. You appear to be using a tag like this now,

<meta name="ZOOMCATEGORY" content="Oekonomie">

Which should be OK if it matches what you have in the Zoom configuration window.

But I can see from your search form that you have named the category, "Fachgebiet Stadt- und Regionalökonomie"

So clearly "Fachgebiet Stadt- und Regionalökonomie" is NOT the same as "Oekonomie", so there will be no match. And nothing will appear in the category "Fachgebiet Stadt- und Regionalökonomie".

Mantis
12-09-2006, 09:54 AM
Hm. Okay.
"Fachgebiet Stadt- und Regionalökonomie" should have been the name and description of the category and not the match pattern.

I'll check on monday.

Thanks again.

Mantis
12-11-2006, 11:04 AM
I have re-index the site with caching off. Still no effect.

The match pattern in the indexer app is clearly "Oekonomie" and not "Fachgebiet Stadt- und Regionalökonomie". For the sake of it, I also inserted "Fachgebiet Stadt- und Regionalökonomie" als match pattern. Still no positive effect.

I have attached my Zoom config file.

Thanks in advance!

wrensoft
12-11-2006, 06:07 PM
The metatag is matched against the category name. Not the pattern.

The pattern is only used for matching against the page URLs.

If you have this meta data,
<meta name="ZOOMCATEGORY" content="Oekonomie">

Then the category name needs to be Oekonomie.