SlideShare ist ein Scribd-Unternehmen logo
1 von 55
CDS INVENIO
DÍA 1: INTRODUCCIÓN




        Miguel Martín González - miguelm@unizar.es
Del lat.: repositorium, significa
REPOSITORIOS: ¿qué son? armario, alacena, “lugar donde se
                        guarda algo” [RAE]

                                                                                                SERVICIOS
   A university-based institutional repository is a set of
                                                                                                FUNCIONES
   services that a university offers to the members of its
   community for the management and dissemination of
   digital materials created by the institution and its
   community members. It is most essentially an
   organizational commitment to the stewardship of these
   digital materials, including longterm
   preservation where appropriate, as well as organization
   and access or distribution
   [Clifford A. Lynch (2003). Institutional Repositories: Essential Infrastructure for
   Scholarship in the Digital Age. ARL Bimonthly                                            OBJETOS
   Report 226. http://www.arl.org/newsltr/226/ir.html]
                                                                                            DIGITALES




    Archivar (depósito)

    Preservar (METS,
    PREMIS)

    Difundir (OAI-PMH)                                                                   INSTITUCIONES
                                                                                         PERSONAS
Partes básicas: Conceptos y glosario




                                                            Portalboxes (información
  Regular collections             Virtual collections (otra
                                                            adicional)
  (asociado a doctype)            forma de organizar
                                  contenido)
CDS INVENIO
DÍA 2: ESTRUCTURA GENERAL DE
FUNCIONAMIENTO Y EXPLICACIÓN DE
MÓDULOS




        Miguel Martín González - miguelm@unizar.es
http://invenio-
demo.cern.ch/help/hacking/modules-
ENVIO DE DOCUMENTOS: Flujo general




Operaciones realizadas en el servidor   Interfaz de usuario
(privilegiadas)                         (loggeado)
ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO
loggeado) 1de2                     WebSubmit is a comprehensive submission system allowing
                                               authorized individuals (authors, secretaries and repository
                                               maintenance staff) to submit individual documents into the
                                               system. The submission system disposes of a flow-control
                                               mechanism that assures the data approval by authorized units.
                                               In total there are several different exploitable submission
                                               schemas at a disposal, including an automated full text
                                               document conversion from various textual and image formats.
                                               This module also disposes of information extraction
                                               functionality, focusing on bibliographic entities such as
                                               references, authors, keywords or other implicit metadata.

 Caso más simple: envío autorizado a TODO usuario que se valide correctamente
 (sin moderación). Por ejemplo TRABAJOS ACADÉMICOS.

 Login en el sistema (utilizando
 los datos del correo-e)

       [WEBACCESS]

 Menú: Enviar 
  elección del tipo de documento
  (doctype)

       [WEBSUBMIT]
ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO
loggeado) 2de2
ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO
loggeado) 2de2                                                                                 Guarda
                                                                                               temporalmente el
                                                                                               envío (accesible más
                                                                                               tarde mediante el menú
                                                                                               “Sus Opciones  Sus
                                                                                               envíos”).
                                                                                               NO SE COMPLETA EL
                                                                                               ENVIO.
                                                                                               Termina el envío (manda,
                                                                                               si procede, email a los
                                                                                               moderadores de contenido
                                                                                               asi como al autor,
                                                                                               informando del envío
                                                                                               completado).

                                                                                              NO aparece
                                                                                              inmediatamente el registro
                                                                                              en el Repositorio
                                                                                              (hay que ejecutar
                                                                                              manualmente las tareas
                                                                                              de BibSched o esperar un
                                                                                              tiempo prudencial –máx
                                                                                              1h- a que se ejecuten
                                                                                              automáticamente).
 Este número (conocido como access) es interesante para RESOLVER PROBLEMAS en el envío de los registros.

 DURANTE el envío:
 [root@aneto cdsadmin]# find /soft -name “*1273473021_16130*"
 /soft/cds-invenio/var/data/submit/storage/running/TAZ/1273473021_16130

 AL FINAL del envío (después de pulsar “Terminar envío”):ç
 [root@aneto cdsadmin]# grep -R "TAZ-TFM-2010-018" /soft/cds-invenio/var/
 Binary file /soft/cds-invenio/var/data/submit/storage/done/running/TAZ/TAZ-TFM-2010-018_20100510121914.tar.gz
 matches
ENVIO DE DOCUMENTOS: RECEPCIÓN DE CORREO
ELECTRÓNICO
El usuario (submitter) y el administrador del Repositorio reciben un email indicando que el envío se ha
completado:




    Este enlace indica que record number se asigna(rá) al nuevo registro.
ENVIO DE DOCUMENTOS: Flujo general

 Parte ya                            Una vez que el usuario ha pulsado “Terminar
 explicada
                                     envío” se realizan automáticamente las
                                     tareas explicadas hasta ahora.




                                     Al observar Bibsched aparecerán nuevas
 Procesos                            tareas de “BibUpload”. Ayuda sobre
 internos                            BibUpload:
 (bibsched)
                                     http://zaguan.unizar.es/help/admin/bibupload-admin-guide




                                     Tras ser ejecutadas las correspondientes
                                     tareas de BibUpload, se realiza la indexación
                                     del nuevo registro (BibIndex) y éste aparece
                                     en zaguan (WebColl):

                                     http://zaguan.unizar.es/record/XXXX
BIBSCHED: Qué es y cómo funciona                                  http://zaguan.unizar.es/help/admin/howto-run
  Observar el scheduler (programador) de tareas:
  [root@aneto cdsadmin]# sudo -u apache bibsched




Puede funcionar en modo automático o manual (conmutable pulsando “A”). Cuando está en modo manual podemos
desplazarnos por las tareas (flechas arriba/abajo) y ejecutar una tarea en concreto (estando sobre ella, pusar “R”). En automático
(estado normal) las tareas se ejecutan solas cada cierto tiempo. Pulsando “L” sobre una tarea vemos el LOG (registro de
eventos) de la misma.
BIBINDEX, BIBFORMAT, WEBCOLL, (WEBSEARCH, BIBRANK)


                                                 BIBINDEX: Se encarga de la
                                                 indexación de los datos del registro
                                                 (modifica las BD‟s para que podamos
                                                 encontrar ese registro cuando lo
                                                 busquemos)
                                                 http://zaguan.unizar.es/help/admin/bibindex-admin-guide




                                                 BIBFORMAT: Se encarga de
                                                 formatear los registros y almacenar ese
                                                 formateo en BD (si formato cacheado).
                                                 http://zaguan.unizar.es/help/admin/bibformat-admin-guide




                                                 WEBCOLL: Se encarga de
                                                 “aglutinar” registros en Colecciones.
                                                 http://zaguan.unizar.es/help/admin/howto-run
                                                 $ webcoll -v0 -s1h



                                                 Las colecciones se definen utilizando el
                                                 módulo WEBSEARCH.

                                                 [AVANZADO]
                                                 BIBRANK: Se encarga de otorgar “importancia” a los
                                                 registros. Se ejecuta periódicamente sobre todos los registros.
                                                 Tiene en cuenta diversos criterios.
BIBINDEX: gestión de índices
                          http://zaguan.unizar.es/help/admin/bibindex-admin-guide

  Manage indexes (gestionar índices): http://zaguan.unizar.es/admin/bibindex/bibindexadmin.py
  Manage logical fields (campos lógicos): http://zaguan.unizar.es/admin/bibindex/bibindexadmin.py/field
                                                                                            Indexes: permite
                                                                                            definir índices que
                                                                                            después se utilizarán
                                                                                            para la búsqueda. Un
                                                                                            index puede contener
                                                                                            uno o más logical fields.
                                                                                            P ej: el index collection
                                                                                            se puede usar para
                                                                                            hacer búsquedas tipo:
                                                                                            collection:FH

                                                                                            Logical fields: son parte
                                                                                            de un index. En cada
                                                                                            logical field se definen
                                                                                            las etiquetas MARC
                                                                                            que se usarán para
                                                                                            dicho logical field.
                                                                                            Por ejemplo, para
                                                                                            collection se usa la
                                                                                            980__% (a,b,c,…)
BIBFORMAT: gestión de formatos                                           http://zaguan.unizar.es/help/admin/bibformat-admin-guide

 Output formats: definen los distintos formatos de salida para los registros del Repositorio    
 /record/XXX?of=CODIGO&verbose=9
BIBFORMAT: gestión de formatos                                                             http://zaguan.unizar.es/help/admin/bibformat-admin-guide

 Output formats: definen los distintos formatos de salida para los registros del Repositorio                         
 /record/XXX?of=CODIGO&verbose=9




  BORRADO DE CACHÉ:
  echo "DELETE FROM bibfmt WHERE format='hb'" | /soft/cds-invenio/bin/dbexec
  echo "DELETE FROM bibfmt WHERE format='HB'" | /soft/cds-invenio/bin/dbexec

  ACTUALIZACIÓN DE CACHÉ:
  Now suppose you don‟t want to delete the information, but only to update the cache information. Then you should type:
       sudo -u apache /soft/cds-invenio/bin/bibreformat –a
  If you only want to update a collection‟s output format you should type:
       sudo -u apache /soft/cds-invenio/bin/bibreformat -c “Fondo Histórico”.
  Note that the -c parameter value must be the name of desired collection which can be seen in websearch admin screen:
       $YOUR_SITE_NAME/admin/websearch/websearchadmin.py?colID=1&mtype=perform_showall
BIBFORMAT: gestión de formatos                                        http://zaguan.unizar.es/help/admin/bibformat-admin-guide

 Output formats: definen también REGLAS tipo firewall sobre qué plantilla aplicar …
                                                                                                        Por ejemplo, para el
                                                                                                        formato HTML
                                                                                                        BREVE (HB) se
                                                                                                        definen las siguientes
                                                                                                        reglas.

                                                                                                        Si la etiqueta 980.a
                                                                                                        del registro es igual a
                                                                                                        „PICTURE‟, entonces
                                                                                                        usa el TEMPLATE
                                                                                                        „Picture HTML brief‟.

                                                                                                        ¿Qué es un
                                                                                                        TEMPLATE? Es una
                                                                                                        PLANTILLA de
                                                                                                        FORMATO.
BIBFORMAT: gestión de formatos   http://zaguan.unizar.es/help/admin/bibformat-admin-guide

 Output templates:
                                                                            Cada PLANTILLA
                                                                            DE FORMATO
                                                                            está compuesta
                                                                            por un conjunto
                                                                            de <tokens>.

                                                                            Cada <token>
                                                                            muestra el valor
                                                                            de una de las
                                                                            etiquetas.
BIBFORMAT: gestión de formatos                       http://zaguan.unizar.es/help/admin/bibformat-admin-guide

 Output templates: cada token se “traduce” en un fichero .py (Python) del sistema.




                            [root@zaguan cdsadmin]# find /soft -name "*bfe_authors*"
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art.pyc
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_book.py
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art.py
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_book.pyc
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_tesis.py
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors.pyc
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art2.py
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_tesis.pyc
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors.py
                            /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art2.pyc
WEBCOLL (WEBSEARCH): gestión de colecciones
                                      http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es


                                                                                          Una
                                                                                          colección
                                                                                          puede ser
                                                                                          REGULAR
                                                                                          o VIRTUAL.
                                                                                          Las
                                                                                          colecciones
                                                                                          con relación
                                                                                          REGULAR
                                                                                          aparecen
                                                                                          en la parte
                                                                                          izquierda
                                                                                          del
                                                                                          Repositorio.
                                                                                          Las
                                                                                          colecciones
                                                                                          con relación
                                                                                          VIRTUAL
                                                                                          aparecen
                                                                                          en la parte
                                                                                          derecha.
WEBCOLL: gestión de colecciones                   http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es




     Una colección se define como una QUERY (consulta/búsqueda). Usualmente se
     hace contra el índice collection (referencia a la 980__%).

     Por ejemplo, todos los registros que tengan 980__%=TAZ (equivale a
     collection:TAZ).

     A la colección se le da un ID y un nombre (translation). Es conveniente que sean
     iguales.
WEBCOLL: portalboxes                         http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es




  Forzar actualización de portalboxes o la
  actualización de webcoll en general:


  webcoll --force
Flujo de trabajo en el modelo de Open Access.




ARCHIVAR: ¿cómo se almacena la información?

                    VALIDACIÓN
                                              MANUAL (modo colaborativo)
                    (Personal BUZ)

                                              AUTOMÁTICO (Harvesting)
                                              Importación desde otros
                                                Catálogos/repositorios
GUIA PARA EL ADMINISTRADOR:
                                                http://zaguan.unizar.es/help/admin/webaccess-
WEBACCESS: gestión de roles, autorizaciones,    admin-guide

etc                                             GUIA PARA EL PROGRAMADOR:
                                                http://invenio-
                                                demo.cern.ch/help/hacking/webaccess-
                                                internals
                                                ROL = conjunto de
                                                usuarios (admite
                                                expresiones regulares).
                                                Definición tipo firewall:
                                                allow email
                                                “miguelm@unizar.es”

                                                deny any



                                                ACCIÓN = conjunto de
                                                operaciones que se
                                                pueden realizar en el
                                                Repositorio
                                                (submit), (referee),
                                                (runcfgxxx) ,…
           AUTORIZACIÓN = regla que relaciona
           ROLES con ACCIONES
GUIA PARA EL ADMINISTRADOR:
                                                                  http://zaguan.unizar.es/help/admin/webaccess-
WEBACCESS: comportamiento POR DEFECTO.                            admin-guide

                                                                  GUIA PARA EL PROGRAMADOR:
                                                                  http://invenio-
 ¡EL COMPORTAMIENTO POR DEFECTO NO                                demo.cern.ch/help/hacking/webaccess-
                                                                  internals
 ES EL QUE SE DICE EN LA AYUDA!

 The default behaviour (at least in recent versions) is to
 authorize users to submit if there is no
 authorization specifically defined (i.e. a role
 connected to an action).

 The action becomes restricted for "everybody" as
 soon as you add an authorization for the given
 submission and action.

 So if you don't add an authorization for doctype=TAZ,
 act=SRV (even with an empty role), anybody can use
 this action. To review who used this submission (and
 check if they were authorized) your can run:

 $ echo "SELECT * from sbmSUBMISSIONS where doctype='TAZ' and 
 action='SRV'" | /opt/cds-invenio/bin/dbexec
GUIA PARA EL ADMINISTRADOR:
                                               http://zaguan.unizar.es/help/admin/webaccess-
WEBACCESS: gestión de roles, autorizaciones,   admin-guide

etc                                            GUIA PARA EL PROGRAMADOR:
                                               http://invenio-
                                               demo.cern.ch/help/hacking/webaccess-
                                               internals
GUIA PARA EL ADMINISTRADOR:
                                                http://zaguan.unizar.es/help/admin/webaccess-
WEBACCESS: gestión de roles, autorizaciones,    admin-guide

etc                                             GUIA PARA EL PROGRAMADOR:
                                                http://invenio-
                                                demo.cern.ch/help/hacking/webaccess-
                                                internals

                                               cfgXXX = configurar XXX
                                               módulo. [AVANZADO]

                                               runYYY = ejecutar
                                               determinada tarea de
                                               bibsched. Salvo
                                               runbibedit, el resto NO
                                               tocar.

                                               Submit: enviar
                                               documentos (SBI, MBI,
                                               APP, SRV)

                                               Referee: a quién se avisa
                                               para moderar.

                                               Submit APP vs Referee:
                                               el primero define quién
                                               puede, y el segundo a
Flujo de trabajo en el modelo de Open Access.




ARCHIVAR: ¿cómo se almacena la información?

                    VALIDACIÓN
                                              MANUAL (modo colaborativo)
                    (Personal BUZ)

                                              AUTOMÁTICO (Harvesting)
                                              Importación desde otros
                                                Catálogos/repositorios
ARCHIVAR – Ejemplo: Harvesting de CERN

  bibharvest -vListRecords
             -f2009-12-01
             -pmarcxml
             -o/home/cdsadmin/harvestCERN20091201.txt
              http://cdsweb.cern.ch/oai2d




                              http://www.openarchives.org/pmh/tools/tools.php
DIFUNDIR: Acceso a servidor web (http://zaguan.unizar.es)

- Herramientas usuales de búsqueda
- Búsquedas por colección o por otros criterios personalizables
- Establecimiento de grupos (comunidades)
- Herramientas de seguimiento (cestas)
DIFUNDIR: Acceso OAI (http://zaguan.unizar.es/oai2d)

OAI = Open Access Initiative
(iniciativa de acceso abierto)
http://www.openarchives.org

- Protocolo para máquinas
- Maximizar y simplificar difusión
- Evitar replicación de contenidos


Ejemplos query OAI:
Identificar repositorio:
http://zaguan.unizar.es/oai2d?verb=Identify


Listar sets
http://zaguan.unizar.es/oai2d?verb=ListSets


Obtener formatos de metadatos
http://zaguan.unizar.es/oai2d?verb=GetRecord&metadataPref
       ix=oai_dc&identifier=oai:zaguan.unizar.es:100


Obtener un registro en un formato                           Más ejemplos de query’s soportadas:
                                                            http://www.leccionespracticas.com/cds-invenio/oai-pmh-verb-
   determinado                                              parameters/
http://zaguan.unizar.es/oai2d?verb=GetRecord&metadataPref
       ix=oai_dc&identifier=oai:zaguan.unizar.es:100
OAI server: cómo configurar un SET   http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3
                                     http://www.leccionespracticas.com/cds-invenio/cds-invenio-
                                     understanding-oai-setspecs-collections-and-phrases


                                                           The first two fields (setSpec and
                                                           setName) are the ways to identify
                                                           your new set. First one is the
                                                           machine-readable name and the
                                                           second, the human-readable one.
                                                           Usually I type the same name in
                                                           both fields.
                                                           In my example I will type „public‟
                                                           in these fields.

                                                           The next field is Collection(s).
                                                           Here you must type the
                                                           Collection(s) to which belong the
                                                           records you want to add to the
                                                           OAI. For instance, I have a
                                                           collection called “Tesis” so I type
                                                           “Tesis” in this field. Please note
                                                           this name is exactly the one
                                                           displayed in WebSearch admin
                                                           interface when listing the
                                                           collections. This is NOT the
                                                           value you use to define a
                                                           collection (see images below).
                                                           From now on I‟ll call the first
                                                           Collection Names and the second
                                                           Collection Queries.
OAI server: cómo configurar un SET                              http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3
                                                                http://www.leccionespracticas.com/cds-invenio/cds-invenio-
                                                                understanding-oai-setspecs-collections-and-phrases


                                                                                      Next fields are Phrases. I was
                                                                                      wondering how this Phrases
                                                                                      and collections were evaluated.
                                                                                      This is the way it works:

                                                                                      1) the union of the Collection(s)
                                                                                      you specified is taken (let‟s call it
                                                                                      A).

                                                                                      2) on this you apply the (at most)
 TIPS:                                                                                three condition reading them from
 1)   If you want to add a phrase which involves a concrete field                     left to right. So e.g. if you have “X
      (ie:984) you should make sure it is already defined. To do this                 and Y or Z” phrase‟s, all the
      refer to:                                                                       records from A that match X are
      http://yourURLToCDSINVENIO/admin/bibindex/bibindexadmin.p                       intersected with all the records
      y/field. If it is not defined there, add the definition.                        from A that match Y. Then this is
                                                                                      united with all the records from A
 2)   If you want to add a phrase which involves collections you                      that match Z.
      should use the „Collection Query‟. This is, in this case I would
      use “THE” instead of “Tesis”, as “Tesis” collection is defined like
      collection:THE (refer to previous section for further explanation).
OAI server: ejemplo de definición de SET complejo
                                           http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3
                                                             http://www.leccionespracticas.com/cds-invenio/cds-invenio-
                                                             understanding-oai-setspecs-collections-and-phrases




 Let‟s suppose you want to define a OAI set, called „public‟, which involves Collection (names) A,B,C and
 only some of the records in collection (name) D, this is an OAI set is defined as a union of definitions.
 The records belonging to collection D must be included only if the 984a field contains exactly the word
 “public”.
 What you can actually do is:
 (i) define a first “public” setSpec with:
 Collection(s): A,B,C
 (ii) define a second “public” setSpec with:
 Collection(s): D
 Phrase: public 984__% Exact phrase
