jemblog-develop Mailing List for JemBlog (Page 3)
Brought to you by:
dannyayers
You can subscribe to this list here.
2003 |
Jan
|
Feb
(1) |
Mar
(16) |
Apr
(6) |
May
|
Jun
(4) |
Jul
(14) |
Aug
(9) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
---|
From: Ian D. <ia...@in...> - 2003-03-18 15:20:47
|
Danny, if you're still thinking about CVS synchronization, have a look at http://www.cvsup.org/. I haven't tried it (yet) but it seems to do the trick. - Ian <ia...@in...> "One never notices what has been done; one can only see what remains to be done." |
From: Ian D. <ia...@in...> - 2003-03-18 15:19:10
|
I finally got some spare time so I've joined the list and downloaded the zip of JemBlog. I'll have a play with it this afternoon/evening and come back with my thoughts later! - Ian <ia...@in...> "If we knew what it was we were doing, it would not be called research, would it?" |
From: Danny A. <dan...@vi...> - 2003-03-05 19:34:10
|
Finally I've got a bit of time to play with JemBlog! At the moment I'm just looking at the modelling, and have roughed out most of the interfaces and a bit of implementation. What I'm aiming for first of all is for the snippet below to work from the command line. Quite a bit of the implementation so far is built around the FeatureSet classes I put together for Ideagraph. A FeatureSet has functionality and purpose similar to java.util.Properties except the data is saved as RDF/XML via Jena. I'll write this up soonish, but basically a FeatureSet is just a set of name, value pairs (there's also a 'type' attribute, but you can ignore that). I'm using them in JemBlog to retain config info. (The FeatureSet stuff works ok for the current purpose, but is also intended to allow nesting - an item in a FeatureSet can be a FeatureSet itself, unfortunately I broke this somewhere...) At the moment I'm using a local CVS server (not online) and have the JemBlog stuff in my main development tree, using Ant to spin out the relevant stuff - I'd like to put this on sourceforge's CVS but I haven't a clue how to go about syncing between my development machine (using Eclipse's CVS), the local CVS server and sourceforge's. Any ideas? So I've zipped up what I've got so far (source & javadoc) and put it on the web (package list below) : http://ideagraph.net/jemblog/ (the notes linked from this page are already out of date) Any suggestions, thoughts, (or code!) very welcome... Cheers, Danny. The packages : org.idea.jspsite - cruft, ignore (there's cruft in the org.idea bits and elsewhere in the zip, but the org.jemblog part should be pretty clean) org.idea.common.features the FeatureSet stuff org.idea.common.util yet another RdfUtils class org.idea.common.vocabularies Jena class versions of RDF schemas org.jemblog.blog classes used to represent a blogs org.jemblog.filter classes used to filter RSS channels (/RDF models) org.jemblog.rss classes used to represent RSS elements org.jemblog.users classes used to represent users The snippet : // Initialize system BlogManager.init(); // Create a user User me = BlogManager.usersDB.createUser(); me.setName("John"); me.setPassword("secret"); // Create a blog Blog myBlog = BlogManager.blogsDB.createBlog(); myBlog.addUser(me); myBlog.setTitle("John's Blog"); // Add an item to the blog Item item = myBlog.createItem("http://example.org"); item.setTitle("Big news!"); item.setDescription("Today a new blog was created"); // Get the RSS representation of the blog System.out.println(myBlog.getChannel()); ---- http://dannyayers.com |
From: Danny A. <dan...@vi...> - 2003-02-24 12:26:54
|
Hi, The current status of this project is *new*! I'm running a little late, but hopefully by this time next week I'll have some usable code together and up on the sourceforge site. I'll do a bit of documentation too. I've got most of the basic classes together, with most the site management information being handled through FeatureSets. These are objects in a mini-API I put together for Ideagraph, in which things like config info and preferences can be stored (similar to java.util.Properties) but the persistence is in RDF, through Jena. I'm aiming to get as much of the work as possible done in classes, so that the JSP can be really simple (later it'd be good to use custom tags, but that's another story). Anyhow, expect an update within the week. Cheers, Danny. |