yacy_search_server/htroot/ViewFile.html
orbiter 10d888e70c - added a media search for images, audio, video and applications
- new search options on search page
- new option in ViewInfo to display all links of a file
- enhanced collection data structure

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3054 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-12-07 02:40:57 +00:00

107 lines
2.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>YaCy '#[clientname]#': View URL Content</title>
#%env/templates/metas.template%#
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
<br><br>
<h2>View URL Content</h2>
<p><font color="red">
#(error)#
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td>URL</td>
<td><a href="#[url]#">#[url]#</a></td>
</tr>
<tr class="TableCellDark">
<td>Hash</td>
<td><tt>#[hash]#</tt></td>
</tr>
<tr class="TableCellLight">
<td>Word Count</td>
<td><tt>#[wordCount]#</tt></td>
</tr>
<tr class="TableCellDark">
<td>Description</td>
<td><tt>#[desc]#</tt></td>
</tr>
<tr class="TableCellLight">
<td>Size</td>
<td><tt>#[size]#</tt></td>
</tr>
<tr class="TableCellDark">
<td>MimeType</td>
<td><tt>#[mimeType]#</tt></td>
</tr>
<tr class="TableCellLight">
<td>View as:</td>
<td>
<a href="?urlHash=#[hash]#&viewMode=iframe&words=#[words]#">Original</a> |
<a href="?urlHash=#[hash]#&viewMode=plain&words=#[words]#">Plain Text</a> |
<a href="?urlHash=#[hash]#&viewMode=parsed&words=#[words]#">Parsed Text</a> |
<a href="?urlHash=#[hash]#&viewMode=sentences&words=#[words]#">Parsed Sentences</a> |
<a href="?urlHash=#[hash]#&viewMode=links&words=#[words]#">Link List</a>
</td>
</tr>
</table>
:: <!-- 1 -->
No URL hash submitted.
:: <!-- 2 -->
Unable to find URL Entry in DB
:: <!-- 3 -->
Invalid URL
:: <!-- 4 -->
Unable to download resource content.<br>
<tt>#[errorText]#</tt>
:: <!-- 5 -->
Unable to parse resource content.<br>
<tt>#[errorText]#</tt>
:: <!-- 6 -->
Unsupported protocol.
#(/error)#
</font>
</p>
<p>
#(viewMode)#
:: <!-- 1 -->
<h3>Plain Resource Content</h3><br>
<tt>#[plainText]#</tt>
:: <!-- 2 -->
<h3>Parsed Resource Content</h3><br>
<tt>#[parsedText]#</tt>
:: <!-- 3 -->
<h3>Parsed Resource Sentences</h3><br>
<table border="0" cellpadding="2" cellspacing="1">
#{sentences}#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#" title="#[sessionName]#">
<td>#[nr]#</td>
<td><tt>#[text]#</tt></td>
</tr>
#{/sentences}#
</table>
:: <!-- 4 -->
<h3>Original Resource Content</h3><br>
<iframe src="#[url]#" width="800" height="400">
</iframe>
:: <!-- 5 -->
<h3>Link List</h3><br>
<table border="0" cellpadding="2" cellspacing="1">
#{links}#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
<td>#[nr]#</td>
<td><tt>#[type]#</tt></td>
<td><tt>#[text]#</tt></td>
<td><tt>#[link]#</tt></td>
<td><tt>#[attr]#</tt></td>
</tr>
#{/links}#
</table>
#(/viewMode)#
</p>
#%env/templates/footer.template%#
</body>
</html>