Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) minor changes for last commit

theli07cd30cf9b90
diff --git a/htroot/htdocsdefault/dir.html b/htroot/htdocsdefault/dir.html
index 86a0b55cc..2cdeeb1fb 100644
--- a/htroot/htdocsdefault/dir.html
+++ b/htroot/htdocsdefault/dir.html
@@ -2,6 +2,7 @@
<html>
<head>
<title>YaCy: Public Files</title>
+<link rel="alternate" type="application/rss+xml" title="RSS" href="#[path]#?format=rss" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Language" content="English, Englisch">
<meta name="keywords" content="yacy file share">
@@ -226,7 +227,7 @@
<td class="tt" align="left" width="150"><a href="#[name]#" class="tt">#[name]#</a></td>
<td class="tt" align="right" width="60">#[size]#</td>
<td class="tt" align="left" width="220"><a href="#[yacyhURL]#" class="tt">#[md5s]#</a></td>
- <td class="small" align="left">#(descriptionMode)#<img src="#[image]#" border="0" height="32" width="32">::#[text]##(/descriptionMode)#</td>
+ <td class="small" align="left">#(descriptionMode)#<img src="#[image]#" alt="#[text]#" border="0" height="32" width="32">::#[text]##(/descriptionMode)#</td>
::<!-- dirlist entry is a directory -->
<td class="tt" align="left" width="20"><img src="/env/grafics/folderIconSmall.gif" align="top" class="small"></td>
<td class="tt" align="left" width="60">#[date]#</td>
diff --git a/htroot/htdocsdefault/dir.java b/htroot/htdocsdefault/dir.java
index 0c1654a1d..962b96d2b 100644
--- a/htroot/htdocsdefault/dir.java
+++ b/htroot/htdocsdefault/dir.java
@@ -291,7 +291,7 @@ public class dir {
prop.putSafeXML("dirlist_" + fileIdx + "_dir_URL","http://" + yacyCore.seedDB.mySeed.getAddress() + path + fileName + "/");
} else {
// determine if we should display the description string or a preview image
- boolean showImage = (description.length() == 0) && (fileName.endsWith(".jpg") || fileName.endsWith(".gif") || fileName.endsWith(".png"));
+ boolean showImage = /* (description.length() == 0) && */ (fileName.endsWith(".jpg") || fileName.endsWith(".gif") || fileName.endsWith(".png"));
// the entry is a file
prop.put("dirlist_" + fileIdx + "_dir" , 0);
diff --git a/htroot/htdocsdefault/dir.rss b/htroot/htdocsdefault/dir.rss
index 237179a02..a64dfbf0f 100644
--- a/htroot/htdocsdefault/dir.rss
+++ b/htroot/htdocsdefault/dir.rss
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<rss version="2.0">
<channel>
- <title><![CDATA[YaCy '#[clientname]#': Public Files]]></title>
+ <title><![CDATA[YaCy '#[clientname]#': Public Files #[path]#]]></title>
<link>http://#[peeraddress]##[path]#</link>
<description><![CDATA[Directory Listing of #[path]#]]></description>
<image>