Copyright Joel Verks @ 2008
This is the readme file of my modified version of the original Category Editor 1.7 posted on the mnogosearch download site. mnogosearch is an opensource search engine, found at mnogosearch.org (where else?)
The only modifications I did for this version were:
There is no support provided, and at this time , I don't even intend on releasing this except for my own use.
- Joel
jverks@hackcandy.com
Categories
Notes on Categories: a mailing list post indicated that symlinks do not work on versions 1.3.x or above. I'm not sure if this is true, since it was an old reply.
For a detailed explanation of categories, see the docs:
The official mnogosearch docs http://www.mnogosearch.org/doc/msearch-subsections.html#categories are somewhat confusing (for me), so here is a bottoms up approach at explaining the category scheme:
Categories are contained in the ‘categories’ table. There are 4 fields,
rec_id, path, link, and name
rec_id = id of the database record
path = a hex value that identifies where the category lies in the hierarchy or category ‘tree’ . 01 would mean the first main category (or branch), 0102 would mean the second subcategory (or leaf) of the first main category. 0A02 is the second leaf on the 10th branch. See the examples below for additional clarification
link = applies only to a link record.
name = name of the category.
Category table Example
an example of a category table is shown below.
rec_id |
path |
link |
name |
1 |
|
|
|
17 |
06 |
|
toys |
9 |
03 |
|
wine |
8 |
02 |
|
gadgets |
7 |
01 |
|
music |
12 |
05 |
|
movies |
15 |
04 |
|
autos |
18 |
0501 |
|
action |
16 |
@@ |
02 |
electronics |
20 |
@@ |
06 |
machina |
By looking at the path column of the above categories table above, we can tell:
As an additional example, if we wanted to create a hierarchy like this:
Vehicles as the main category, Autos as a subcategory, and cars and machina as links to autos, the table would look like this:
(not all rows are shown)
rec_id |
path |
link |
name |
1 |
|
|
|
21 |
06 |
|
vehicles |
22 |
0601 |
|
autos |
23 |
06@@ |
0601 |
cars |
24 |
06@@ |
0601 |
machina |
Here’s a screenshot of what the Category Editor would look like after configuring the above example:

The Category Editor
The category editor is a download from mnogosearch and is a php script that provides a nice GUI to create categories and links.
This was originally created for mnogosearch 1.3.x and php v ancient history :) ( before apparently there were $_GET and $_POST arrays and globals turned off be default).
I fixed the form posting so it will work with at least PHP 4, and this readme should be included in the tar of the fixed version
How To Create a a Category and Subcategory in the Category Editor
How to Create a Link in the Category Editor: