[GeoNetwork-users] metadata additionally as local xml file

Hallo,
we use the geonetwork 2.2.0 to edit & manage our metadaten.

The metadata are stored in the data base, but we need them additionally as xml file on the server. Which script writes the data into the database and where I find this.
Or exists a script, which writes the metadata in a local xml-file.

Thanks for help and best regards
Joerg

hello,
i think you should wriet your own little php/perl/python/shell script it would
be the easiest way. the data is stored in one column - 'data'. you can
extract it and give each file a name which can be defined by other columns of
the table maybe: "schemaid'_'uuid'.xml'.
i would prefer php5 and the php-pgsql library to connect to the database.
best regards
armin

Am Mittwoch 04 Februar 2009 11:00:29 schrieb Joerg Matthes:

Hallo,
we use the geonetwork 2.2.0 to edit & manage our metadaten.

The metadata are stored in the data base, but we need them additionally
as xml file on the server. Which script writes the data into the
database and where I find this.
Or exists a script, which writes the metadata in a local xml-file.

Thanks for help and best regards
Joerg

---------------------------------------------------------------------------
--- Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
skills and code to build responsive, highly engaging applications that
combine the power of local resources and data with the reach of the web.
Download the Adobe AIR SDK and Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Armin Retterath
Kompetenz- und Geschäftsstelle GDI-RP
beim LVermGeo-RP
Ferdinand-Sauerbruch-Straße 15
56073 Koblenz
Tel.: 0261/492-466
EMail: armin.retterath@anonymised.com
http://www.geoportal.rlp.de

There is no script that performs this action. The code that does this is Java. It's to be found in various classes in org.fao.geonet. If you re very comfortable with Java, Jeeves, and GeoNetwork, you might want to consider rewriting those classes to do what you need. Otherwise, you'll probably want to take the suggestion of another respondent and retrieve the material from the database directly, without touching GeoNetwork. Alternatively, you could write a script that uses the service xml.metadata.get. You could script curl or wget with a cron job (or its Windows equivalent) to sweep the range of records on some regular basis, writing them to disk.

---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library

On Feb 4, 2009, at 5:00 AM, Joerg Matthes wrote:

Hallo,
we use the geonetwork 2.2.0 to edit & manage our metadaten.

The metadata are stored in the data base, but we need them additionally
as xml file on the server. Which script writes the data into the
database and where I find this.
Or exists a script, which writes the metadata in a local xml-file.

Thanks for help and best regards
Joerg

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hello, Why not use GAST (Management/Export) to do a MEF export and unzip
those files to get the XML document ?

HTH. Francois

ajs6f wrote:

There is no script that performs this action. The code that does this
is Java. It's to be found in various classes in org.fao.geonet. If you
re very comfortable with Java, Jeeves, and GeoNetwork, you might want
to consider rewriting those classes to do what you need. Otherwise,
you'll probably want to take the suggestion of another respondent and
retrieve the material from the database directly, without touching
GeoNetwork. Alternatively, you could write a script that uses the
service xml.metadata.get. You could script curl or wget with a cron
job (or its Windows equivalent) to sweep the range of records on some
regular basis, writing them to disk.

---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library

On Feb 4, 2009, at 5:00 AM, Joerg Matthes wrote:

Hallo,
we use the geonetwork 2.2.0 to edit & manage our metadaten.

The metadata are stored in the data base, but we need them
additionally
as xml file on the server. Which script writes the data into the
database and where I find this.
Or exists a script, which writes the metadata in a local xml-file.

Thanks for help and best regards
Joerg

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills
and code to
build responsive, highly engaging applications that combine the
power of local
resources and data with the reach of the web. Download the Adobe AIR
SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Joerg,

You could extend the function that is responsible for storing the metadata XML in the database with a function call that would write that same XML to the file system.

The class to look at is /geonetwork/src/org/fao/geonet/kernel/XmlSerializer.java

Ciao,
Jeroen

On Feb 4, 2009, at 11:00 AM, Joerg Matthes wrote:

Hallo,
we use the geonetwork 2.2.0 to edit & manage our metadaten.

The metadata are stored in the data base, but we need them additionally
as xml file on the server. Which script writes the data into the
database and where I find this.
Or exists a script, which writes the metadata in a local xml-file.

Thanks for help and best regards
Joerg

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-Best Open Source Mac Front-Ends 2024
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net