<HTML>
	<HEAD>
		<TITLE>Editing and Updating the Metadata</TITLE>
		<style>
			a {
				text-decoration: none
			}
		</style>
	</HEAD>
	
<BODY LINK="#0000ff" VLINK="#800080">

<CENTER>
<P><FONT SIZE=-1>This page and the related files are hosted by</FONT></P>
<TABLE ALIGN=CENTER CELLPADDING=1 WIDTH=30%>
<TR><TD ALIGN=CENTER>
<!--
<A HREF=http://www.iconet.com.br TARGET=_blank><IMG BORDER=0 SRC="../../../../../../col/iconet.com.br/banon/2000/12.31.20.38/doc/logo_m_b.gif"></A>
-->
<A HREF=http://www.nic.br TARGET=_blank><IMG SRC="../../../../../../col/iconet.com.br/banon/2000/12.31.20.38/doc/logo-nicbr.png" style="width: 65px; height: 35px"></A>
</TD></TR>
</TABLE>

<H2><FONT COLOR="#000077">
<A HREF=goto/iconet.com.br/banon/2000/12.31.20.38 TARGET=_parent>
UR<I>Lib</I>Service User's Guide<BR></A>
<FONT SIZE=-1>Version 2.1</FONT></FONT></H2>
<P><HR></P>
<H3><FONT COLOR="#000077"><FONT SIZE=-1>Chapter 2</FONT><BR><BR>
Editing and Updating the Metadata</FONT></H3>
<P><I>by Gerald J. F. Banon</I></P>
</CENTER>

<H4><FONT COLOR="#000077">Contents</FONT></H4>

<P>
<A HREF=#0><FONT COLOR="#000077">Preamble</FONT></A>
<BR>
<A HREF=#1><FONT COLOR="#000077">Using the default metadata</FONT></A>
<BR>
<A HREF=#2><FONT COLOR="#000077">Updating metadata</FONT></A>
<BR>
<A HREF=#3><FONT COLOR="#000077">Creating one more set of metadata</FONT></A>
</P>

<A NAME=0></A>
<H4><FONT COLOR="#000077">Preamble</FONT></H4>

<P>Once you have started UR<I>Lib</I>Service (see
<A HREF=goto-/iconet.com.br/banon/2000/12.30.22.55>Chapter 1</A>), you can
edit the metadata of a new document or update the metadata of an existing
one.</P>

<P><I>Metadata</I> are data describing data.  The prefix "meta" means
"beyong". A good example of metadata is the table of contents in a book.</P>

<P>In the UR<I>Lib</I> environment, the metadata describe the documents
which are part of the collection.</P>

<P>Here is an example of set of metadata in the Refer format:</P>

<P>
<TT>%0 Book Section</TT><BR>
<TT>%A Banon, Gerald Jean Francis,</TT><BR>
<TT>%T Editing and Updating the Metadata</TT><BR>
<TT>%B URLibService User's Guide</TT><BR>
<TT>%I Deposited in the URLib collection.</TT><BR>
<TT>%2 iconet.com.br/banon/2001/06.08.23.45.41</TT><BR>
<TT>%3 target.html</TT><BR>
<TT>%4 <A HREF=goto/iconet.com.br/banon/2001/06.08.23.45 TARGET=_blank>iconet.com.br/banon/2001/06.08.23.45</A></TT><BR>
<BR>
</P>

<P>Actually, this set of metadata describes this document.</P>

<P>In the UR<I>Lib</I> environment, the metadata are kept separately
from the document.</P>

<P>Associated with a document one should have one (or more) set of
metadata; each of one being stored in a separate repository.</P>

<P>In this chapter, we explain the many ways of editing and updating
a set of metadata and of creating more than one set of metadata for
a given document.</P>

<P>Before reading this chapter you should know how to use
UR<I>Lib</I>Service. Please read the online helps of this service
beforehand.</P> 

<A NAME=1></A>
<H4><FONT COLOR="#000077">Using the default metadata</FONT></H4>

<P>The easiest way to assign a set of metadata to a document is to
edit first the set of default metadata.</P>

<P>The set of default metadata is contained in document entiltled
<I>Default Metadata</I> and permanently stored in the repository
<TT>&lt;dpi.inpe.br/banon/1999/09.12.15.10&gt;</TT>
under the file name <TT>&lt;@metadata.refer&gt;</TT>.</P>

<P>The <I>Default Metadata</I> document usually contains the
set of metadata that was assigned to the last deposited
document.</P>

<P>When you deposit a new document in a
<FONT FACE="Arial" SIZE=-1>New Repository</FONT>, the
set of default metadata is assigned to the new document.
Consequently, it is recommended to edit or update these metadata
beforehand.</P>

<P>The best way to do that is to click the
<FONT FACE="Arial" SIZE=-1>Edit</FONT> Menu Button in the
<FONT FACE="Arial" SIZE=-1>Depositing a Document</FONT>
(<FONT FACE="Arial" SIZE=-1>DD</FONT>) windows.</P>

<P>A menu will display all the possible reference types
plus and empty field on the top. To use current reference type
of the default metadata, click the empty field, otherwise
choose another reference type, then a window entitled
<FONT FACE="Arial" SIZE=-1>URLibService - Edit</FONT>
will open for you to edit the set of metadata. After editing,
click the <FONT FACE="Arial" SIZE=-1>OK</FONT>
Button in this window.</P>
 
