From 7b47055d6c12fca583f3e76d033ff465a31a0a5e Mon Sep 17 00:00:00 2001 From: auron_x Date: Mon, 5 Jun 2006 10:34:27 +0000 Subject: [PATCH] *)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 --- htroot/Blog.java | 1 + htroot/Blog.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 htroot/Blog.xml diff --git a/htroot/Blog.java b/htroot/Blog.java index 21472f250..0beeb1960 100644 --- a/htroot/Blog.java +++ b/htroot/Blog.java @@ -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); diff --git a/htroot/Blog.xml b/htroot/Blog.xml new file mode 100644 index 000000000..1bf53e0a2 --- /dev/null +++ b/htroot/Blog.xml @@ -0,0 +1,14 @@ + + + #(mode)# + #{entries}# + + #[pageid]# + #[timestamp]# + + + + + #{/entries}# + #(/mode)# + \ No newline at end of file