Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

On this page:

Batch Builder by default requests public delivery service URNs for deliverable files of still image objects, document objects and text objects. For PDS document objects a public delivery URN is requested for the object itself rather than for a particular file within the object. For opaque objects no public delivery URNs are requested.

URN authority path and URN resource name pattern values can be entered in the required settings panel for each object or in the object template required setting panel (in which case the settings will propagate to all objects created from the template).



Required settings panel – NRS section

Assigning URN Resource Name Patterns

 

The resource name component of the URN must be unique relative to the authority path. Batch Builder can generate all or part of the resource name automatically using mask fields that will be replaced with actual values by the system (shown in the table below). 

Resource names can be composed of alpha-numeric characters (upper and lower case, although all NRS comparisons are case-insensitive) and the following punctuation characters:

     ( ) + , - = @ ; $ _ ! * ' . :

Batch Builder will use {n} as the default resource name mask field ({n} resolves to a unique number). However, Batch Builder supports additional resource name patterns that are described below.

 

URN resource name pattern fields

 

 

Field

Replacement Value

Meaning

{dd}

01 to 31

Day of the month

{hh24}

01 to 24

Current hour of day

{mm}

00 to 59

Current minute of hour

{mo}

01 to 12

Current month of year

{ss}

00 to 59

Current second of hour

{yyyy}

1999 to 9999

Current year

{n}

0 to 10 to the 27th power

Unique numeric value

{fileBaseName}

Name of the file excluding the file extension

Base name of file. Note that this mask works only in BB. It does not work if assigning URNs to existing objects in Web Admin

 

Here are examples of URN masks and the resulting resource name:

urn-3:dig:{n}   -->   urn-3:dig:75 

urn-3:FAL:{yyyy}{n}   ->   urn-3:FAL:1999-76 

urn-3:HCL-DIG:{yyyy}{mo}{dd}   -->   urn-3:HCL-DIG:20000103 (unique only for one file on any given day) 

urn-3:HCL-DIG:{yyyy}{mo}{dd}{n}   -->   urn-3:HCL-DIG:200001032 (always unique)

Section 3

 


  • No labels