mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
*)added Blog.xml for backup and exporting purposes, no importing at this time
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2177 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
9cfb7a8fbe
commit
7b47055d6c
|
@ -246,6 +246,7 @@ public class Blog {
|
|||
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+"_date", dateString(entry.date()));
|
||||
prop.put("mode_entries_"+count+"_timestamp", entry.date().getTime());
|
||||
prop.put("mode_entries_"+count+"_page", wikiTransformer.transform(entry.page()));
|
||||
if(hasRights) {
|
||||
prop.put("mode_entries_"+count+"_admin", 1);
|
||||
|
|
14
htroot/Blog.xml
Normal file
14
htroot/Blog.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<blog>
|
||||
#(mode)#
|
||||
#{entries}#
|
||||
<item>
|
||||
<id>#[pageid]#</id>
|
||||
<timestamp>#[timestamp]#</timestamp>
|
||||
<author><![CDATA[#[author]#]]></author>
|
||||
<subject><![CDATA[#[subject]#]]></subject>
|
||||
<content><![CDATA[#[page]#]]></content>
|
||||
</item>
|
||||
#{/entries}#
|
||||
#(/mode)#
|
||||
</blog>
|
Loading…
Reference in New Issue
Block a user