Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
hopefully a fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1736#p12061
apfelmaennchend7122722b224
diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.javaindex 14c6a42c3..b31e5643a 100644--- a/htroot/yacysearchitem.java+++ b/htroot/yacysearchitem.java@@ -114,6 +114,7 @@ public class yacysearchitem {prop.put("content_authorized_urlhash", result.hash());prop.putHTML("content_title", result.title());+ prop.putXML("content_title-xml", result.title());prop.putHTML("content_link", result.urlstring());prop.put("content_display", display);prop.putHTML("content_faviconCode", sb.licensedURLs.aquireLicense(faviconURL)); // aquire license for favicon url loading@@ -137,6 +138,7 @@ public class yacysearchitem {(((wordURL = yacyURL.probablyWordURL(result.hash(), query[0])) != null) ? ", probablyWordURL=" + wordURL.toNormalform(false, true) : ""));final plasmaSnippetCache.TextSnippet snippet = result.textSnippet();prop.put("content_description", (snippet == null) ? "" : snippet.getLineMarked(theQuery.fullqueryHashes));+ prop.putXML("content_description", (snippet == null) ? "" : snippet.getLineMarked(theQuery.fullqueryHashes));serverProfiling.update("SEARCH", new plasmaProfiling.searchEvent(theQuery.id(true), plasmaSearchEvent.FINALIZATION + "-" + item, 0, 0));return prop;diff --git a/htroot/yacysearchitem.xml b/htroot/yacysearchitem.xmlindex bcd2ede97..2387fe732 100644--- a/htroot/yacysearchitem.xml+++ b/htroot/yacysearchitem.xml@@ -1,7 +1,7 @@#(content)#::<item>-<title>#[title]#</title>+<title>#[title-xml]#</title><link>#[link]#</link>-<description>#[description]#</description>+<description>#[description-xml]#</description><pubDate>#[date822]#</pubDate><guid isPermaLink="false">#[urlhash]#</guid></item>#(/content)#\ No newline at end of file