<% req.req.headers_out['Cache-control'] = 'no-cache' searchEngineTarget = xml.target %>

Target Administration

<%=args.error and '' + args.error + ''or ''%>
Target (<%=searchEngineTarget.name%>) <% if session.get('isAdmin',''): # %>
<% if searchEngineTarget.targetType == 'sruUpdate': %> <% elif searchEngineTarget.targetType == 'filesystem': %> <% elif searchEngineTarget.targetType == 'composite': targetIds = asxml(url('/%s.domain' % args.referrerDomain)).domain.targetId targetIds = filter(lambda t: t != searchEngineTarget.id, targetIds) targetName = lambda id: asxml(url('/xml/'+id+'.target')).target.name selected = lambda id: id in searchEngineTarget.delegate and 'selected' or '' %> <% # %>
Name:
Type: <%= searchEngineTarget.targetType %>
Base URL: (without "http://")
Path:
Port:
Path:
Wrap in OAI-Envelope: >
Targets (hold CTRL to select multiple targets):
<% else: # %> <% if searchEngineTarget.targetType == 'sruUpdate': %> <% elif searchEngineTarget.targetType == 'filesystem': %> <% elif searchEngineTarget.targetType == 'composite': # %> <% for id in searchEngineTarget.delegate: targetName = asxml(url('/xml/'+id+'.target')).target.name %> <% # # %>
Name: <%=searchEngineTarget.name%>
Type: <%= searchEngineTarget.targetType %>
Base URL: <%=searchEngineTarget.baseurl%>
Path: <%=searchEngineTarget.path%>
Port: <%=searchEngineTarget.port%>
Path: <%=searchEngineTarget.path%>
Wrap in OAI-Envelope: <%=searchEngineTarget.oaiEnvelope and 'true' or 'false'%>
Targets: 
<%escape_html(targetName)%> View
<% # %>

Back to domain