Re: [greenstone-users] unsolved problems #1

From Michael Dewsnip
DateMon, 10 Jan 2005 09:59:40 +1300
Subject Re: [greenstone-users] unsolved problems #1
In-Reply-To (f06200714be0483368237-172-16-1-51)
Hi Rich,

Happy New Year!

I think this is a problem with the CGI arguments to the page -- you need
slightly different arguments if you're using fielded searching.

Instead of

?a=p&p=about&c=colname

you need

?a=p&p=about&c=colname&ct=1&qto=3&qt=1

If you've clicked Preview Collection from the GLI or entered the
collection from your Greenstone library homepage these extra arguments
should be added automatically. Maybe you have bookmarked the collection
homepage and are using that?

All the best,

Michael

Rich Robinson wrote:

> Hi folks,
>
> A couple of problems I posted to this list in the past few weeks
> remain unresolved. I'd be grateful for any help.
>
> First one - I'm building my collection on a Windows machine, then copy
> the collect directory over to a UNIX box where it's served. On the
> About page for this collection, on either machine (contrary to my
> previous post, where I thought it worked on Windows), I see this:
>
> Search for _idx_ that contain some/all of the words
>
> And no fields to search on the various fields, as set in my config file.
>
> So two problems: the fielded search form doesn't appear, and the
> mysterious _idx_ is in the above line.
>
> Again, this problem is happening on both Windows and UNIX, so
> apparently not an "endian" problem - in any event I'm building it and
> viewing it on Windows, then copying the files to the UNIX box. Same
> problem on both. My config file is:
>
> creator jfjweb@jewsforjesus.org
> maintainer jfjweb@jewsforjesus.org
> public true
>
> searchtype form plain
>
> #indexes document:text document:dc.Creator document:dc.Title
> document:dc.Missionary document:dc.Organization document:dc.Subject
> document:dc.Language
> indexes text dc.Creator dc.Title dc.Missionary dc.Organization
> dc.Subject dc.Language dc.Format
> levels document
> #defaultindex document:text
>
> plugin ImagePlug -thumbnailsize 100 -process_exp
> (?i)(\.jpe?g|\.gif|\.png|\.bmp|\.xbm|\.tif?f)$ -cover_image
> -thumbnailtype gif
> plugin ZIPPlug
> plugin GAPlug
> plugin TEXTPlug
> plugin HTMLPlug
> plugin EMAILPlug
> plugin WordPlug -convert_to html
> plugin PDFPlug
> plugin RTFPlug
> plugin PSPlug
> plugin ArcPlug
> plugin RecPlug -use_metadata_files
>
> classify AZList -metadata dc.Title -buttonname Title
>
> classify AZCompactList -metadata dc.Creator -sort dc.Title
> -mingroup 1 -allvalues -buttonname Creator
>
> classify AZCompactList -metadata dc.Missionary -sort dc.Title
> -mingroup 1 -allvalues -buttonname Missionary
>
> classify AZCompactList -metadata dc.Organization -sort dc.Title
> -mingroup 1 -allvalues -buttonname Organization
> classify DateList -metadata dc.Date -sort dc.Title
>
> classify Hierarchy -metadata dc.Subject -sort "Metadata element
> specified with -metadata." -buttonname Subject -hfile dc.Subject.txt
> classify AZCompactList -metadata dc.Language -sort dc.Title
> -mingroup 1 -allvalues -buttonname Language
>
> classify AZCompactList -metadata dc.Format -sort dc.Title -mingroup
> 1 -allvalues -buttonname Format
>
> format DateList "<td>[link][icon][/link]</td>
> <td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>
>
> <td>[ex.Date]</td>"
>
> format VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td valign=top>[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format HList
> "[link][highlight]{Or}{[dls.Title],[dc.Title],[dc.Creator],[dc.Date],[ex.Title],Untitled}[/highlight][/link]"
>
>
> format CL3VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td valign=top>[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format DocumentImages false
>
> format CL1VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td valign=top><i>
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}</i> / [dc.Creator].
> [dc.Place], [dc.Publisher], [dc.Date].</td>"
>
> format DocumentButtons ""
>
> format DocumentHeading ""
>
> format CL2VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td valign=top>[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[dc.Creator], / [dc.Creator].} {If}{[dc.Place],
> [dc.Place]} {If}{[dc.Publisher],, [dc.Publisher]}
> {If}{[dc.Date],:[dc.Date].}
> </td>"
>
> collectionmeta collectionname [l=en] "Digital Jewish Missions
> History Project"
> collectionmeta collectionextra [l=en] "This collection consists of
> (mostly) primary source documents from the history of missions to the
> Jewish people.
>
> All material here, to the best of our knowledge, is in the public
> domain. Exceptions are for copyrighted materials for which permission
> has been given to post here (and notice of such permission will be
> posted in such cases). "
> collectionmeta .document:text [l=en] "text"
> collectionmeta .document:dc.Creator [l=en] "Author"
> collectionmeta .document:dc.Title [l=en] "Title"
> collectionmeta .document:dc.Missionary [l=en] "People"
> collectionmeta .document:dc.Organization [l=en] "Organization"
> collectionmeta .document:dc.Subject [l=en] "Subject"
> collectionmeta .document:dc.Language [l=en] "Language"
> collectionmeta .text [l=en] "Full text"
> collectionmeta .dc.Creator [l=en] "Author"
> collectionmeta .dc.Title [l=en] "Title"
> collectionmeta .dc.Missionary [l=en] "Missionary"
> collectionmeta .dc.Organization [l=en] "Organization"
> collectionmeta .dc.Subject [l=en] "Subject"
> collectionmeta .dc.Language [l=en] "Language"
> collectionmeta .dc.Resource [l=en] "Type"
> collectionmeta .dc.Format [l=en] "Format"
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>