further Blog fix

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3230 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 18 years ago
parent 6faf9b70b7
commit 02522ed607

@ -258,12 +258,12 @@ public class Blog {
if(!xml) {
prop.put("mode_entries_"+count+"_subject", wikiCode.replaceHTML(new String(entry.subject(),"UTF-8")));
prop.put("mode_entries_"+count+"_author", wikiCode.replaceHTML(new String(entry.author(),"UTF-8")));
prop.put("mode_entries_"+count+"_page", wikiTransformer.transform(entry.page()));
prop.putASIS("mode_entries_"+count+"_page", wikiTransformer.transform(entry.page()));
}
else {
prop.put("mode_entries_"+count+"_subject", new String(entry.subject(),"UTF-8"));
prop.put("mode_entries_"+count+"_author", new String(entry.author(),"UTF-8"));
prop.put("mode_entries_"+count+"_page", entry.page());
prop.putASIS("mode_entries_"+count+"_page", entry.page());
prop.put("mode_entries_"+count+"_timestamp", entry.timestamp());
}
prop.put("mode_entries_"+count+"_date", dateString(entry.date()));
@ -301,7 +301,7 @@ public class Blog {
prop.put("mode_entries_0_author", wikiCode.replaceHTML(new String(page.author())));
}
prop.put("mode_entries_0_date", dateString(page.date()));
prop.put("mode_entries_0_page", wikiTransformer.transform(page.page()));
prop.putASIS("mode_entries_0_page", wikiTransformer.transform(page.page()));
if(hasRights) {
prop.put("mode_entries_0_admin", 1);
prop.put("mode_entries_0_admin_pageid",page.key());

Loading…
Cancel
Save