* use putXML with forXML-parameter to ensure urls are valid xml (problem was & in url)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4611 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 17 years ago
parent 98a03249f3
commit c67350f138

@ -154,11 +154,11 @@ public class Surftips {
prop.put("surftips_results_" + i + "_authorized_recommend_display", display);
prop.put("surftips_results_" + i + "_authorized_recommend_showScore", (showScore ? "1" : "0"));
prop.put("surftips_results_" + i + "_authorized_urlhash", urlhash);
prop.put("surftips_results_" + i + "_url", url);
prop.put("surftips_results_" + i + "_urlname", nxTools.shortenURLString(url, 60));
prop.put("surftips_results_" + i + "_urlhash", urlhash);
prop.putHTML("surftips_results_" + i + "_title", (showScore) ? ("(" + ranking.getScore(urlhash) + ") " + title) : title);
prop.putHTML("surftips_results_" + i + "_authorized_urlhash", urlhash, true);
prop.putHTML("surftips_results_" + i + "_url", url, true);
prop.putHTML("surftips_results_" + i + "_urlname", nxTools.shortenURLString(url, 60), true);
prop.putHTML("surftips_results_" + i + "_urlhash", urlhash, true);
prop.putHTML("surftips_results_" + i + "_title", (showScore) ? ("(" + ranking.getScore(urlhash) + ") " + title) : title, true);
prop.putHTML("surftips_results_" + i + "_description", description);
i++;

Loading…
Cancel
Save