<%
String contributorAttribution = "";
/*
if (lastDoc != null) {
Feature f = lastDoc.getFeature("TranscriptionEditors");
if (f != null) contributorAttribution += "Editors: " + f.getStringVal1();
f = lastDoc.getFeature("TranscriptionRevisors");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "; " : "") + "Revisors: " + f.getStringVal1();
f = lastDoc.getFeature("TranscriptionCollaborators");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "; " : "") + "Collaborators: " + f.getStringVal1();
f = lastDoc.getFeature("TranscriptionExtraAttribution");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "
" : "") + f.getStringVal1();
}
if (lastPage != null) {
String folioPrefix = lastPage.getFolioNumber();
if (folioPrefix == null || folioPrefix.trim().length() < 1) folioPrefix = "";
else folioPrefix = "Page " + folioPrefix.trim() + " ";
Feature f = lastPage.getFeature("TranscriptionEditors");
if (f != null) contributorAttribution += folioPrefix + "Editors: " + f.getStringVal1();
f = lastPage.getFeature("TranscriptionRevisors");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "; " : "") + folioPrefix + "Revisors: " + f.getStringVal1();
f = lastPage.getFeature("TranscriptionCollaborators");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "; " : "") + folioPrefix + "Collaborators: " + f.getStringVal1();
f = lastPage.getFeature("TranscriptionExtraAttribution");
if (f != null) contributorAttribution += (contributorAttribution.length() > 0 ? "
" : "") + folioPrefix + f.getStringVal1();
}
if (contributorAttribution.length() > 0) {
%>
<%=contributorAttribution%>
<%
}
*/
%>
<%=transcriptionAttribution%>
<%=transcriptionUsage%>
View as:
<%
if (!"htmlfragment".equals(params.format)) {
%>
<%
}
}
else if ("plaintext".equals(params.format)) {
response.setContentType("text/plain");
retVal = new StringBuffer(Transcription.fixTranscription(retVal.toString()));
retVal = new StringBuffer(Convert.getTEIPlainText(retVal.toString()));
%><%= retVal + "\n\n" + transcriptionAttribution + "\n" + transcriptionUsage %><%
}
}
return;
}
((Parameters)params).format = "html";
Serializer.reportErrors(request, response, out, params, true);
%>