What is XStream?
XStream
is "a simple library to serialize objects to XML and back again."
Why incorporate XStream into blojsom?
I wanted to see how another file format still utilizing the file system as the content database could be integrated into blojsom.
What do I need to compile and use this?
- Download
XStream. This code was compiled against XStream 1.0.1.
- Place the attached source files in the appropriate directories in your blojsom source tree.
- Compile blojsom's JAR files.
- In /WEB-INF/blojsom.properties, use the following for the fetcher configuration property.
blojsom-fetcher=org.blojsom.fetcher.xstream.XStreamFetcher
- In /WEB-INF/plugin.properties, use the following for the comment and trackback plugin.
comment=org.blojsom.plugin.comment.xstream.CommentPlugin
trackback=org.blojsom.plugin.trackback.xstream.TrackbackPlugin
What does a blog entry look like?
What else might not work?
The administration plugin which handles editing of blog entries and allows for comments/trackbacks to be deleted would need to be changed ever-so-slightly to save the entry instead of deleting the individual comment/trackback.
The Blogger and MetaWeblog API XML-RPC handlers would also change slightly.