Skip to content

Commit

Permalink
Update publisher-url (out)(GitLab Issue #197)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdsaunders authored Nov 17, 2022
1 parent 2c5b43f commit e296419
Showing 1 changed file with 41 additions and 12 deletions.
53 changes: 41 additions & 12 deletions elements_xwalks/maps/hyrax-XwalkOut-map.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Device /Product - map to new subtype 'Device/Product' when available, post relea
Will crosswalk any external identifiers to Hyrax with a new type - check. e.g. abcd:1234 -><identifier type="abcd">1234</identifier>-->
<!--CHANGELOG
Initial changes not logged.
16/11/22: Added to subfield location <xwalk:field-source from="publisher-url" subfield="url" /> (GitLab Issue #197)
10/08/2022:
- Do publisher url even where no online date
- Reenabled publisher-url -> Origin Info
Expand Down Expand Up @@ -267,9 +268,12 @@ Removed incorrect crosswalks form publisher-url (if device/product ->manufacture
<xwalk:field-source subfield="titleInfo">
<xwalk:field-source from="name-of-conference" subfield="title" />
</xwalk:field-source>

<xwalk:field-source subfield="location">
<xwalk:field-source from="location" subfield="physicalLocation" />
<xwalk:field-source from="publisher-url" subfield="url" />
</xwalk:field-source>

<xwalk:field-source subfield="originInfo">
<xwalk:field-source subfield="dateOther">
<xwalk:field-source subfield="@point" value="start" />
Expand Down Expand Up @@ -396,12 +400,25 @@ Removed incorrect crosswalks form publisher-url (if device/product ->manufacture
</xwalk:field-source>
</xwalk:field-source>
<!--Added 10/8/22-->
<xwalk:field-source subfield="place">
<xwalk:field-source subfield="placeTerm">
<xwalk:field-source subfield="@type" value="code" />
<xwalk:field-source from="publisher-url" />
</xwalk:field-source>
</xwalk:field-source>
<xwalk:if>
<xwalk:condition operator="not">
<xwalk:condition operator="or">
<xwalk:condition argument-field="object.type" operator="equals">conference</xwalk:condition>
<xwalk:condition argument-field="object.type" operator="equals">performance</xwalk:condition>
<xwalk:condition argument-field="object.type" operator="equals">presentation</xwalk:condition>
</xwalk:condition>
</xwalk:condition>
<xwalk:result>
<xwalk:field-source subfield="place">
<xwalk:field-source subfield="placeTerm">
<xwalk:field-source subfield="@type" value="code" />
<xwalk:field-source from="publisher-url" />
</xwalk:field-source>
</xwalk:field-source>


</xwalk:result>
</xwalk:if>
</xwalk:result>
<xwalk:else>
<xwalk:result>
Expand All @@ -425,12 +442,24 @@ Removed incorrect crosswalks form publisher-url (if device/product ->manufacture
</xwalk:field-source>
</xwalk:field-source>
<!--Added 10/8/22-->
<xwalk:field-source subfield="place">
<xwalk:field-source subfield="placeTerm">
<xwalk:field-source subfield="@type" value="code" />
<xwalk:field-source from="publisher-url" />
</xwalk:field-source>
</xwalk:field-source>
<xwalk:if>
<xwalk:condition operator="not">
<xwalk:condition operator="or">
<xwalk:condition argument-field="object.type" operator="equals">conference</xwalk:condition>
<xwalk:condition argument-field="object.type" operator="equals">performance</xwalk:condition>
<xwalk:condition argument-field="object.type" operator="equals">presentation</xwalk:condition>
</xwalk:condition>
</xwalk:condition>
<xwalk:result>
<xwalk:field-source subfield="place">
<xwalk:field-source subfield="placeTerm">
<xwalk:field-source subfield="@type" value="code" />
<xwalk:field-source from="publisher-url" />
</xwalk:field-source>
</xwalk:field-source>

</xwalk:result>
</xwalk:if>
</xwalk:result>
</xwalk:else>
</xwalk:if>
Expand Down

0 comments on commit e296419

Please sign in to comment.