Skip to content

Commit

Permalink
add path alias
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-shaw-unlv committed Apr 10, 2018
1 parent b209c91 commit 599c47b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ source:
header_row_count: 0 # No headers, 1 if there are headers
keys:
- digital_id
constants:
collection_alias: 'apollo'
column_names: # Based on Welcome Home, Howard
0:
digital_id: 'Digital ID'
Expand All @@ -43,6 +45,14 @@ process:
title: title
field_description: description

path: # Path Alias
plugin: concat
delimiter: '/'
source:
- '' # Gives us a '/' prefix for the server root
- constants/collection_alias
- digital_id

# SUBJECTS (similar to CREATORS above)
# Since subjects can be of multiple content types we need to perform
# lookups for each type, assign them to a temp array, and recombine
Expand Down

0 comments on commit 599c47b

Please sign in to comment.