File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ <h1 style="padding-left:1em; color:white; margin-top:3em;">Advanced Search</h1>
9999 < div class ="col-sm-9 col-md-4 ">
100100 < div class ="input-group ">
101101 < input type ="text " id ="author " name ="author " class ="form-control keyboard ui-keyboard-input ui-widget-content ui-corner-all "
102- aria-haspopup ="true " role ="textbox ">
102+ aria-haspopup ="true " role ="textbox " placeholder =" Search by name or URI " >
103103 < div class ="input-group-btn "> < span class ="keyboard-menu "> < button type ="button " class ="btn btn-default dropdown-toggle " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false " title ="Select Keyboard ">
104104 < span class ="syriaca-icon syriaca-keyboard "> </ span > < span class ="caret "> </ span > </ button >
105105 < ul class ="dropdown-menu ">
Original file line number Diff line number Diff line change @@ -230,6 +230,9 @@ def extract_json(tree, part_node=None):
230230 authors = text_list (root , ".//tei:msItem//tei:author//tei:persName" )
231231 # msItem/author/@ref
232232 authorsUri = text_list (root , ".//tei:msItem//tei:author/@ref" )
233+
234+ # combined authors and URIs
235+ authorsTextAndUri = authors + authorsUri
233236
234237 # incipits: from msItem/incipit
235238 incipits = text_list (root , ".//tei:msItem//tei:incipit" )
@@ -265,7 +268,7 @@ def extract_json(tree, part_node=None):
265268 if date_calendar : out ["dateCalendar" ] = date_calendar
266269 if decorations : out ["decorations" ] = decorations
267270 if decoration_types : out ["decorationsType" ] = decoration_types
268- if authors : out ["author" ] = authors
271+ if authorsTextAndUri : out ["author" ] = authorsTextAndUri
269272 if authorsUri : out ["authorUri" ] = authorsUri
270273 if incipits : out ["incipit" ] = incipits
271274 if explicits : out ["explicit" ] = explicits
You can’t perform that action at this time.
0 commit comments