I’ve been looking for…….

latest news over our efforts to please the searchengine of our Company wide intranet search.

Flashback:

We are trying to make things easy on our companies big search engine.
The Spider, called Collector here, does have heavy problems to get sense out of a dynamicaly generated WISE Site.

Since we do have the requirement to search for information across our 150 somewhat sites, and I want to free my team from becomming search engine experts and get all the sh…. because a search does not report links that make sense to the user, we decided to talk to our companies search expert.

We learned, that the best way for him would be, if we produced a flat ContentMap for him to send his collector on with search depth 1

With help from Nic from wonderful southern California, we produced a SearchList that lists all the Rootwebs (aka SITES) in our installation and produces a Link to the on SITE SiteSearch Object, passing parameters for an advanced search.

How it´s done

The SearchList will be offered to the collector in syntax: SERVER_URL/SearchList

Search depth =2 should build an Index over all selected content.

The hip thing is, that a Contentmanager can control, what of his Sites Content will be available to search by adjusting the meta-data of their Objects.

Now we are facing a new aera of content discovery….

Here is the Source of the SearchList generator

<dtml-var standard_html_header>
<h2><dtml-var title_or_id> <dtml-var document_title></h2>
<p>
This is the <dtml-var document_id> Document
in the <dtml-var title_and_id> Folder.
</p>
<ul>
<dtml-in “objectValues(‘Rootweb’)”>
<li><a href=”<dtml-var SERVER_URL>/<dtml-var id>/SiteSearch/formSubmit
?waction=advancedSearchResults
&d_title=
&d_title_wformat=string
&d_content=
&d_content_wformat=string
&d_creator_wformat=multiple+selection
&d_subject_wformat=multiple+selection
&d_description=
&d_description_wformat=string
&d_publisher=
&d_publisher_wformat=string
&d_dateIssuedmin=
&d_dateIssuedmin_wformat=date
&d_dateIssuedmax=
&d_dateIssuedmax_wformat=date
&d_dateAvailablemin=
&d_dateAvailablemin_wformat=date
&d_dateAvailablemax=
&d_dateAvailablemax_wformat=date
&d_identifier=
&d_identifier_wformat=string
&d_language_wformat=multiple+selection
&d_format_wformat=multiple+selection
&d_source=
&d_source_wformat=string
&d_type_wformat=multiple+selection
&d_functionalArea_wformat=multiple+selection
&d_classification_wformat=multiple+selection
&d_releasability=IntranetBw
&d_releasability_wformat=multiple+selection
&d_fileSizemin=
&d_fileSizemin_wformat=int
&d_fileSizemax=
&d_fileSizemax_wformat=int
&d_poc=
&d_poc_wformat=string
&d_emailAddress=
&d_emailAddress_wformat=string
&d_wiseType_wformat=multiple+selection
&d_siteId=
&d_siteId_wformat=string
&d_dateModifiedmin=
&d_dateModifiedmin_wformat=date
&d_dateModifiedmax=
&d_dateModifiedmax_wformat=date
&d_dateExpiresmin=
&d_dateExpiresmin_wformat=date
&d_dateExpiresmax=
&d_dateExpiresmax_wformat=date
&enter.x=39
&enter.y=5″>
<dtml-var id>
</a>
</li>
</dtml-in>
</ul><dtml-var standard_html_footer>

An .zexp (Searchlist zum importieren)file is attachted for import into your site

A follow up will be posted, once we get feedback from our searchmaster.

This entry was posted in DTML-Stuff, english, Suchen. Bookmark the permalink.

2 Responses to I’ve been looking for…….

  1. michaelmaass says:

    To import the SearchList.zexp (that is hidden in the downloadable ZIP File, you have to place it into the Import folder in c:\program files\wise or the german equivalent …programme…
    Then go to the management interface of zope and import the .zexp into the root directory of your zope installation. Now (or after a Zope(WISE) restart you should be able to call http://servername/SearchList and get a link to all Site Searchobjects on your installation.

    For any questions, register and comment. I’ll be watching you for
    more…….. WISE Things to do.
    Mickey

  2. michaelmaass says:

    If you need to shorten the List of Arguments, you can omit the d_FIELDNAME= arguments but have to keep the d_FIELDNAME_wformat= Arguments. OtherWISE you´ll get a ZOPE Error.
    If you want to enter multiple selections, where the wformat is multiple+selection, you can repeat the d_FIELDNAME= line as neccessary

    Mickey

Leave a Reply