From 12ec5132cebe528f79618f45f4dd92975aae3375 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 1 Feb 2009 22:35:56 +0000 Subject: [PATCH] tried to fix the remote crawl problem. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5563 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/urls.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htroot/yacy/urls.java b/htroot/yacy/urls.java index 83ec67b34..528d567a6 100644 --- a/htroot/yacy/urls.java +++ b/htroot/yacy/urls.java @@ -89,9 +89,9 @@ public class urls { // create RSS entry prop.put("item_" + c + "_title", ""); - prop.putHTML("item_" + c + "_link", entry.url().toNormalform(true, false)); - prop.putHTML("item_" + c + "_referrer", (referrer == null) ? "" : referrer.toNormalform(true, false)); - prop.putHTML("item_" + c + "_description", entry.name()); + prop.putXML("item_" + c + "_link", entry.url().toNormalform(true, false)); + prop.putXML("item_" + c + "_referrer", (referrer == null) ? "" : referrer.toNormalform(true, false)); + prop.putXML("item_" + c + "_description", entry.name()); prop.put("item_" + c + "_author", ""); prop.put("item_" + c + "_pubDate", DateFormatter.formatShortSecond(entry.appdate())); prop.put("item_" + c + "_guid", entry.url().hash()); @@ -99,7 +99,7 @@ public class urls { maxCount--; } prop.put("item", c); - prop.putHTML("response", "ok"); + prop.putXML("response", "ok"); } if (post.get("call", "").equals("urlhashlist")) { @@ -119,16 +119,16 @@ public class urls { // create RSS entry comp = entry.comp(); prop.put("item_" + c + "_title", comp.dc_title()); - prop.putHTML("item_" + c + "_link", comp.url().toNormalform(true, false)); - prop.putHTML("item_" + c + "_referrer", (referrer == null) ? "" : referrer.toNormalform(true, false)); - prop.putHTML("item_" + c + "_description", comp.dc_title()); + prop.putXML("item_" + c + "_link", comp.url().toNormalform(true, false)); + prop.putXML("item_" + c + "_referrer", (referrer == null) ? "" : referrer.toNormalform(true, false)); + prop.putXML("item_" + c + "_description", comp.dc_title()); prop.put("item_" + c + "_author", comp.dc_creator()); prop.put("item_" + c + "_pubDate", DateFormatter.formatShortSecond(entry.moddate())); prop.put("item_" + c + "_guid", entry.hash()); c++; } prop.put("item", c); - prop.putHTML("response", "ok"); + prop.putXML("response", "ok"); } // return rewrite properties