Changes between Version 6 and Version 7 of extractSubtemplates


Ignore:
Timestamp:
May 3, 2012, 2:33:41 AM (12 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • extractSubtemplates

    v6 v7  
    1111== Overview ==
    1212
    13 With the addition of the XLink functions, fragment harvesting, subtemplate (fragments in the GeoNetwork database) support and management of directories of subtemplates, GeoNetwork can now support reusable fragments of metadata. However many sites have metadata records with common fragments of metadata that they would like to extract into directories of subtemplates. This proposal adds a batch operation for admin users that will extract fragments from a selected set of records. Common fragments are identified calculating the checksum of the text content and using this as the uuid of the fragment.
     13With the addition of the XLink functions, fragment harvesting, subtemplate (fragments in the GeoNetwork database) support and management of directories of subtemplates, !GeoNetwork can now support reusable fragments of metadata. However many sites have metadata records with common fragments of metadata that they would like to extract into directories of subtemplates. This proposal adds a batch operation for admin users that will extract fragments from a selected set of records. Common fragments are identified calculating the checksum of the text content and using this as the uuid of the fragment.
    1414
    1515=== Proposal Type ===
     
    2525== Motivations ==
    2626
    27 Many sites have existing metadata records with common information eg. contact information in an ISO CI_ResponsibleParty element. With the addition of subtemplate support and maintenance functions to GeoNetwork, it should be possible to extract these common fragments of metadata as subtemplates. This proposal describes a function that does this.
     27Many sites have existing metadata records with common information eg. contact information in an ISO CI_ResponsibleParty element. With the addition of subtemplate support and maintenance functions to !GeoNetwork, it should be possible to extract these common fragments of metadata as subtemplates. This proposal describes a function that does this.
    2828
    2929== Proposal ==
     
    108108
    109109 * Run the command and check the logs to see whether your XPath and title extraction XSLT are doing what you expect.
    110  * Check the checkbox alongside the 'Yes, I really want to do this' when you're sure that everything is ok. The end result will be that the fragments of metadata specified by the XPath will be removed from the records in the selected set and saved as subtemplates and then linked into the records that use them. Here is what part of the register record example used here looks like with an XLink replacing the original gnreg:RE_RegisterItem:
     110 * Check the checkbox alongside the 'I really want to do this!' when you're sure that everything is ok. The end result will be that the fragments of metadata specified by the XPath will be removed from the records in the selected set and saved as subtemplates and then linked into the records that use them. Here is what part of the register record example used here looks like with an XLink replacing the original gnreg:RE_RegisterItem:
    111111
    112112{{{