Re: [work] [greenstone-users] How to change the first default page ofgreenstone?

From Katherine Don
DateTue, 28 Jun 2005 09:29:45 +1200
Subject Re: [work] [greenstone-users] How to change the first default page ofgreenstone?
In-Reply-To (00d801c57b03$57efaa50$0101a8c0-Mundy)
Hi Henny

What version of Greenstone are you using? Do you have the -smart_block
option to HTMLPlug switched on?

With -smart_block on, HTMLPlug tries to block all images used in the
page from being processed by any other plugins. This is what you want,
but unfortunately it only works for images that are in the same folder
as the html file, or in a sub folder.
In your case, with the images outside the folder where the html files
live, it wont work. (Its not that smart!)
You have several options.
1. rearrange the source data.
2. turn off the smart block option. this will make HTMLPlug block all
images (the default block expression is like
(?i).(gif|jpe?g|jpe|jpg|png|css)$
- will block gif, jpg, jpeg, jpe, png and css files)
This is the best solution if you don't have any images in the collection
that you do want processed by ImagePlug.
3. If you do have other individual images, you could modify the HTML
block expression (one of the plugin options) to eg block everything in
the Images folder: something like the following (untested)
Costumes\Images\ (or is it Costumes\\Images\\ ??)
You will probably need to play around with the block expression to find
one that works.

I hope this helps,
Regards,
Katherine

Paul Mundy wrote:
> Henny:
> I don't know the answer to this offhand. Maybe someone else in the group
> can help?
> Best wishes
> Paul
>
> Paul Mundy
> development communication
> Weizenfeld 4
> 51467 Bergisch Gladbach
> Germany
> paul@mamud.com
> www.mamud.com
> ----- Original Message ----- From: "Henny Mariane Sutedjo"
> <anastasiahenny@yahoo.com>
> To: "Paul Mundy" <paul@mamud.com>
> Sent: Monday, June 27, 2005 11:37 AM
> Subject: Re: [work] [greenstone-users] How to change the first default
> page ofgreenstone?
>
>
>> Hi Paul,
>>
>> Thanks you so much, I will try your suggestion tonight. One more
>> question, how
>> do I separate images from the document (.htm files)? When I preview my
>> collection, all the images are also available on the list of filenames
>> which
>> can be opened by double clicking it. Those images are used in the htm
>> files but
>> not meant to be opened directly from the collection. The data that I
>> uploaded
>> into collection is already arranged in a proper way, e.g.:
>> folder CostumesImages to keep all image files
>> folder CostumesContents to keep all htm files
>> But still it didn't work the way I want, my preview looks messy cos
>> the htm
>> files and images are mixed together. Please advise me if you can.
>> Thank you.
>>
>> Sincerely,
>> henny
>>
>> --- Paul Mundy <paul@mamud.com> wrote:
>>
>>> Henny:
>>> The images displayed by Greenstone are all stored in the gsdlimages
>>> folder
>>> The green-and-white design on the left side is called chalk.gif.
>>> You can replace these images with your own. Or you can open them in a
>>> graphics editor and change the colour. Save your replacements to the
>>> same
>>> directory and filenames.
>>> Hope this helps.
>>> Paul
>>>
>>> Paul Mundy
>>> development communication
>>> Weizenfeld 4
>>> 51467 Bergisch Gladbach
>>> Germany
>>> paul@mamud.com
>>> www.mamud.com
>>> ----- Original Message ----- From: "Henny Mariane Sutedjo"
>>> <anastasiahenny@yahoo.com>
>>> To: <greenstone-users@list.scms.waikato.ac.nz>
>>> Sent: Monday, June 27, 2005 6:02 AM
>>> Subject: [work] [greenstone-users] How to change the first default page
>>> ofgreenstone?
>>>
>>>
>>> > Dear group,
>>> >
>>> > I would like to make a little changes (if permitted) on the first >
>>> default
>>> > page
>>> > of the Greenstone Digital Library. Especially on the green line at the
>>> > left
>>> > side (left frame) and some other green color lines on the first
>>> screen. > I
>>> > just
>>> > need to change the color, not the shape cos I need to follow the same
>>> > color
>>> > from the original hardcopy version. Any response would be greatly
>>> > appreciated.
>>> > Thanks!
>>> >
>>> > Sincerely,
>>> > henny
>>> >
>>> > __________________________________________________
>>> > Do You Yahoo!?
>>> > Tired of spam? Yahoo! Mail has the best spam protection around
>>> > http://mail.yahoo.com
>>> >
>>> > _______________________________________________
>>> > greenstone-users mailing list
>>> > greenstone-users@list.scms.waikato.ac.nz
>>> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>
>>>
>>
>>
>>
>>
>> ____________________________________________________
>> Yahoo! Sports
>> Rekindle the Rivalries. Sign up for Fantasy Football
>> http://football.fantasysports.yahoo.com
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>