[greenstone-users] Re: ***[possibile_SPAM]***greenstone-users Digest, Vol 49, Issue 1

From Julian Fox
DateTue, 03 Apr 2007 17:56:49 +0200
Subject [greenstone-users] Re: ***[possibile_SPAM]***greenstone-users Digest, Vol 49, Issue 1
In-Reply-To (20070402215144-636DE81DF93-mx0-omnibit-it)
Stefan,
thanks - but I'm struggling!  You're going to need to walk me through it I think.  Opening the file in Firefox and viewing encoding tells me it is GB2312.  I probably expected it to be a Korean encoding but it's Chinese!  However, one can read the Korean text (and some English text but that's by the by). But as I explained earlier, I do not get a result in Greenstone if I put that encoding as the input-encoding. I don't know much about converting - I did try libiconv (in a Windows machine using command line) but couldn't get the thing to even work!  Any helpful comments?
Julian

greenstone-users-request@list.scms.waikato.ac.nz wrote:
Send greenstone-users mailing list submissions to
greenstone-users@list.scms.waikato.ac.nz

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

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

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


Today's Topics:

   1. Re: Help for a link (Qiu)
   2. Re: (no subject) (sw64@cs.waikato.ac.nz)
   3. Translation question... (graeme)
   4. Re: PDF plugin (Qiu)
   5. Re: Translation question... (xiaofyu)
   6. dealing with Korean in GS (Julian Fox)
   7. Re: dealing with Korean in GS (Stefan Boddie)


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

Message: 1
Date: Fri, 30 Mar 2007 09:40:34 +1200
From: Qiu <qq6@cs.waikato.ac.nz>
Subject: Re: [greenstone-users] Help for a link
To: Sébastien uyttenhoef <sebastienuyttenhoef@hotmail.com>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID: <460C3252.1040907@cs.waikato.ac.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello

It can be achieved by modifying the "search->Vlist" format. You can add 
a query link into the search Vlist like this:
<a href="_gwcgi_?a=q&amp;c=collect-name&amp;q=[Title]" >[Title]</a>
a=q                          action is query
c=collect-name        collect name that you want to search in
q=[Title]                  query string is the value of [Title]

More information regarding gwcgi arguments can be found at
http://greenstone.sourceforge.net/wiki/index.php/Actions_and_Arguments

Regards
Quan


Sébastien uyttenhoef wrote:

  
Hello,
 
Thanks for the links about Format Features. I've a other question 
about the links in the digital library. I would like to put a link in 
the search results to send to Creator.
 
e.g: The digital Library in the world
        Auteur : Jack Wood  (and I put to click on the name to have 
all of the documents about this writer..Is it possible to link with 
the Autor's index?
 
Thanks
 
Uyttenhoef Sébastien

------------------------------------------------------------------------
Tout ce qu'il y a de plus trendy pour Windows Live Messenger 
<http://g.msn.com/8HMBFRBE/2752??PS=47575> ...

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

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

    




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

Message: 2
Date: Fri, 30 Mar 2007 12:15:41 +1200 (NZST)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] (no subject)
To: "Debjani Saha" <sahadebjani@yahoo.com>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:
<39966.130.217.244.2.1175213741.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello Debjani,

  
I built collection using Greenstone 2.71 enriching the collection manually
keying metadata. I have now copied this collection in Greenstone 2.72
under collect folder. While browsing, I am able to browse this collection
through internet explorer. The problem I am facing is that I am not
getting files of this collection in my GLI (2.72). I want to enrich my
collection keying some more metadata. Kindly help me to solve the problem.
    

Could you open the collection in GlI (File->Open)? Were there anything in
Gather panel? Were there any error messages in the console?

Regards
Shaoqun





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

Message: 3
Date: Sat, 31 Mar 2007 12:40:15 +0430
From: graeme <foster.graeme@gmail.com>
Subject: [greenstone-users] Translation question...
To: "green stone user list" <greenstone-users@list.scms.waikato.ac.nz>
Message-ID:
<dfb4b74f0703310110j363201f5gf1570271a1701dec@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi, a very quick question about the translation in Greenstone. Is it
possible to translate the digits?

For example when I do a search I get the following string:
in English "27 documents matched the query."
in Dari " 27 اسنادی که با پرس و جو تطبیق کرده اند ."

Whereas it would be nice if I coudl get the total to be displayed as Û²Û·
rather than 27.

Graeme.

