[greenstone-users] Re: greenstone-users Digest, Vol 58, Issue 5


> </tr>
> </table>
> </div>
> <div class="divbar">&nbsp;</div>
> </div> <!-- _homepref:content_ -->
> }
>
> =====================================================================================================================
>
> where can I put the script code to use it? what have I done wrong?
>
> Please help me, thank yall and grettings.
>
>
>
> ________________________________
> Primer concurso de nanometrajes Prodigy/MSN Video â–¡Sube tu video!
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
From Ata ur Rehman
DateTue Jan 15 18:21:44 2008
Subject [greenstone-users] Re: greenstone-users Digest, Vol 58, Issue 5
In-Reply-To (478b226c-26d7720a-2471-ffffed14SMTPIN-ADDED-mx-google-com)
Dear Mamoona

Table of contents are automatically generated by greenstone but you
have to add this hierarchy to your HTML documents using some xml tags.
For example

<!--
<Section>
<Description>
<Metadata name="Title">Panel on Water Buffalo</Metadata>
</Description>
-->

and


<!--
</Section>
<Section>
<Description>
<Metadata name="Title">1 Introduction</Metadata>
</Description>
-->

etc.

please follow the link for details:

http://wiki.greenstone.org/wiki/gsdoc/tutorial/en/section_tagging.htm


Regards,

Ata ur Rehman,
AM Library,

National Centre for Physics,
QAU Campus Islamabad.

Ph: +92 51 2601018, 2601006


