dirHtml.append("<TR>");
dirHtml.append("<TD><b><a href=\""
+ indexer.getDirectoryUrl(directory, indexingContext)
- + "\"> ==> " + directory.fileName + "</a></b></TD>");
+ + "\"><h2> ==> " + directory.fileName + "</h2></a></b></TD>");
dirHtml.append("</TR>\n");
}
+ "\"/></a>\n");
filesHtml.append("<br/><b>"
+ FilePathParser
- .getFileNameWithoutExtension(picture.fileName)
+ .getFileNameWithoutExtension(picture.fileName)
+ "</b><br/>(");
int count = 0;
"Error generating thumbnails for image file: "
+ e.toString()
+ ", thumbnail generation skipped, enlisting as ordinary file instead.",
- e);
+ e);
enlistFile(abstractFile);
}
}
finishRow();
filesHtml
- .append("<TR style=\"background-color: #404040; text-align: center\">\n");
+ .append("<TR style=\"background-color: #404040; text-align: center\">\n");
filesHtml.append("<TD style=\"text-align: center\" colspan=\""
+ String.valueOf(horizontalColumnsLimit) + "\">\n");
filesHtml.append("<video controls=\"controls\" tabindex=\"0\">\n");
filesHtml
- .append("<source type=\"video/ogg\" codecs=\"theora, vorbis\" src=\""
- + indexingContext.getGlobalUrl()
- + UrlParamEncoder.encode(indexingContext.getLocalUrl()
- + "/" + file.fileName) + "\">\n");
+ .append("<source type=\"video/ogg\" codecs=\"theora, vorbis\" src=\""
+ + indexingContext.getGlobalUrl()
+ + UrlParamEncoder.encode(indexingContext.getLocalUrl()
+ + "/" + file.fileName) + "\">\n");
filesHtml.append("</source>\n");
filesHtml.append("</video>\n");
filesHtml.append("<br/>\n");
filesHtml
- .append("Video: <b>"
- + FilePathParser
- .getFileNameWithoutExtension(file.fileName)
- + "<b/> ");
+ .append("Video: <b>"
+ + FilePathParser
+ .getFileNameWithoutExtension(file.fileName)
+ + "<b/> ");
filesHtml.append("<a href=\""
+ indexingContext.getGlobalUrl()
+ UrlParamEncoder.encode(indexingContext.getLocalUrl() + "/"
finalHtml.append("<HTML>\n");
finalHtml.append("<HEAD>\n");
finalHtml
- .append(" <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\"/>\n");
+ .append(" <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\"/>\n");
finalHtml.append("</HEAD>\n");
finalHtml
- .append("<BODY bgcolor=\"#000000\" alink=\"#50ffff\" link=\"#50ffff\" vlink=\"#ff50ff\" text=\"#ffffff\">\n");
+ .append("<BODY bgcolor=\"#000000\" alink=\"#50ffff\" link=\"#50ffff\" vlink=\"#ff50ff\" text=\"#ffffff\">\n");
finalHtml.append("<!-- " + Constants.HTML_MAGIC_STRING + " -->\n");
finalHtml.append("<!-- " + Constants.HTML_MEMO + " -->\n");
finalHtml.append("<font color=\"#ffffff\">\n");
if (showTitle)
finalHtml
- .append("<CENTER><H1>" + galleryTitle + "</H1></CENTER>\n");
+ .append("<CENTER><H1>" + galleryTitle + "</H1></CENTER>\n");
finalHtml.append("<CENTER><H2>");
for (final String p : path)
finalHtml.append("<TR>");
finalHtml.append("<TD><b><a href=\""
+ indexer.getParentDirectoryUrl(indexingContext)
- + "\"> <== ..</a></b></TD>");
+ + "\"><h2> <== parent directory</h2></a></b></TD>");
finalHtml.append("</TR>\n");
}