From 2aed6bb3f79a6f24183cfb1748e15d336efb3112 Mon Sep 17 00:00:00 2001 From: f1ori Date: Sun, 30 Mar 2008 14:58:29 +0000 Subject: [PATCH] * return valid xml in xml-bookmarks git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4619 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/xml/bookmarks/posts/all.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htroot/xml/bookmarks/posts/all.java b/htroot/xml/bookmarks/posts/all.java index 6fc975e8f..af667bf61 100644 --- a/htroot/xml/bookmarks/posts/all.java +++ b/htroot/xml/bookmarks/posts/all.java @@ -78,13 +78,13 @@ public class all { Date date; while(it.hasNext()){ bookmark=switchboard.bookmarksDB.getBookmark((String) it.next()); - prop.put("posts_"+count+"_url", bookmark.getUrl()); - prop.put("posts_"+count+"_title", bookmark.getTitle()); - prop.put("posts_"+count+"_description", bookmark.getDescription()); - prop.put("posts_"+count+"_md5", serverCodings.encodeMD5Hex(bookmark.getUrl())); + prop.putHTML("posts_"+count+"_url", bookmark.getUrl(), true); + prop.putHTML("posts_"+count+"_title", bookmark.getTitle(), true); + prop.putHTML("posts_"+count+"_description", bookmark.getDescription(), true); + prop.putHTML("posts_"+count+"_md5", serverCodings.encodeMD5Hex(bookmark.getUrl()), true); date=new Date(bookmark.getTimeStamp()); - prop.put("posts_"+count+"_time", serverDate.formatISO8601(date)); - prop.put("posts_"+count+"_tags", bookmark.getTagsString().replaceAll(","," ")); + prop.putHTML("posts_"+count+"_time", serverDate.formatISO8601(date), true); + prop.putHTML("posts_"+count+"_tags", bookmark.getTagsString().replaceAll(","," "), true); // additional XML tags prop.put("posts_"+count+"_isExtended",extendedXML ? "1" : "0");