<P>When clicking the <FONT FACE="Arial" SIZE=-1>OK</FONT>
Button in the 
<FONT FACE="Arial" SIZE=-1>Depositing a Document</FONT>
(<FONT FACE="Arial" SIZE=-1>DD</FONT>) windows, the
set of metadata you have just edited will be automatically
assigned to the document being deposited.</P>

<P>WARNING: there exist three cases for which the set of default metadata is
<B>not</B> used when depositing a document in a
<FONT FACE="Arial" SIZE=-1>New Repository</FONT>.</P>

<P>The first case is when, for some reason, the
<I>Clipboard</I> contains a different set of metadata in the
Refer Format.</P>

<P>This option is useful on Windows when using EndNote to edit a
new reference (click
<FONT FACE="Arial" SIZE=-1>References &gt; New</FONT>)
or update an old one.
Once the set of metadata is ready, click the
<FONT FACE="Arial" SIZE=-1>X</FONT> Button (top right)
and press the key sequence
<FONT FACE="Arial" SIZE=-1>Ctrl+K</FONT>. The set of metadata
will be copied on the <I>Clipboard</I>. When depositing the
document the clipboard content will be captured and used
as metadata.</P>

<P>The second case is when the document you want to deposit is
a document already stored in a repository. That is, when the 
<FONT FACE="Arial" SIZE=-1>Which ?</FONT> Form ends with the string
<TT>&lt;/doc/&gt;</TT>. In this case, the set of metadata that will
be used is the set of metadata already assigned to that repository.</P>

<P>The third case is when a file containing a set of metadada in the
Isis format is deposited in the <TT>&lt;clipboard&gt;</TT> directory
(below the Home Directory). In this case, the set of metadata that will
be used is the set of metadata contained in this file. The
name of this file is arbitrary. This file will be automatically
removed once the document is deposited.</P>
 

<A NAME=2></A>
<H4><FONT COLOR="#000077">Updating metadata</FONT></H4>

<P>Once a document has been deposited in a new repository,
that is once you have click the <FONT FACE="Arial" SIZE=-1>OK</FONT>
Button, its metadata can be updated at any time.</P>

<P>To update the set of metadata assigned to a document, you
select in the
<FONT FACE="Arial" SIZE=-1>Browsing the Collection</FONT>
windows the repository containing that document and then
you click the <FONT FACE="Arial" SIZE=-1>Edit</FONT>
Menu Button.</P>

<P>A menu will display all the possible reference types
plus and empty field on the top. By clicking the empty field,
the set(s) of metadata assigned to the selected
document will be displayed, using the current reference type,
in window(s) entitled
<FONT FACE="Arial" SIZE=-1>URLibService - Edit</FONT>
(one window for each set of metadata). After editing, you
can update it (them) by clicking the <FONT FACE="Arial" SIZE=-1>OK</FONT>
Button. The changes reflect immediatly on the Web.</P>

<P>If you need to change the current reference type, instead
of clicking the empty field you click the desired reference type.</P>

<P>WARNING: updating the metadata is only possible for an
original document, otherwise the 
<FONT FACE="Arial" SIZE=-1>Edit</FONT> and
<FONT FACE="Arial" SIZE=-1>Reload</FONT> Buttons
are disabled.</P>

<P>On Windows, you can also update metadata using EndNote.
Nevertheless, before doing the first update you have to
import the set of metadata (the set of metadata edited
before depositing the document cannot be used).</P>


<P>To import a set of metadada, click
<FONT FACE="Arial" SIZE=-1>File > Import</FONT> and then the
<FONT FACE="Arial" SIZE=-1>Choose File ...</FONT> Button
to select the appropriate <TT>&lt;@metadata.refer&gt;</TT> file.</P>

<P>After importing and updating the set of metadata, you press the
key sequence
<FONT FACE="Arial" SIZE=-1>Ctrl+K</FONT> and then the
<FONT FACE="Arial" SIZE=-1>Reload</FONT> Button in the
<FONT FACE="Arial" SIZE=-1>Browsing the Collection</FONT>
windows. The changes reflect immediatly on the Web.</P>

<A NAME=3></A>
<H4><FONT COLOR="#000077">Creating one more set of metadata</FONT></H4>

<P>It is sometimes interesting to create one more set of metadata in
another language.</P>

<P>i. Open the <FONT FACE="Arial" SIZE=-1>URLibService - Edit</FONT>
window by clicking the <FONT FACE="Arial" SIZE=-1>Edit</FONT>
Menu Button and selecting the empty field. Translate the set
of metadata, select the <FONT FACE="Arial" SIZE=-1>add</FONT> option
and click the <FONT FACE="Arial" SIZE=-1>OK</FONT> Button. A new
repository will created to hold the translated set of metadata.</P>

<P>ii. Click the <FONT FACE="Arial" SIZE=-1>Check</FONT> Button to open
the <FONT FACE="Arial" SIZE=-1>Check</FONT> window. In this window
click the repository names below
<FONT FACE="Arial" SIZE=-1 COLOR=#008800><B>Metadata Repositories</B></FONT>
link, one at a time. In each
<FONT FACE="Arial" SIZE=-1>Check</FONT> window
click the <FONT FACE="Arial" SIZE=-1 COLOR=#008800><B>Language</B></FONT>
link and select the appropriate language.
</P>

<P>HINT: to return to the previous 
<FONT FACE="Arial" SIZE=-1>URLibService - Check</FONT> window,
just click, using the right mouse button, the
<FONT FACE="Arial" SIZE=-1>S</FONT> (S for Select) Button. 
<HR>

</BODY>
</HTML>