On Jan 14, 2008 1:50 PM,
<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. encoding problem (Pablo.MORETE@cepal.org)
> 2. RE: Creation of AZlist Subject/Keywords browsing using
> Hierarchy classifier (Cao Minh Kiem)
> 3. Help-How I can add Table of contents? (Mamoona Kousar)
> 4. Arabic/ Urdu metadata provision (Muhammad Rafiq)
> 5. Re: Arabic/ Urdu metadata provision (graeme)
> 6. I can't insert a script of java script
> (Israel Abraham Flores Cruz)
>
>
> ---------- Forwarded message ----------
> From: Pablo.MORETE@cepal.org
> To: greenstone-users@list.scms.waikato.ac.nz
> Date: Wed, 9 Jan 2008 16:34:46 -0300
> Subject: [greenstone-users] encoding problem
>
> Hello all:
> I am using Greenstone 2.74 on a PC ( Windows 2000).
> I created a collection of pdfs putting dublin core metadata in a metadata.xml in a forlder for a series of chapters.
> I create metadata xml in notepad and save as UTF-8
> When I run the import.pl I get this kind of message:
>
> doc::add_utf8_metadata: warning: 'dc.Creator' wasn't utf8
> doc::add_utf8_metadata: warning: 'dc.Title' wasn't utf8
>
> And then after building I can browse the collection by classifiers but when I search for words with Spanish accents Greenstone doesn't find them.
> I tried rebuilding with Lucene, MGPP and MG, but the problem remains.
> I appreciate any help.
>
> Cheers
> Pablo
>
> ---------- Forwarded message ----------
> From: "Cao Minh Kiem" <kiemcm@vista.gov.vn>
> To: <greenstone-users@list.scms.waikato.ac.nz>
> Date: Thu, 10 Jan 2008 08:01:01 -0800
> Subject: [greenstone-users] RE: Creation of AZlist Subject/Keywords browsing using Hierarchy classifier
>
>
>
>
> Dear List users,
>
> I have created a browsing using Hierarchy classifier for Subject and Keywords. It is good if the number of subject or keywords is small. If they are numerous, it took long time to load the list (bookshelf icons).
>
> Do you know whether we can create a browsing that is similar to Azlist using Hierarchy chlassifier. If the number of subjects is numerous, it will create links that allows to browse groups of keywords (say A-B, C-M, N-Y,..). Under this will be the seperate subject with associated items?
>
> Best regards
>
>
>
> Cao Minh Kiem
>
>
>
> ---------- Forwarded message ----------
> From: "Mamoona Kousar" <librarian@mail.au.edu.pk>
> To: greenstone-users@list.scms.waikato.ac.nz
> Date: Fri, 11 Jan 2008 03:06:54 -0800
> Subject: [greenstone-users] Help-How I can add Table of contents?
> Hi!
>
> I don't know how to get the table of contents which appears on the right
> hand side when we open full text of any doc. And by clicking the text we can
>
> jump to that section. How I can do it for html file converted from MS Word
> and for PDF as well.
>
>
> Any help in this regard will be highly appreciated
>
>
> MAMOONA KOUSAR
> Librarian
> AIR University Central Library
> AIR University, E-9 Islamabad.
> Ph: 9262612, 9262557-9 (ext. 220)
> Fax: 9260158
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "Muhammad Rafiq" <rafiqlibrarian@gmail.com>
> To: greenstone-users@list.scms.waikato.ac.nz
> Date: Sat, 12 Jan 2008 15:56:48 +0500
> Subject: [greenstone-users] Arabic/ Urdu metadata provision
> I'm a new user of Greenstone Digital Library Software.
> I want to know the possibility to add metadata in Arabic/ Urdu characters in Greenstone Digital Library Software. If yes. How?
> Your help will be highly appreciated.
> Regards.
>
> --
> Muhammad Rafiq
> Manager Information Resource Center,
> Central Library, International Islamic University,
> Sector H-10, Islamabad - 44000 [PAKISTAN].
> Office: +92-51-9019386 Cell. +92-321-7836131
> Web: www.iiu.edu.pk
> In campus (IIU) calling: 386
>
> ---------- Forwarded message ----------
> From: graeme <foster.graeme@gmail.com>
> To: "Muhammad Rafiq" <rafiqlibrarian@gmail.com>
> Date: Sun, 13 Jan 2008 09:31:04 +1000
> Subject: Re: [greenstone-users] Arabic/ Urdu metadata provision
> Yes you can do that, I have set up a collection (more a library holdings) in Dari & Pushtu (although I don't speak either so much credit must go to the translators and librarians I was working with). See the case study I wrote to help you get started, at http://www.greenstone.org/examples
>
> Graeme.
>
> On Jan 12, 2008 8:56 PM, Muhammad Rafiq <rafiqlibrarian@gmail.com > wrote:
> > I'm a new user of Greenstone Digital Library Software.
> > I want to know the possibility to add metadata in Arabic/ Urdu characters in Greenstone Digital Library Software. If yes. How?
> > Your help will be highly appreciated.
> > Regards.
> >
> > --
> > Muhammad Rafiq
> > Manager Information Resource Center,
> > Central Library, International Islamic University,
> > Sector H-10, Islamabad - 44000 [PAKISTAN].
> > Office: +92-51-9019386 Cell. +92-321-7836131
> > Web: www.iiu.edu.pk
> > In campus (IIU) calling: 386
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >
>
>
>
> ---------- Forwarded message ----------
> From: Israel Abraham Flores Cruz <iafc790225@hotmail.com>
> To: "lperez@salud.gob.mx" <lperez@salud.gob.mx>, "iafc790225@hotmail.com" <iafc790225@hotmail.com>, "greenstone-users@list.scms.waikato.ac.nz" <greenstone-users@list.scms.waikato.ac.nz>, "greenstone-users-request@list.scms.waika" <greenstone-users-request@list.scms.waikato.ac.nz>
> Date: Mon, 14 Jan 2008 07:57:04 +0000
> Subject: [greenstone-users] I can't insert a script of java script
>
> Hi !
>
> I've been trying to insert a script of javascript to obtain a Greenstone Archives collection that can changes when the mainpage of Greenstone load completly , If I use it within a ordinary html page it works fine, but within Greenstone it doesn't change , the script is this:
>
> <html>
> <head>
> <title>Java Script simple Code</title>
> </head>
> <body onload = "animate()">
> <img src="/gsdl/web/images/gsdlhead.jpg" id="anim">
> <script languague="JavaScript" type="text/javascript">
> <!--//Begin
> var counter = 0;
>
> function animate() {
> var img = document.getElementById("anim");
> // Proceed to the next image
> counter ++;
> // There are only four images, so restart when we're done
> if (counter > 3) counter = 0;
> if (counter == 0) {
> // Display the first image
> img.src = "/gsdl/web/images/gsdlhead.jpg";
> } else if (counter == 1) {
> // Display the second image
> img.src = "/gsdl/web/images/foto_02.jpg";
> } else if (counter == 2) {
> // Display the third image
> img.src = "/gsdl/web/images/foto_03.jpg";
> } else {
> // Display the fourth image
> img.src = "/gsdl/web/images/foto_04.jpg";
> }
> // We need to call the animate function again in 0.10 seconds
> // Pause for 1 second between the fourth and first image
> if (counter == 3) {
> setTimeout("animate()", 2000);
> } else {
> setTimeout("animate()", 200);
> }
> }
> // End -->
> </script>
> </body>
> </html>
>
>
> Everything works fine, but in Greenstone the script is ignored, I inserted in the macro in the style.dm macro package, but its 'doesn't work.
> I put everything whithout the <html></html>, I put it too in the macro home.dm
> ======================================================================================================================
> # this file must be UTF-8 encoded
> package home
> # set the title of the home page to be "greenstone digital library"
> # in the currently chosen language
> GSDL Error {Greenstone Digital Library Software}
> #######################################################################
> # global navigation links
> #######################################################################
> # overridden here as we don't want 'home' links on this page
> # home:helplink and home:preflink set in nav_css/ns4 macro files
> HOME HELP PREFERENCES {HELP PREFERENCES}
> #######################################################################
> # icons
> #######################################################################
> _iconmusiclibrary_ {<img src="_httpicontmusic_" border="1" alt="meldex music library" title="meldex music library">}
> Greenstone Archives collection {<body onload = "animate()">
> <table width="100%" border="0" cellspacing="0" cellpadding="0">
> <tr>
> <td align="center">
> <img src="/gsdl/web/images/gsdlhead.jpg" id="anim" alt="Centro de Documentaci&oacute;n Institucional" align="middle" width="780" height="108" border="0" usemap="#Map" />
> <map name="Map" id="Map"><area shape="rect" coords="7,8,146,105" href="http://cdivirtual.salud.gob.mx" target="_blank" alt="cdi" />
> <area shape="rect" coords="661,14,761,89" href="http://portal.salud.gob.mx" target="_blank" alt="Secretaria de Salud"/>
> </map></td>
> </tr>
> </table>
> <br><br>
> </body>
> }
> #######################################################################
> # http macros
> #
> # These contain the url without any quotes
> #######################################################################
> _httppagegsdl_ {/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=gsdl}
> _httppagehomepref_ {/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=homepref}
> #######################################################################
> # images
> #######################################################################
> # Buttons for the pane after the collections and before the text
> _button_ {<div class="button"><span class="button"><a href="_1_">_2_</a></span></div>
> }
> _imagegli_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=gli,The Librarian Interface)}
> _imagecollector_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=collector&p=intro,The Collector)}
> _imagedepositor_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=depositor&p=select,The Depositor)}
> _imagetranslator_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=gti&p=home,The Greenstone Translator Interface)}
> _imageadmin_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=status&p=frameset,Administration Page)}
> _imagegogreenstone_ {_button_(_home:httppagegsdl_,About Greenstone)}
> _imagegodocs_ {_button_(/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-schild--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=docs,Greenstone Documentation)}
>
> #######################################################################
> # page content
> #######################################################################
> # _homeextra_ is the automatically generated list of collections (in a table)
> ########AQUI YO COMENTE LO SIGUIENTE QUE ES DONDE SE ENCUENTRA LO DE LA INTRODUCCION A LA BIBLIOTECA DE GREENSTONE
> #

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {
> #<div id="content">
> #<div class="divbar">
> #<p class="navbar">
> #_textdescrselcol_
> #</p>
> #</div>
> #<div class="section">
> #_homeextra_
> #</div>
> #<div class="divbar">&nbsp;</div>
> #<div class="section">
> #<table>
> #_textgogli_
> #_textgocollector_
> #_textgodepositor_
> #_textgotranslator_
> #_textgoadmin_
> #_textgogreenstone_
> #_textgodocs_
> #</table>
> #</div>
> #<div class="divbar">&nbsp;</div>
> #<div class="section">
> #_textaboutgreenstone_
> #</div>
> #<div class="divbar">&nbsp;</div>
> #</div>
> #}
> #### AQUI TERMINA EL COMENTARIO Y SE SUSTITUYE POR LO DE AQUI ABAJO ESTO LO TOMA COMO HTML CASI PURO
>

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {
> <div id="content">
> <div class="divbar">
> <p class="navbar">
> _textdescrselcol_
> </p>
> </div>
> <div class="section">
> _homeextra_
> </div>
> <div class="divbar">&nbsp;</div>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <div class="section">
> <table>
> <p style="font-size:12px; font-family:arial,helvetica,sans-serif" >
> ****** todo el texto que se quiera
> </table>
> </div>
> <div class="divbar">&nbsp;</div>
> <div class="section">
> _textaboutgreenstone_
> </div>
> <div class="divbar">&nbsp;</div>
> </div>
> }
> ####HASTA AQUI FUE LO QUE SE CAMBIO
> # the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
> # may be overridden to be empty from within the receptionist if the
> # collector, translator, or admin facilities are disabled
> _textgogli_ {
> <tr valign=top>
> <td valign=top>_imagegli_</td>
> <td> Helps you create new collections, modify or add to existing ones, or delete collections </td>
> </tr>
> }
> _textgocollector_ {
> <tr valign=top>
> <td valign=top>_imagecollector_</td>
> <td> This predates the Librarian Interface, and for most practical purposes the Librarian Interface should be used instead </td>
> </tr>
> }
> _textgodepositor_ {
> <tr valign=top>
> <td valign=top>_imagedepositor_</td>
> <td> Helps you to add documents to existing collections </td>
> </tr>
> }
> _textgotranslator_ {
> <tr valign=top>
> <td valign=top>_imagetranslator_</td>
> <td> Helps you keep the multilingual versions of the Greenstone interface up to date </td>
> </tr>
> }
> _textgoadmin_ {
> <tr valign=top>
> <td valign=top>_imageadmin_</td>
> <td>_textdescradmin_</td>
> </tr>
> }
> #_textgogreenstone_ {
> #<tr valign=top>
> #<td valign=top>_imagegogreenstone_</td>
> #<td>_textdescrgogreenstone_</td>
> #</tr>
> }
> _textgodocs_ {
> <tr valign=top>
> <td valign=top>_imagegodocs_</td>
> <td>_textdescrgodocs_</td>
> </tr>
> }
>
> package homepref
> GSDL Error {Preferences - Greenstone Digital Library Software}
> Greenstone Archives collection {<body onload = "animate()">
> <table width="100%" border="0" cellspacing="0" cellpadding="0">
> <tr>
> <td align="center">
> <img src="/gsdl/web/images/gsdlhead.jpg" id="anim" alt="Centro de Documentaci&oacute;n Institucional" align="middle" width="780" height="108" border="0" usemap="#Map" />
> <map name="Map" id="Map"><area shape="rect" coords="7,8,146,105" href="http://cdivirtual.salud.gob.mx" target="_blank" alt="cdi" />
> <area shape="rect" coords="661,14,761,89" href="http://portal.salud.gob.mx" target="_blank" alt="Secretaria de Salud"/>
> </map></td>
> </tr>
> </table>
> <br><br>
> </body>}
>
> HOME HELP PREFERENCES {HOME HELP}
> {
> function animate() {
> var img = document.getElementById("anim");
> // Proceed to the next image
> counter ++;
> // There are only four images, so restart when we're done
> if (counter > 3) counter = 0;
> if (counter == 0) {
> // Display the first image
> img.src = "/gsdl/web/images/gsdlhead.jpg";
> } else if (counter == 1) {
> // Display the second image
> img.src = "/gsdl/web/images/foto_02.jpg";
> } else if (counter == 2) {
> // Display the third image
> img.src = "/gsdl/web/images/foto_03.jpg";
> } else {
> // Display the fourth image
> img.src = "/gsdl/web/images/foto_04.jpg";
> }
> // We need to call the animate function again in 0.10 seconds
> // Pause for 1 second between the fourth and first image
> if (counter == 3) {
> setTimeout("animate()", 2000);
> } else {
> setTimeout("animate()", 200);
> }
> }
> }
>

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {
> <div id="content">
> <div class="divbar">&nbsp;</div>
> <div class="section">
> <form name="PrefForm" method="get" action="/gsdlmod">
> <h3>Presentation preferences</h3>
> <table border="0">
> <tr valign="top">
> <td>Interface language:</td>
> <td>_languageoption_</td>
> </tr>
> <tr valign="top">
> <td>Encoding:</td>
> <td>_encodingoption_</td>
> </tr>
> <tr valign="top">
>
Interface format: