Personal tools

Search how-to

How to enable users to search for text in your blog.

COREBlog 0.6b or higher is ZCatalog aware. You can find in your blog.

Requirements

  • Zope 2.6.x or higher required. COREBlog search feature is based on ZCTextIndex.
  • For users in no-ascii region - like Chinese,Korean etc., please install Language/character encode specific Splitter.

For users starts from 0.6b

First, you must create COREBlog instance and choose appropriate splitter.

When you create new COREBlog instance, you will see form for splitter. Please select appropriate splitter, and push add button.

Second, you must enable find form.

Go to ZMI(Zope Management Insterface), Go to your COREBlog ionstance, and click contents tab.

You can see modules folder, click it.

In index_html remove comment around <dtml-var search_form>. Then you can see search form in blog's right area.

That's all :-).

For users already uses COREBlog before 0.6b

Make sure you had installed Language/character encode specific Splitter

Go to ZMI(Zope Management Insterface), Go to your COREBlog ionstance, and click contents tab.

Select ZCTextIndexLexicon from add menu on top right. Create appropreate ZCTextindexLexicon. ID must be lexicon.

After that, click entries tab, push Recatalog button bellow. COREBlog recatalog all text in your blog.

Next, go to ZMI(Zope Management Insterface), Go to your COREBlog ionstance, and click contents tab.

Add DTMLMethod, named search_results

You can see modules folder, click it.

Add DTMLMethod, named searchform

In index_html add a line, <dtml-var search_form>. Then you can see search form in blog's right area.

You can test another Splitter, delete old one, add new one, and Recatalog.

Trouble shooting.

If you cannot find as you intend, please make sure followings.

Make sure your choise of splitter is right.

On ZMI, contents tab, you can see a object named lexicon. This is something like words holder. Click query tab on lexicon, you can see words to be find. If you cannot see anymore, your choise of Splitter might be wrong. Please try another one :-).

Make sure you can find using ZCatalog.

Please consult withhttp://www.zope.org/Documentation/How-To/ZCatalogTutorial

Have fun :-).

You are here: Home Hot-Tos Search how-to
About COREBlog
COREBlog2 (for Plone users)
The current version of COREBlog2 (for Plone) is 0.982b (released 2007/4/13)
Download now!
How-Tos
To learn more about COREBlog visit the How Tos
Mailing list for COREBlog users
There is a mailinglist for COREBlog in English. Thanks, Klaus san :-).
COREBlog2 (for Plone users)
The current version of COREBlog2 (for Plone) is 0.982b (released 2007/4/13)
Download now!
Bugs/Feature Requests
If you have bug reports or feature requests, please add new ticket to trac for COREBlog2. Be sure to write your name and email address so I can contact to you :-).
COREBlog (for Zope users)
The current version of COREBlog (for Zope) is 1.2.5 (relaased 2006/04/03)
Download now!
How-Tos
To learn more about COREBlog visit the How Tos
Mailing list for COREBlog users
There is a mailinglist for COREBlog in English. Thanks, Klaus san :-).
 

Powered by Plone, the Open Source Content Management System