Del lat.: repositorium, significa
REPOSITORIOS: ¿qué son? armario, alacena, “lugar donde se
                        guarda algo” [RAE]

                                                                                                SERVICIOS
   A university-based institutional repository is a set of
                                                                                                FUNCIONES
   services that a university offers to the members of its
   community for the management and dissemination of
   digital materials created by the institution and its
   community members. It is most essentially an
   organizational commitment to the stewardship of these
   digital materials, including longterm
   preservation where appropriate, as well as organization
   and access or distribution
   [Clifford A. Lynch (2003). Institutional Repositories: Essential Infrastructure for
   Scholarship in the Digital Age. ARL Bimonthly                                            OBJETOS
   Report 226. http://www.arl.org/newsltr/226/ir.html]
                                                                                            DIGITALES




    Archivar (depósito)

    Preservar (METS,
    PREMIS)

    Difundir (OAI-PMH)                                                                   INSTITUCIONES
                                                                                         PERSONAS
PRESERVAR: ¿cómo se almacena la información para asegurar que SIEMPRE
estará disponible?


Buenas prácticas y                        El COSTE de la
 requerimientos                            preservación
          USO de formatos                     Preservar es caro (recursos
        estándar ( texto, video,                  humanos, recursos
           sonido, imágenes)                        informáticos…)

      Descripción bibliográfica:              ¿Hay que preservarlo todo?
          DC, MARCXML, METS                    ¿qué debemos preservar?


      Adaptación a los cambios                              PREMIS
            tecnológicos                       http://www.loc.gov/standards/premis/
CDS INVENIO
DÍA 2: DEFINIENDO UN NUEVO DOCTYPE
CON WEBSUBMIT




        Miguel Martín González - miguelm@unizar.es
PASO 0: Consideraciones previas


 Almacenar sí vs Almacenar no:
  - ¿Es interesante almacenar este nuevo “tipo de documento”?
  - ¿Qué volumen de envíos de este tipo podría producirse si se implementa?
  - ¿Qué volumen de consultas?


 Preservar sí vs Preservar no:
  - ¿Interesa preservarlo?
  - ¿Cuál va a ser el coste de preservarlo?
  - ¿Cuál va a ser la FORMA de preservarlo?
  - ¿Cuánto tiempo?


 PERMISOS / DERECHOS de autor:
 - ¿quién va a poder enviar?
 - ¿va a ser un envío moderado?
 - De ser moderado, ¿Quién lo va a validar?
 - ¿Quién lo va a poder CONSULTAR?
 - ¿A texto completo o solo los metadatos?
PASO 1: Buscando el MARC más completo posible
 PASOS:



 • ¿Es un nuevo “tipo” de documento o “encaja” en alguna subcategoría de los
 existentes? Aunque no “encaje” en subcategorías, ¿cómo se guardan los datos
 SIMILARES? (P ej, si va a tener keywords y hay otros doctypes con keywords,
 ¿cómo se guardan? ¿dónde se guardan?)


 • ¿Cómo se procede en otros repositorios para almacenar este tipo de
 contenido? ¿Qué tipo de FORMATO es el más conveniente para almacenar este
 tipo de documento? ¿Va a ser el hosting LOCAL o REMOTO (=cargar fichero o
 añadir URL)?


 • ¿Qué información (metadatos) es ESENCIAL que contengan los registros de
 este “tipo”?


 • ¿Qué información (metadatos) podría contener este “tipo” de documento, pero
 no es imprescindible?
PASO 1: Buscando el MARC más completo posible



 PASOS:

 -Definir un “modelo” en MARC teniendo en cuenta el registro con más metadatos
 que exista. Por ejemplo:
 <record>
   <controlfield tag="001">4574</controlfield>                         ESTOS DATOS LOS GENERARÁ EL
   <datafield tag="037" ind1=" " ind2=" ">                             SISTEMA. NO hay que pensar cómo
       <subfield code="a">TESIS-2010-039</subfield>                    generarlos
   </datafield>
     <datafield tag="041" ind1=" " ind2=" ">
         <subfield code="a">spa</subfield>
     </datafield>
     <datafield tag="100" ind1="1" ind2=" ">
         <subfield code="a">Sáenz Preciado, Jesús Carlos</subfield>
     </datafield>
     <datafield tag="245" ind1="0" ind2="0">
         <subfield code="a">La Terra Sigillata Hispanica del Municipium Augusta Bilbilis</subfield>
     </datafield>
     <datafield tag="260" ind1=" " ind2=" ">
         <subfield code="b">Universidad de Zaragoza</subfield>
         <subfield code="a">Zaragoza</subfield>
         <subfield code="c">1997</subfield>
     </datafield>
     <datafield tag="300" ind1=" " ind2=" ">
         <subfield code="a">990</subfield>
     </datafield>

 …

 </record>
PANTALLA CONFIG. doctype (WEBSUBMIT)
PANTALLA CONFIG. doctype (WEBSUBMIT)
  Acciones: definen el tipo de   View INTERFACE (formulario
  formulario que se creará:      HTML)
  APP = APProval                 View FUNCTIONS
  SBI = SuBmIt                   (operaciones a ejecutar y orden
  MBI= Modify
                                 de las mismas)
  SRV = Submit files


  Se empieza definiendo la
  INTERFAZ de envío de nuevos
  documentos (para la acción
  SBI).


  Familiarizarse con los
  ELEMENTS existentes en el
  sistema.
PASO 2: DEFINIR FORMULARIOS DE ENVÍO
 PASOS:

 - Ya tenemos los DATOS que hay que solicitar al usuario = sabemos qué campos
 son necesarios. También sabemos si son opcionales u obligatorios. Hay que
 pensar en QUÉ hay que validar sobre esos datos (p. ej: si es fecha, que sea
 formato DD/MM/AAAA y que fecha insertada sea anterior a la actual).

 - Nos fijamos cómo están definidos los formularios de OTROS doctype ¡¡SIN
 MODIFICARLOS!!




            .
PASO 2: DEFINIR FORMULARIOS DE ENVÍO
 Un formulario = conjunto de ELEMENTS, LABEL‟s, LEVEL‟s y CHECK‟s.




 ELEMENT = aglutina el TIPO DE <INPUT> y el MARCCODE asociado.

 LABEL = modificador HTML que se coloca PRECEDIENDO a cada ELEMENT.

 LEVEL = O:optional, M:mandatory

 CHECK = Función JS a aplicar al <input> (por ejemplo, DateCheck)
PASO 2: DEFINIR FORMULARIOS DE ENVÍO
 Veamos el ELEMENT llamado „DEMOBOO_TITLE‟
PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO
[AVANZADO]
  Dos casos básicos: (1) Envío MODERADO (2) Envío SIN MODERAR.
  EJEMPLO: (1)
PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO
[AVANZADO]
  Para cada Function ajustamos los PARAMETERS.

                                                  Eliminar la función
                                                  “move to done” es
                                                  muy útil para hacer
                                                  un DEBUG cuando
                                                  se produce algún
                                                  tipo de problema
                                                  con los envíos.




                   .
PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO
[AVANZADO]son los más IMPORTANTES. Indican cómo debe crearse el registro (la equivalencia
  Estos ficheros
  entre ELEMENTS y el MARCXML del registro que se creará)




                       .

                     [root@zaguan cdsadmin]# find /soft -name DEMOTHE.tpl
                     /soft/cds-invenio/etc/bibconvert/config/DEMOTHE.tpl
PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype
 Ya tenemos todos los pasos hechos para poder realizar envíos de nuevos registros.




   El valor que hemos puesto (de forma estática) para la colección (en el
   MARCTAG 980__a) define la query que deberemos asignar a la
   colección.
PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype
 Lo único que falta es crear (si procede) la nueva colección que agrupe estos registros nuevos.

                                                                            Para definir una nueva
                                                                            colección se usa el
                                                                            módulo WebSearch.

                                                                            “Create new collection” y
                                                                            nos pide el “Default
                                                                            name”
PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype
 Vamos a ver los pasos y valores necesarios para definir la nueva colección…

                                                                          Para definir una nueva
                                                                          colección se usa el
                                                                          módulo WebSearch.

                                                                          “Create new collection” y
                                                                          nos pide el “Default
                                                                          name”

                                                                          Después se selecciona la
                                                                          “Parent collection” y la
                                                                          “Relationship”.
PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype
 La colección ya está definida. Ahora hay que editarla y añadirle la QUERY necesaria para que
 funcione…                                   La misma cadena que hemos usado en el DEMOTHEcreate.tpl la
                                             ponemos como query en el campo de “Modify collection query for collection
                                             ‘ejemplo‟”
PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype
 La colección (y su query asociada) están completamente definidas, ¿cómo sigo?

                                              La nueva colección aparece pulsando “Show all”,
                                              pero NO aparece aun en la página principal.

                                              ¿Cómo hacer que aparezca? Hay que esperar a la
                                              ejecución de webcoll en bibsched (si está en modo
                                              automático) o ejecutar manualmente la tarea webcoll
                                              en bibsched (R). Si pese a todo no se actualiza, se
                                              puede forzar manualmente:
                                              [root@aneto cdsadmin]# sudo -u apache webcoll --force
                                              WebColl Task Submission
                                              =======================
                                              Username: miguelm@unizar.es
                                              Password:
PASO 5: VERIFICAR QUE LOS NUEVOS REGISTROS APARECEN EN LA
NUEVA COLECC.
  La colección está totalmente definida. Si enviamos un registro debería
  aparecer dentro de su colección.

  ¿Qué hacer si no aparece?

  1. Acceder al registro, a su visualización XM (marcxml) y verificar que la
     980__a contiene la MISMA CADENA de texto que contiene la query de
     la colección.

  2. Ejecutar manualmente las tareas de bibsched (todas dos veces).

  3. Actualizar la página.
PASO 6: GESTIONAR LOS PERMISOS CON WEBACCESS
  Los envíos funcionan. Los registros aparecen dentro de su colección.

  Falta definir PERMISOS.


  - Crear ROL (si no existe ya uno apropiado para tal fin)

  - Crear autorizaciones (qué acciones puede hacer cada rol)

  - Verificar el funcionamiento.

Weitere ähnliche Inhalte

Kürzlich hochgeladen

El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptx
El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptxEl_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptx
El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptxAlexander López
 
definicion segun autores de matemáticas educativa
definicion segun autores de matemáticas  educativadefinicion segun autores de matemáticas  educativa
definicion segun autores de matemáticas educativaAdrianaMartnez618894
 
El uso de las tic en la vida ,lo importante que son
El uso de las tic en la vida ,lo importante  que sonEl uso de las tic en la vida ,lo importante  que son
El uso de las tic en la vida ,lo importante que son241514984
 
tics en la vida cotidiana prepa en linea modulo 1.pptx
tics en la vida cotidiana prepa en linea modulo 1.pptxtics en la vida cotidiana prepa en linea modulo 1.pptx
tics en la vida cotidiana prepa en linea modulo 1.pptxazmysanros90
 
Plan Sarmiento - Netbook del GCBA 2019..
Plan Sarmiento - Netbook del GCBA 2019..Plan Sarmiento - Netbook del GCBA 2019..
Plan Sarmiento - Netbook del GCBA 2019..RobertoGumucio2
 
El uso de las TIC's en la vida cotidiana.
El uso de las TIC's en la vida cotidiana.El uso de las TIC's en la vida cotidiana.
El uso de las TIC's en la vida cotidiana.241514949
 
R1600G CAT Variables de cargadores en mina
R1600G CAT Variables de cargadores en minaR1600G CAT Variables de cargadores en mina
R1600G CAT Variables de cargadores en minaarkananubis
 
GonzalezGonzalez_Karina_M1S3AI6... .pptx
GonzalezGonzalez_Karina_M1S3AI6... .pptxGonzalezGonzalez_Karina_M1S3AI6... .pptx
GonzalezGonzalez_Karina_M1S3AI6... .pptx241523733
 
El uso delas tic en la vida cotidiana MFEL
El uso delas tic en la vida cotidiana MFELEl uso delas tic en la vida cotidiana MFEL
El uso delas tic en la vida cotidiana MFELmaryfer27m
 
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptx
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptxMedidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptx
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptxaylincamaho
 
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptx
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptxCrear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptx
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptxNombre Apellidos
 
Presentación inteligencia artificial en la actualidad
Presentación inteligencia artificial en la actualidadPresentación inteligencia artificial en la actualidad
Presentación inteligencia artificial en la actualidadMiguelAngelVillanuev48
 
Actividad integradora 6 CREAR UN RECURSO MULTIMEDIA
Actividad integradora 6    CREAR UN RECURSO MULTIMEDIAActividad integradora 6    CREAR UN RECURSO MULTIMEDIA
Actividad integradora 6 CREAR UN RECURSO MULTIMEDIA241531640
 
Arenas Camacho-Practica tarea Sesión 12.pptx
Arenas Camacho-Practica tarea Sesión 12.pptxArenas Camacho-Practica tarea Sesión 12.pptx
Arenas Camacho-Practica tarea Sesión 12.pptxJOSEFERNANDOARENASCA
 
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptx
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptxLAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptx
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptxAlexander López
 
dokumen.tips_36274588-sistema-heui-eui.ppt
dokumen.tips_36274588-sistema-heui-eui.pptdokumen.tips_36274588-sistema-heui-eui.ppt
dokumen.tips_36274588-sistema-heui-eui.pptMiguelAtencio10
 
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdf
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdfPARTES DE UN OSCILOSCOPIO ANALOGICO .pdf
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdfSergioMendoza354770
 
Segunda ley de la termodinámica TERMODINAMICA.pptx
Segunda ley de la termodinámica TERMODINAMICA.pptxSegunda ley de la termodinámica TERMODINAMICA.pptx
Segunda ley de la termodinámica TERMODINAMICA.pptxMariaBurgos55
 
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.ppt
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.pptTEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.ppt
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.pptJavierHerrera662252
 
Hernandez_Hernandez_Practica web de la sesion 11.pptx
Hernandez_Hernandez_Practica web de la sesion 11.pptxHernandez_Hernandez_Practica web de la sesion 11.pptx
Hernandez_Hernandez_Practica web de la sesion 11.pptxJOSEMANUELHERNANDEZH11
 

Kürzlich hochgeladen (20)

El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptx
El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptxEl_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptx
El_Blog_como_herramienta_de_publicacion_y_consulta_de_investigacion.pptx
 
definicion segun autores de matemáticas educativa
definicion segun autores de matemáticas  educativadefinicion segun autores de matemáticas  educativa
definicion segun autores de matemáticas educativa
 
El uso de las tic en la vida ,lo importante que son
El uso de las tic en la vida ,lo importante  que sonEl uso de las tic en la vida ,lo importante  que son
El uso de las tic en la vida ,lo importante que son
 
tics en la vida cotidiana prepa en linea modulo 1.pptx
tics en la vida cotidiana prepa en linea modulo 1.pptxtics en la vida cotidiana prepa en linea modulo 1.pptx
tics en la vida cotidiana prepa en linea modulo 1.pptx
 
Plan Sarmiento - Netbook del GCBA 2019..
Plan Sarmiento - Netbook del GCBA 2019..Plan Sarmiento - Netbook del GCBA 2019..
Plan Sarmiento - Netbook del GCBA 2019..
 
El uso de las TIC's en la vida cotidiana.
El uso de las TIC's en la vida cotidiana.El uso de las TIC's en la vida cotidiana.
El uso de las TIC's en la vida cotidiana.
 
R1600G CAT Variables de cargadores en mina
R1600G CAT Variables de cargadores en minaR1600G CAT Variables de cargadores en mina
R1600G CAT Variables de cargadores en mina
 
GonzalezGonzalez_Karina_M1S3AI6... .pptx
GonzalezGonzalez_Karina_M1S3AI6... .pptxGonzalezGonzalez_Karina_M1S3AI6... .pptx
GonzalezGonzalez_Karina_M1S3AI6... .pptx
 
El uso delas tic en la vida cotidiana MFEL
El uso delas tic en la vida cotidiana MFELEl uso delas tic en la vida cotidiana MFEL
El uso delas tic en la vida cotidiana MFEL
 
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptx
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptxMedidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptx
Medidas de formas, coeficiente de asimetría y coeficiente de curtosis.pptx
 
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptx
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptxCrear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptx
Crear un recurso multimedia. Maricela_Ponce_DomingoM1S3AI6-1.pptx
 
Presentación inteligencia artificial en la actualidad
Presentación inteligencia artificial en la actualidadPresentación inteligencia artificial en la actualidad
Presentación inteligencia artificial en la actualidad
 
Actividad integradora 6 CREAR UN RECURSO MULTIMEDIA
Actividad integradora 6    CREAR UN RECURSO MULTIMEDIAActividad integradora 6    CREAR UN RECURSO MULTIMEDIA
Actividad integradora 6 CREAR UN RECURSO MULTIMEDIA
 
Arenas Camacho-Practica tarea Sesión 12.pptx
Arenas Camacho-Practica tarea Sesión 12.pptxArenas Camacho-Practica tarea Sesión 12.pptx
Arenas Camacho-Practica tarea Sesión 12.pptx
 
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptx
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptxLAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptx
LAS_TIC_COMO_HERRAMIENTAS_EN_LA_INVESTIGACIÓN.pptx
 
dokumen.tips_36274588-sistema-heui-eui.ppt
dokumen.tips_36274588-sistema-heui-eui.pptdokumen.tips_36274588-sistema-heui-eui.ppt
dokumen.tips_36274588-sistema-heui-eui.ppt
 
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdf
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdfPARTES DE UN OSCILOSCOPIO ANALOGICO .pdf
PARTES DE UN OSCILOSCOPIO ANALOGICO .pdf
 
Segunda ley de la termodinámica TERMODINAMICA.pptx
Segunda ley de la termodinámica TERMODINAMICA.pptxSegunda ley de la termodinámica TERMODINAMICA.pptx
Segunda ley de la termodinámica TERMODINAMICA.pptx
 
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.ppt
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.pptTEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.ppt
TEMA 2 PROTOCOLO DE EXTRACCION VEHICULAR.ppt
 
Hernandez_Hernandez_Practica web de la sesion 11.pptx
Hernandez_Hernandez_Practica web de la sesion 11.pptxHernandez_Hernandez_Practica web de la sesion 11.pptx
Hernandez_Hernandez_Practica web de la sesion 11.pptx
 

Empfohlen

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Empfohlen (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Cds invenio

  • 1. CDS INVENIO DÍA 1: INTRODUCCIÓN Miguel Martín González - miguelm@unizar.es
  • 2. Del lat.: repositorium, significa REPOSITORIOS: ¿qué son? armario, alacena, “lugar donde se guarda algo” [RAE] SERVICIOS A university-based institutional repository is a set of FUNCIONES services that a university offers to the members of its community for the management and dissemination of digital materials created by the institution and its community members. It is most essentially an organizational commitment to the stewardship of these digital materials, including longterm preservation where appropriate, as well as organization and access or distribution [Clifford A. Lynch (2003). Institutional Repositories: Essential Infrastructure for Scholarship in the Digital Age. ARL Bimonthly OBJETOS Report 226. http://www.arl.org/newsltr/226/ir.html] DIGITALES Archivar (depósito) Preservar (METS, PREMIS) Difundir (OAI-PMH) INSTITUCIONES PERSONAS
  • 3. Partes básicas: Conceptos y glosario Portalboxes (información Regular collections Virtual collections (otra adicional) (asociado a doctype) forma de organizar contenido)
  • 4. CDS INVENIO DÍA 2: ESTRUCTURA GENERAL DE FUNCIONAMIENTO Y EXPLICACIÓN DE MÓDULOS Miguel Martín González - miguelm@unizar.es
  • 6. ENVIO DE DOCUMENTOS: Flujo general Operaciones realizadas en el servidor Interfaz de usuario (privilegiadas) (loggeado)
  • 7. ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO loggeado) 1de2 WebSubmit is a comprehensive submission system allowing authorized individuals (authors, secretaries and repository maintenance staff) to submit individual documents into the system. The submission system disposes of a flow-control mechanism that assures the data approval by authorized units. In total there are several different exploitable submission schemas at a disposal, including an automated full text document conversion from various textual and image formats. This module also disposes of information extraction functionality, focusing on bibliographic entities such as references, authors, keywords or other implicit metadata. Caso más simple: envío autorizado a TODO usuario que se valide correctamente (sin moderación). Por ejemplo TRABAJOS ACADÉMICOS. Login en el sistema (utilizando los datos del correo-e) [WEBACCESS] Menú: Enviar  elección del tipo de documento (doctype) [WEBSUBMIT]
  • 8. ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO loggeado) 2de2
  • 9. ENVIO DE DOCUMENTOS: Envío mediante menú (como USUARIO loggeado) 2de2 Guarda temporalmente el envío (accesible más tarde mediante el menú “Sus Opciones  Sus envíos”). NO SE COMPLETA EL ENVIO. Termina el envío (manda, si procede, email a los moderadores de contenido asi como al autor, informando del envío completado). NO aparece inmediatamente el registro en el Repositorio (hay que ejecutar manualmente las tareas de BibSched o esperar un tiempo prudencial –máx 1h- a que se ejecuten automáticamente). Este número (conocido como access) es interesante para RESOLVER PROBLEMAS en el envío de los registros. DURANTE el envío: [root@aneto cdsadmin]# find /soft -name “*1273473021_16130*" /soft/cds-invenio/var/data/submit/storage/running/TAZ/1273473021_16130 AL FINAL del envío (después de pulsar “Terminar envío”):ç [root@aneto cdsadmin]# grep -R "TAZ-TFM-2010-018" /soft/cds-invenio/var/ Binary file /soft/cds-invenio/var/data/submit/storage/done/running/TAZ/TAZ-TFM-2010-018_20100510121914.tar.gz matches
  • 10. ENVIO DE DOCUMENTOS: RECEPCIÓN DE CORREO ELECTRÓNICO El usuario (submitter) y el administrador del Repositorio reciben un email indicando que el envío se ha completado: Este enlace indica que record number se asigna(rá) al nuevo registro.
  • 11. ENVIO DE DOCUMENTOS: Flujo general Parte ya Una vez que el usuario ha pulsado “Terminar explicada envío” se realizan automáticamente las tareas explicadas hasta ahora. Al observar Bibsched aparecerán nuevas Procesos tareas de “BibUpload”. Ayuda sobre internos BibUpload: (bibsched) http://zaguan.unizar.es/help/admin/bibupload-admin-guide Tras ser ejecutadas las correspondientes tareas de BibUpload, se realiza la indexación del nuevo registro (BibIndex) y éste aparece en zaguan (WebColl): http://zaguan.unizar.es/record/XXXX
  • 12. BIBSCHED: Qué es y cómo funciona http://zaguan.unizar.es/help/admin/howto-run Observar el scheduler (programador) de tareas: [root@aneto cdsadmin]# sudo -u apache bibsched Puede funcionar en modo automático o manual (conmutable pulsando “A”). Cuando está en modo manual podemos desplazarnos por las tareas (flechas arriba/abajo) y ejecutar una tarea en concreto (estando sobre ella, pusar “R”). En automático (estado normal) las tareas se ejecutan solas cada cierto tiempo. Pulsando “L” sobre una tarea vemos el LOG (registro de eventos) de la misma.
  • 13. BIBINDEX, BIBFORMAT, WEBCOLL, (WEBSEARCH, BIBRANK) BIBINDEX: Se encarga de la indexación de los datos del registro (modifica las BD‟s para que podamos encontrar ese registro cuando lo busquemos) http://zaguan.unizar.es/help/admin/bibindex-admin-guide BIBFORMAT: Se encarga de formatear los registros y almacenar ese formateo en BD (si formato cacheado). http://zaguan.unizar.es/help/admin/bibformat-admin-guide WEBCOLL: Se encarga de “aglutinar” registros en Colecciones. http://zaguan.unizar.es/help/admin/howto-run $ webcoll -v0 -s1h Las colecciones se definen utilizando el módulo WEBSEARCH. [AVANZADO] BIBRANK: Se encarga de otorgar “importancia” a los registros. Se ejecuta periódicamente sobre todos los registros. Tiene en cuenta diversos criterios.
  • 14. BIBINDEX: gestión de índices http://zaguan.unizar.es/help/admin/bibindex-admin-guide Manage indexes (gestionar índices): http://zaguan.unizar.es/admin/bibindex/bibindexadmin.py Manage logical fields (campos lógicos): http://zaguan.unizar.es/admin/bibindex/bibindexadmin.py/field Indexes: permite definir índices que después se utilizarán para la búsqueda. Un index puede contener uno o más logical fields. P ej: el index collection se puede usar para hacer búsquedas tipo: collection:FH Logical fields: son parte de un index. En cada logical field se definen las etiquetas MARC que se usarán para dicho logical field. Por ejemplo, para collection se usa la 980__% (a,b,c,…)
  • 15. BIBFORMAT: gestión de formatos http://zaguan.unizar.es/help/admin/bibformat-admin-guide Output formats: definen los distintos formatos de salida para los registros del Repositorio  /record/XXX?of=CODIGO&verbose=9
  • 16. BIBFORMAT: gestión de formatos http://zaguan.unizar.es/help/admin/bibformat-admin-guide Output formats: definen los distintos formatos de salida para los registros del Repositorio  /record/XXX?of=CODIGO&verbose=9 BORRADO DE CACHÉ: echo "DELETE FROM bibfmt WHERE format='hb'" | /soft/cds-invenio/bin/dbexec echo "DELETE FROM bibfmt WHERE format='HB'" | /soft/cds-invenio/bin/dbexec ACTUALIZACIÓN DE CACHÉ: Now suppose you don‟t want to delete the information, but only to update the cache information. Then you should type: sudo -u apache /soft/cds-invenio/bin/bibreformat –a If you only want to update a collection‟s output format you should type: sudo -u apache /soft/cds-invenio/bin/bibreformat -c “Fondo Histórico”. Note that the -c parameter value must be the name of desired collection which can be seen in websearch admin screen: $YOUR_SITE_NAME/admin/websearch/websearchadmin.py?colID=1&mtype=perform_showall
  • 17. BIBFORMAT: gestión de formatos http://zaguan.unizar.es/help/admin/bibformat-admin-guide Output formats: definen también REGLAS tipo firewall sobre qué plantilla aplicar … Por ejemplo, para el formato HTML BREVE (HB) se definen las siguientes reglas. Si la etiqueta 980.a del registro es igual a „PICTURE‟, entonces usa el TEMPLATE „Picture HTML brief‟. ¿Qué es un TEMPLATE? Es una PLANTILLA de FORMATO.
  • 18. BIBFORMAT: gestión de formatos http://zaguan.unizar.es/help/admin/bibformat-admin-guide Output templates: Cada PLANTILLA DE FORMATO está compuesta por un conjunto de <tokens>. Cada <token> muestra el valor de una de las etiquetas.
  • 19. BIBFORMAT: gestión de formatos http://zaguan.unizar.es/help/admin/bibformat-admin-guide Output templates: cada token se “traduce” en un fichero .py (Python) del sistema. [root@zaguan cdsadmin]# find /soft -name "*bfe_authors*" /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art.pyc /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_book.py /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art.py /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_book.pyc /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_tesis.py /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors.pyc /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art2.py /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_tesis.pyc /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors.py /soft/cds-invenio/lib/python/invenio/bibformat_elements/bfe_authors_art2.pyc
  • 20. WEBCOLL (WEBSEARCH): gestión de colecciones http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es Una colección puede ser REGULAR o VIRTUAL. Las colecciones con relación REGULAR aparecen en la parte izquierda del Repositorio. Las colecciones con relación VIRTUAL aparecen en la parte derecha.
  • 21. WEBCOLL: gestión de colecciones http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es Una colección se define como una QUERY (consulta/búsqueda). Usualmente se hace contra el índice collection (referencia a la 980__%). Por ejemplo, todos los registros que tengan 980__%=TAZ (equivale a collection:TAZ). A la colección se le da un ID y un nombre (translation). Es conveniente que sean iguales.
  • 22. WEBCOLL: portalboxes http://zaguan.unizar.es/help/admin/websearch-admin-guide?ln=es Forzar actualización de portalboxes o la actualización de webcoll en general: webcoll --force
  • 23. Flujo de trabajo en el modelo de Open Access. ARCHIVAR: ¿cómo se almacena la información? VALIDACIÓN MANUAL (modo colaborativo) (Personal BUZ) AUTOMÁTICO (Harvesting) Importación desde otros Catálogos/repositorios
  • 24. GUIA PARA EL ADMINISTRADOR: http://zaguan.unizar.es/help/admin/webaccess- WEBACCESS: gestión de roles, autorizaciones, admin-guide etc GUIA PARA EL PROGRAMADOR: http://invenio- demo.cern.ch/help/hacking/webaccess- internals ROL = conjunto de usuarios (admite expresiones regulares). Definición tipo firewall: allow email “miguelm@unizar.es” deny any ACCIÓN = conjunto de operaciones que se pueden realizar en el Repositorio (submit), (referee), (runcfgxxx) ,… AUTORIZACIÓN = regla que relaciona ROLES con ACCIONES
  • 25. GUIA PARA EL ADMINISTRADOR: http://zaguan.unizar.es/help/admin/webaccess- WEBACCESS: comportamiento POR DEFECTO. admin-guide GUIA PARA EL PROGRAMADOR: http://invenio- ¡EL COMPORTAMIENTO POR DEFECTO NO demo.cern.ch/help/hacking/webaccess- internals ES EL QUE SE DICE EN LA AYUDA! The default behaviour (at least in recent versions) is to authorize users to submit if there is no authorization specifically defined (i.e. a role connected to an action). The action becomes restricted for "everybody" as soon as you add an authorization for the given submission and action. So if you don't add an authorization for doctype=TAZ, act=SRV (even with an empty role), anybody can use this action. To review who used this submission (and check if they were authorized) your can run: $ echo "SELECT * from sbmSUBMISSIONS where doctype='TAZ' and action='SRV'" | /opt/cds-invenio/bin/dbexec
  • 26. GUIA PARA EL ADMINISTRADOR: http://zaguan.unizar.es/help/admin/webaccess- WEBACCESS: gestión de roles, autorizaciones, admin-guide etc GUIA PARA EL PROGRAMADOR: http://invenio- demo.cern.ch/help/hacking/webaccess- internals
  • 27. GUIA PARA EL ADMINISTRADOR: http://zaguan.unizar.es/help/admin/webaccess- WEBACCESS: gestión de roles, autorizaciones, admin-guide etc GUIA PARA EL PROGRAMADOR: http://invenio- demo.cern.ch/help/hacking/webaccess- internals cfgXXX = configurar XXX módulo. [AVANZADO] runYYY = ejecutar determinada tarea de bibsched. Salvo runbibedit, el resto NO tocar. Submit: enviar documentos (SBI, MBI, APP, SRV) Referee: a quién se avisa para moderar. Submit APP vs Referee: el primero define quién puede, y el segundo a
  • 28. Flujo de trabajo en el modelo de Open Access. ARCHIVAR: ¿cómo se almacena la información? VALIDACIÓN MANUAL (modo colaborativo) (Personal BUZ) AUTOMÁTICO (Harvesting) Importación desde otros Catálogos/repositorios
  • 29. ARCHIVAR – Ejemplo: Harvesting de CERN bibharvest -vListRecords -f2009-12-01 -pmarcxml -o/home/cdsadmin/harvestCERN20091201.txt http://cdsweb.cern.ch/oai2d http://www.openarchives.org/pmh/tools/tools.php
  • 30. DIFUNDIR: Acceso a servidor web (http://zaguan.unizar.es) - Herramientas usuales de búsqueda - Búsquedas por colección o por otros criterios personalizables - Establecimiento de grupos (comunidades) - Herramientas de seguimiento (cestas)
  • 31. DIFUNDIR: Acceso OAI (http://zaguan.unizar.es/oai2d) OAI = Open Access Initiative (iniciativa de acceso abierto) http://www.openarchives.org - Protocolo para máquinas - Maximizar y simplificar difusión - Evitar replicación de contenidos Ejemplos query OAI: Identificar repositorio: http://zaguan.unizar.es/oai2d?verb=Identify Listar sets http://zaguan.unizar.es/oai2d?verb=ListSets Obtener formatos de metadatos http://zaguan.unizar.es/oai2d?verb=GetRecord&metadataPref ix=oai_dc&identifier=oai:zaguan.unizar.es:100 Obtener un registro en un formato Más ejemplos de query’s soportadas: http://www.leccionespracticas.com/cds-invenio/oai-pmh-verb- determinado parameters/ http://zaguan.unizar.es/oai2d?verb=GetRecord&metadataPref ix=oai_dc&identifier=oai:zaguan.unizar.es:100
  • 32. OAI server: cómo configurar un SET http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3 http://www.leccionespracticas.com/cds-invenio/cds-invenio- understanding-oai-setspecs-collections-and-phrases The first two fields (setSpec and setName) are the ways to identify your new set. First one is the machine-readable name and the second, the human-readable one. Usually I type the same name in both fields. In my example I will type „public‟ in these fields. The next field is Collection(s). Here you must type the Collection(s) to which belong the records you want to add to the OAI. For instance, I have a collection called “Tesis” so I type “Tesis” in this field. Please note this name is exactly the one displayed in WebSearch admin interface when listing the collections. This is NOT the value you use to define a collection (see images below). From now on I‟ll call the first Collection Names and the second Collection Queries.
  • 33. OAI server: cómo configurar un SET http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3 http://www.leccionespracticas.com/cds-invenio/cds-invenio- understanding-oai-setspecs-collections-and-phrases Next fields are Phrases. I was wondering how this Phrases and collections were evaluated. This is the way it works: 1) the union of the Collection(s) you specified is taken (let‟s call it A). 2) on this you apply the (at most) TIPS: three condition reading them from 1) If you want to add a phrase which involves a concrete field left to right. So e.g. if you have “X (ie:984) you should make sure it is already defined. To do this and Y or Z” phrase‟s, all the refer to: records from A that match X are http://yourURLToCDSINVENIO/admin/bibindex/bibindexadmin.p intersected with all the records y/field. If it is not defined there, add the definition. from A that match Y. Then this is united with all the records from A 2) If you want to add a phrase which involves collections you that match Z. should use the „Collection Query‟. This is, in this case I would use “THE” instead of “Tesis”, as “Tesis” collection is defined like collection:THE (refer to previous section for further explanation).
  • 34. OAI server: ejemplo de definición de SET complejo http://zaguan.unizar.es/help/admin/bibharvest-admin-guide#3 http://www.leccionespracticas.com/cds-invenio/cds-invenio- understanding-oai-setspecs-collections-and-phrases Let‟s suppose you want to define a OAI set, called „public‟, which involves Collection (names) A,B,C and only some of the records in collection (name) D, this is an OAI set is defined as a union of definitions. The records belonging to collection D must be included only if the 984a field contains exactly the word “public”. What you can actually do is: (i) define a first “public” setSpec with: Collection(s): A,B,C (ii) define a second “public” setSpec with: Collection(s): D Phrase: public 984__% Exact phrase
  • 35. Del lat.: repositorium, significa REPOSITORIOS: ¿qué son? armario, alacena, “lugar donde se guarda algo” [RAE] SERVICIOS A university-based institutional repository is a set of FUNCIONES services that a university offers to the members of its community for the management and dissemination of digital materials created by the institution and its community members. It is most essentially an organizational commitment to the stewardship of these digital materials, including longterm preservation where appropriate, as well as organization and access or distribution [Clifford A. Lynch (2003). Institutional Repositories: Essential Infrastructure for Scholarship in the Digital Age. ARL Bimonthly OBJETOS Report 226. http://www.arl.org/newsltr/226/ir.html] DIGITALES Archivar (depósito) Preservar (METS, PREMIS) Difundir (OAI-PMH) INSTITUCIONES PERSONAS
  • 36. PRESERVAR: ¿cómo se almacena la información para asegurar que SIEMPRE estará disponible? Buenas prácticas y El COSTE de la requerimientos preservación USO de formatos Preservar es caro (recursos estándar ( texto, video, humanos, recursos sonido, imágenes) informáticos…) Descripción bibliográfica: ¿Hay que preservarlo todo? DC, MARCXML, METS ¿qué debemos preservar? Adaptación a los cambios PREMIS tecnológicos http://www.loc.gov/standards/premis/
  • 37. CDS INVENIO DÍA 2: DEFINIENDO UN NUEVO DOCTYPE CON WEBSUBMIT Miguel Martín González - miguelm@unizar.es
  • 38. PASO 0: Consideraciones previas Almacenar sí vs Almacenar no: - ¿Es interesante almacenar este nuevo “tipo de documento”? - ¿Qué volumen de envíos de este tipo podría producirse si se implementa? - ¿Qué volumen de consultas? Preservar sí vs Preservar no: - ¿Interesa preservarlo? - ¿Cuál va a ser el coste de preservarlo? - ¿Cuál va a ser la FORMA de preservarlo? - ¿Cuánto tiempo? PERMISOS / DERECHOS de autor: - ¿quién va a poder enviar? - ¿va a ser un envío moderado? - De ser moderado, ¿Quién lo va a validar? - ¿Quién lo va a poder CONSULTAR? - ¿A texto completo o solo los metadatos?
  • 39. PASO 1: Buscando el MARC más completo posible PASOS: • ¿Es un nuevo “tipo” de documento o “encaja” en alguna subcategoría de los existentes? Aunque no “encaje” en subcategorías, ¿cómo se guardan los datos SIMILARES? (P ej, si va a tener keywords y hay otros doctypes con keywords, ¿cómo se guardan? ¿dónde se guardan?) • ¿Cómo se procede en otros repositorios para almacenar este tipo de contenido? ¿Qué tipo de FORMATO es el más conveniente para almacenar este tipo de documento? ¿Va a ser el hosting LOCAL o REMOTO (=cargar fichero o añadir URL)? • ¿Qué información (metadatos) es ESENCIAL que contengan los registros de este “tipo”? • ¿Qué información (metadatos) podría contener este “tipo” de documento, pero no es imprescindible?
  • 40. PASO 1: Buscando el MARC más completo posible PASOS: -Definir un “modelo” en MARC teniendo en cuenta el registro con más metadatos que exista. Por ejemplo: <record> <controlfield tag="001">4574</controlfield> ESTOS DATOS LOS GENERARÁ EL <datafield tag="037" ind1=" " ind2=" "> SISTEMA. NO hay que pensar cómo <subfield code="a">TESIS-2010-039</subfield> generarlos </datafield> <datafield tag="041" ind1=" " ind2=" "> <subfield code="a">spa</subfield> </datafield> <datafield tag="100" ind1="1" ind2=" "> <subfield code="a">Sáenz Preciado, Jesús Carlos</subfield> </datafield> <datafield tag="245" ind1="0" ind2="0"> <subfield code="a">La Terra Sigillata Hispanica del Municipium Augusta Bilbilis</subfield> </datafield> <datafield tag="260" ind1=" " ind2=" "> <subfield code="b">Universidad de Zaragoza</subfield> <subfield code="a">Zaragoza</subfield> <subfield code="c">1997</subfield> </datafield> <datafield tag="300" ind1=" " ind2=" "> <subfield code="a">990</subfield> </datafield> … </record>
  • 42. PANTALLA CONFIG. doctype (WEBSUBMIT) Acciones: definen el tipo de View INTERFACE (formulario formulario que se creará: HTML) APP = APProval View FUNCTIONS SBI = SuBmIt (operaciones a ejecutar y orden MBI= Modify de las mismas) SRV = Submit files Se empieza definiendo la INTERFAZ de envío de nuevos documentos (para la acción SBI). Familiarizarse con los ELEMENTS existentes en el sistema.
  • 43. PASO 2: DEFINIR FORMULARIOS DE ENVÍO PASOS: - Ya tenemos los DATOS que hay que solicitar al usuario = sabemos qué campos son necesarios. También sabemos si son opcionales u obligatorios. Hay que pensar en QUÉ hay que validar sobre esos datos (p. ej: si es fecha, que sea formato DD/MM/AAAA y que fecha insertada sea anterior a la actual). - Nos fijamos cómo están definidos los formularios de OTROS doctype ¡¡SIN MODIFICARLOS!! .
  • 44. PASO 2: DEFINIR FORMULARIOS DE ENVÍO Un formulario = conjunto de ELEMENTS, LABEL‟s, LEVEL‟s y CHECK‟s. ELEMENT = aglutina el TIPO DE <INPUT> y el MARCCODE asociado. LABEL = modificador HTML que se coloca PRECEDIENDO a cada ELEMENT. LEVEL = O:optional, M:mandatory CHECK = Función JS a aplicar al <input> (por ejemplo, DateCheck)
  • 45. PASO 2: DEFINIR FORMULARIOS DE ENVÍO Veamos el ELEMENT llamado „DEMOBOO_TITLE‟
  • 46. PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO [AVANZADO] Dos casos básicos: (1) Envío MODERADO (2) Envío SIN MODERAR. EJEMPLO: (1)
  • 47. PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO [AVANZADO] Para cada Function ajustamos los PARAMETERS. Eliminar la función “move to done” es muy útil para hacer un DEBUG cuando se produce algún tipo de problema con los envíos. .
  • 48. PASO 3: DEFINIR LAS FUNCIONES QUE SE EJECUTAN TRAS EL ENVIO [AVANZADO]son los más IMPORTANTES. Indican cómo debe crearse el registro (la equivalencia Estos ficheros entre ELEMENTS y el MARCXML del registro que se creará) . [root@zaguan cdsadmin]# find /soft -name DEMOTHE.tpl /soft/cds-invenio/etc/bibconvert/config/DEMOTHE.tpl
  • 49. PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype Ya tenemos todos los pasos hechos para poder realizar envíos de nuevos registros. El valor que hemos puesto (de forma estática) para la colección (en el MARCTAG 980__a) define la query que deberemos asignar a la colección.
  • 50. PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype Lo único que falta es crear (si procede) la nueva colección que agrupe estos registros nuevos. Para definir una nueva colección se usa el módulo WebSearch. “Create new collection” y nos pide el “Default name”
  • 51. PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype Vamos a ver los pasos y valores necesarios para definir la nueva colección… Para definir una nueva colección se usa el módulo WebSearch. “Create new collection” y nos pide el “Default name” Después se selecciona la “Parent collection” y la “Relationship”.
  • 52. PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype La colección ya está definida. Ahora hay que editarla y añadirle la QUERY necesaria para que funcione… La misma cadena que hemos usado en el DEMOTHEcreate.tpl la ponemos como query en el campo de “Modify collection query for collection ‘ejemplo‟”
  • 53. PASO 4: Crear la COLECCIÓN REGULAR para el nuevo doctype La colección (y su query asociada) están completamente definidas, ¿cómo sigo? La nueva colección aparece pulsando “Show all”, pero NO aparece aun en la página principal. ¿Cómo hacer que aparezca? Hay que esperar a la ejecución de webcoll en bibsched (si está en modo automático) o ejecutar manualmente la tarea webcoll en bibsched (R). Si pese a todo no se actualiza, se puede forzar manualmente: [root@aneto cdsadmin]# sudo -u apache webcoll --force WebColl Task Submission ======================= Username: miguelm@unizar.es Password:
  • 54. PASO 5: VERIFICAR QUE LOS NUEVOS REGISTROS APARECEN EN LA NUEVA COLECC. La colección está totalmente definida. Si enviamos un registro debería aparecer dentro de su colección. ¿Qué hacer si no aparece? 1. Acceder al registro, a su visualización XM (marcxml) y verificar que la 980__a contiene la MISMA CADENA de texto que contiene la query de la colección. 2. Ejecutar manualmente las tareas de bibsched (todas dos veces). 3. Actualizar la página.
  • 55. PASO 6: GESTIONAR LOS PERMISOS CON WEBACCESS Los envíos funcionan. Los registros aparecen dentro de su colección. Falta definir PERMISOS. - Crear ROL (si no existe ya uno apropiado para tal fin) - Crear autorizaciones (qué acciones puede hacer cada rol) - Verificar el funcionamiento.