[greenstone-devel] Re: greenstone-devel Digest, Vol 26, Issue 10

From Thanh Quy
DateFri, 13 May 2005 20:56:53 +0700
Subject [greenstone-devel] Re: greenstone-devel Digest, Vol 26, Issue 10
In-Reply-To (4283eefc-15f76b31-53bc-ffffdaa0SMTPIN-ADDED-mx-gmail-com)

I tried changing it to use an uppercase M as you said. My button appeared, but when I click on it, the string " _iconMuseumpage_ " appeared. Maybe something is wrong.

I make a new button Other whose macros have the same structure as macros of button Museum.After that, I make new collection using button Other, but the button Other disappears !!! I don't know why. I send you 2 macro files( base.dm and english.dm), and 2 collections(Museum collection,Other collectiion).Museum collection uses button Museum and Other collection uses button Other. I make notes "#QUY" before my macros in 2 file macros,so it's easy to find out.Can you help me?

Best regards,

Thanh Quy

(I send you 2 file .z, please change them to .zip because my email doesn't allow attach files with extension .zip)

On 5/13/05, greenstone-devel-request@list.scms.waikato.ac.nz < greenstone-devel-request@list.scms.waikato.ac.nz> wrote:
Send greenstone-devel mailing list submissions to
       greenstone-devel@list.scms.waikato.ac.nz

To subscribe or unsubscribe via the World Wide Web, visit
       https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
or, via email, send a message with subject or body 'help' to
       greenstone-devel-request@list.scms.waikato.ac.nz

You can reach the person managing the list at
       greenstone-devel-owner@list.scms.waikato.ac.nz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of greenstone-devel digest..."

Today's Topics:

  1. Re: How to make a new macro for a new navigation  bar     button?
     (Katherine Don)
  2. Re: search interfaces available for greenstone (Michael Dewsnip)

----------------------------------------------------------------------

Message: 1
Date: Fri, 13 May 2005 09:14:40 +1200
From: Katherine Don <kjdon@cs.waikato.ac.nz>
Subject: Re: [greenstone-devel] How to make a new macro for a new
       navigation      bar     button?
To: Thanh Quy <ngthquy@gmail.com>
Cc: greenstone-devel@list.scms.waikato.ac.nz
Message-ID: <4283C740.2060608@cs.waikato.ac.nz>
Content-Type: text/plain; charset=windows-1252

Hi

If you see text like _imageMuseum_ on the page, it means that the macro
has not been defined. You have _imagemuseum_ in the macros below. - Try
changing it to use an uppercase M.

Regards,
Katherine.

Thanh Quy wrote:
> I followed the guide "customize user interface" of greenstone to make
> new navigation button "Museum" .I modified the file base.dm and english.dm:
>
> In file base.dm, I added:
>
> #QUY
>
> _Museumwidth_{_widthtmuseumx_}
>
> #QUY
>
> _imagemuseum_{_gsimage_(_httpbrowseMuseum_,_httpicontmuseumof_,_httpicontmuseumon_,museum,_textimageMuseum_)}
>
> #QUY
>
> _icontabMuseumgreen_ {<img src="_httpicontmuseumgr_"
> width=_widthtmuseumx_ border=0>}
>
> _icontabMuseumgreen_[v=1] {_texticontabMuseumgreen_}
>
> In file english.dm, I added
>
> #QUY
>
> _textimageMuseum_{Museum}
>
> #QUY
>
> _texticontabMuseumgreen_{Museum}
>
> #QUY
>
> ## "museum" ## nav_bar_button ## tmuseum ##
>
> _httpicontmuseumgr_{/gsdl/web/images/tmusgr.gif}
>
> _httpicontmuseumon_{/gsdl/web/images/tmuson.gif}
>
> _httpicontmuseumof_{/gsdl/web/images/tmusof.gif}
>
> _widthtmuseumx_ {110}
>
> #Quy
>
> _textMuseumshort_{access public by museum}
>
> _textMuseumlong_ { <p>You can <i>access publications by museum</i> by
>
> pressing the <i>museum</i> button. This brings up a list of museum. }
>
>
>
> and then, I made 3 images: tmusgr.gif, tmuson.gif and tmusof.gif in the
> folder images of greenstone. After that, I made a new collection, added
> the following line to file collect.cfg before importing and building
> colletion:
>
> classify AZList -metadata museum -buttonname Museum
>
> but my collection had no button Museum, just appeared the text
> *_imageMuseum_*
>
> I send you 2 file base.dm and english.dm. There are notes "#QUY" before
> my macros to find them easilier. Can you help me?
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel

------------------------------

Message: 2
Date: Fri, 13 May 2005 11:28:26 +1200
From: Michael Dewsnip <mdewsnip@cs.waikato.ac.nz>
Subject: Re: [greenstone-devel] search interfaces available for
       greenstone
To: Stephen DeGabrielle < spdegabrielle@gmail.com>
Cc: greenstone-devel@list.scms.waikato.ac.nz
Message-ID: < 4283E69A.6050808@cs.waikato.ac.nz>
Content-Type: text/plain; charset=us-ascii

Hi Stephen,

A lot of this sort of thing is done by students as part of research
projects or summer work. Typically, these things are never added into
CVS, nor do we distribute them with Greenstone. We are most interested
in useful, stable, widely applicable pieces of code that work on
multiple platforms, and most of these funky interfaces just don't cut it
(many were just proof-of-concepts and were never intended to be
distributed with Greenstone).

If there is something in particular you want we might be able to track
it down for you. As to whether it would still work with the current
Greenstone, well that's another question entirely!

All the best,

Michael

Stephen DeGabrielle wrote:

> Hi,
>
> Are alternate search interfaces available for greenstone?
>
>     * the music one (Music)
>     * the venn diagram one in the Developers Manual (pdf page 66)
>     * any others
>
> Are they in CVS? have they been dropped completely? or is this sort of
> thing housed in Greenstone 3 now?
>
>
> Thanks,
>
> Stephen De Gabrielle
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>

------------------------------

_______________________________________________
greenstone-devel mailing list
greenstone-devel@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel

End of greenstone-devel Digest, Vol 26, Issue 10
************************************************



--
Thanh Quy


<<attachment>>
Type: application/x-zip-compressed
Filename: collections.z

download


<<attachment>>
Type: application/x-zip-compressed
Filename: macros.z

download