(sorry the rtl formatting doesn't appear to work properly in the Gmail
editor, the number appears in the wrong position in this email but it is at
the correct position in Greenstone.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20070331/11d9db12/attachment-0001.html

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

Message: 4
Date: Mon, 02 Apr 2007 09:47:09 +1200
From: Qiu <qq6@cs.waikato.ac.nz>
Subject: Re: [greenstone-users] PDF plugin
To: Heather Rolen <rolen@yu.edu>,
greenstone-users@list.scms.waikato.ac.nz
Message-ID: <4610285D.6010407@cs.waikato.ac.nz>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hello

Do you want to display PDF files in the original PDF format from the 
search results? If your are, you can try to use [ex.srclink] in the 
SeachVlist format. It could be similar like:
[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]

In addition, as you said "browsing through the collection" was fine, you 
can compare Vlist and SearchVlist format from Gli to see what difference 
between them is.

More information regarding this topic can be found at:
http://greenstone.sourceforge.net/wiki/index.php/How_to_format_the_output_of_your_collection


Regards
Quan

Heather Rolen wrote:

  
Hi,

I have a problem displaying PDFs from a search, but not when browsing 
through the collection.

I have version 2.72 running on an IIS server.

It seems like I’m overlooking something fairly simple. Anyone have 
experience where a plugin is not recognized in the search feature?

Heather

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

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

    




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

Message: 5
Date: Mon, 2 Apr 2007 21:46:32 +1200
From: xiaofyu <xiaofyu@gmail.com>
Subject: Re: [greenstone-users] Translation question...
To: graeme <foster.graeme@gmail.com>
Cc: green stone user list <greenstone-users@list.scms.waikato.ac.nz>
Message-ID:
<c0a9e0f40704020246g7fa97742v6ccf44f8eaa24884@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

  
For example when I do a search I get the following string:
in English "27 documents matched the query."
in Dari " 27 اسنادی که با پرس و جو تطبیق کرده اند ."
      
Whereas it would be nice if I coudl get the total to be displayed as Û²Û·
      
rather than 27.

Hi Graeme,

    

In Greenstone, query result is generated by the server through the macro
_resultline_, which is in the query.dm file in the macros directory. It is
composed by the number of matching documents (i.e. 27 in this case, which is
dynamically returned from the server) plus another macro _textlotsdocs_ in
the corresponding macro file (in the case of English, english.dm). If the
number of matching documents exceeds the up-to limit (it is set in the
'preferences' page), another macro called _textmorethan_ (again, in
english.dm) will be prefixed before the matching number (eg. 27), resulting
in "more than xx documents matched the query".

You can get the content of _resultline_ by putting a html element in place
of the macro, for example, <div id=some_id>_resultline_</div>, then writing
a javaScript in the file query.dm to get the content of _resultline_ using
the id. Then you can parse the content and translate the digits and the text
separately. You can define a macro that contains your script by following
the other macros like _formpagescriptextra_ and put it in
_pagescriptextra_.

Finally, you need to work out how to invoke your translation function when
the page is loaded. For example, window.onload=''your_function_name".

Cheers
xiao






_____________________________________
  
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20070402/0cca55cb/attachment-0001.html

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

Message: 6
Date: Mon, 02 Apr 2007 16:25:36 +0200
From: Julian Fox <jbfox@sdb.org>
Subject: [greenstone-users] dealing with Korean in GS
To: greenstone-users@list.scms.waikato.ac.nz
Message-ID: <46111260.9070308@sdb.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,
If anyone has experience dealing with CJK languages they might be able 
to help me with this one.  I have a Korean text already in html.  When I 
check its character set it seems to be using gb2312 which is simplified 
Chinese.  I can open it up in my browser and see that it's pretty 
clearly Korean however - and a Korean could read it!
When I adjusted the html plug for simplified Chinese, at least I got a 
result which indicates there is text - but it is just oblongs.  With 
other encoding I couldn't even get that far - I tried Korean Hangul and 
just got blanks.
As I say, if someone has had to deal with this in Greenstone they almost 
certainly have a way to deal with it.  At the moment my only solution is 
to run the text to pdf then used pagedimage - that way users can read 
the text but they can't search it.
Solution(s would be much appreciated - if such exist(s).
Julian



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

Message: 7
Date: Tue, 03 Apr 2007 09:22:13 +1200
From: Stefan Boddie <stefan@dlconsulting.com>
Subject: Re: [greenstone-users] dealing with Korean in GS
To: jbfox@sdb.org,  greenstone-users@list.scms.waikato.ac.nz
Message-ID: <46117405.106@dlconsulting.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Julian,

I don't know a lot about Korean but have built a few collections in 
Chinese and Japanese. The first thing I'd suggest is that you open the 
HTML file in your web browser again, and make sure it's readable. You 
should then be able to check what character encoding the browser is 
using to display it (in firefox you go to the "View" menu and select 
"Character Encoding"). Once you're sure of the character encoding you'll 
be better placed to solve the problem. If it's an encoding that 
Greenstone already supports (e.g. UHC or UTF-8) you can set the 
input_encoding option appropriately and it should work. If it's one of 
the several Korean encodings that Greenstone doesn't support we'll need 
to come up with some mapping files to make it work, but that's not too 
hard. Alternatively, you could use iconv to convert the file to UTF-8 
before importing it into Greenstone.

Good luck.

Stefan Boddie