[GeoNetwork-users] services: geonet info section in 2.6.3

Hi,

I have noticed that, in Geonetwork 2.6.3, the service "xml.metadata.get" does not return the "geonet:info" section. I use this information in my scripts to get the "id" of the metadata record, which is required in other services. How can I get this "id" now?

Best Regards,

Robert.

Hi Robert,

it has been a while since you asked this question, and I am not sure if you still need the answer, but I think I found a solution. I had the exact same problem today (while actually looking for a way to get this information using CSW) and the only thing I found about this was your question on this list.

After looking at the source code, I discovered that this is actually an option in the configuration.

Open the file WEB-INF/config.xml and look for this:

<service name="xml.metadata.get">
  <class name=".services.metadata.Show">
    <param name="skipPopularity" value="y" />
    <param name="skipInfo" value="y" />
  </class>
</service>

After changing "<param name="skipInfo" value="y" />" to "<param name="skipInfo" value="n" />" GeoNetwork should return the "geonet:info" section in the response from "xml.metadata.get".

I hope you can still use this information.

Best Regards,
Mirko

On 02.03.2011 16:07, Robert Holland wrote:

Hi,

  I have noticed that, in Geonetwork 2.6.3, the service "xml.metadata.get" does not return the "geonet:info" section. I use this information in my scripts to get the "id" of the metadata record, which is required in other services. How can I get this "id" now?

  Best Regards,

  Robert.

------------------------------------------------------------------------------
Free Software Download: Index, Search& Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
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