mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-21 09:04:37 -04:00
further Blog fix
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3230 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user