Comments fixed

BrianCarper mentioned via Twitter the broken comments. I've started to fixed them.

Adding a comment should work. But there are some problems with editing them via admin page. Also the main page still shows 0 Comments.

I've added a comment entity to the Google App Engine Datastore. The comments are connected to the posting via the post-id. At the original cow-blog the comments are part of each post. I've separated them because I've got some performace problems at start-up. But that's the reason the main page shows 0 Comments.

I've also analysed - while uploading to Google App Engine - the edit problem: There's nothing which matches the /edit-comment request.

Changes are committed: 9465b59

0 Comments

comment doesn't work

The comment function is not implemented at the moment. This is a #todo

0 Comments

Socket is restricted

Is there a problem with the latest Clojure 1.2 version? Google App Engine says:

java.net.Socket is a restricted class.

io.clj at clojure core uses this Socket class, and was added May 20th.

At the moment I've been using the old clojure-1.2.0-master-20100518.110252-71.jar, and as you can see, it works fine ...

update: latest clojure-1.2.0-master-20100525.160257-77.jar has also no problem

0 Comments

Fork

I'm starting to upload my changes. First I've forked cow-blog and renamed it to cowclj.

At the moment I've got all Google App Engine Datastore changes hacked into the db.clj file. I have to move them in a separate file and then I commit the changes.

0 Comments

Hello cowclj

This is my first "Cow Clojure Blog" post.

cowclj is based on cow-blog which runs on Clojure. I've ported it to the Google App Engine. Instead of Tokyo Cabinet as database, I'm using Google Datastore.

I want to use this blog to write something about the software which runs this blog. What I've done to make it run. Also what I'll do. But first of all, I have to clean up the code and upload it to github.

0 Comments