Swordtag:blog.markjuh.net,2005:Sword-swordSwordStatus and updatesMark van Eijkmark@fngtps.com2006-08-23T02:51:14+02:00tag:blog.markjuh.net,2006:Sword-sword-57Comment and TrackBack spam2006-08-23T02:51:14+02:002006-08-23T02:51:36+02:00<p>All this comment and TrackBack spam is getting annoying, so I will be implementing some anti-spam measures in the next couple of weeks.</p>tag:blog.markjuh.net,2005:Sword-sword-54Sword 1.0beta52005-08-19T02:48:49+02:002005-08-19T02:48:49+02:00<p>It’s been about 13 days and 31 <span class="caps">SVN</span> checkins since the previous beta version.</p>
<p>This new version contains several fixes in both code and tests. And it adds a new feature: <strong><em><a href="http://www.sixapart.com/pronet/docs/trackback_spec">TrackBack</a> support</em></strong>.</p>
<p>This supports both receival and sending of TrackBack pings. So now we can finally have blog-conversations. ;)</p>tag:blog.markjuh.net,2005:Sword-sword-50Cache expiration bug2005-08-07T11:23:34+02:002005-08-07T11:23:34+02:00<p>Of course when you try to page cache your application, you have to think of a lot of things. We added page caching before posts were ever displayed on the welcome page. And then after we added a summary of posts on the welcome page, we forgot to add support for this to the sweepers.</p>
<p>It should now be fixed.</p>tag:blog.markjuh.net,2005:Sword-sword-45Sword 1.0beta42005-08-06T00:31:43+02:002005-08-06T00:31:43+02:00<p>It’s been about 11 days and 41 <span class="caps">SVN</span> checkins since the previous beta version.</p>
<p>This new version contains the following fixes and updates:</p>
<ul>
<li>fixed <span class="caps">RSS</span> and Atom feed links</li>
<li>changed temporary texts with a more sane version</li>
<li>removed title from comments (only adds complexity for users)</li>
<li>removed the need to fill in contact information for a comment when the user is logged in</li>
<li>made <span class="caps">RSS 2</span>.0 feed ‘Atomic’ (see <a href="http://www.tbray.org/ongoing/When/200x/2005/07/27/Atomic-RSS">Atomic <span class="caps">RSS</span></a>)</li>
<li>added instructions how to run this weblogging tool</li>
<li>made sure users cannot change their weblog name (this would break permalinks significantly and furthermore it would be uncommon to change the location of your weblog)</li>
<li>added some patches to Rails which are not yet included in the Rails repository</li>
<li>give the user a choice to use the live preview or not</li>
<li>live preview contains rendered content when editing a post</li>
<li>store contact information for comment in cookie if user wants this</li>
<li>show email-address of commenter when user is logged in</li>
<li>totally reworked management of categories (heavy Ajax use)</li>
<li>show category in which post is made</li>
<li>fixed several pieces of invalid <span class="caps">XHTML</span></li>
</ul>
<p>The layout has been tuned a bit such that everything looks a bit more uniform. And it’s now easier to distinguish between published and draft posts when a user is logged in.</p>tag:blog.markjuh.net,2005:Sword-sword-42Sword 1.0beta32005-07-27T04:08:40+02:002005-07-27T04:08:40+02:00<p>Yeah, there is yet <em>another</em> version…</p>
This version contains:
<ul>
<li>fixed caching bug (Atom feed cache is now expired when posts are added, updated or destroyed)</li>
<li>added <span class="caps">RSS</span> feed <em>(Atom is nicer, but <span class="caps">RSS</span> has more support than Atom 1.0)</em></li>
<li>fixed content-type for feeds</li>
<li>updated Atom feed so it now validates (see <a href="http://www.feedvalidator.org/">Feed Validator</a>)</li>
</ul>tag:blog.markjuh.net,2005:Sword-sword-41Sword 1.0beta22005-07-27T02:25:27+02:002005-07-27T02:25:27+02:00<p>Pagination combined with page caching <em>really</em> isn’t that easy to do. I had to do all kinds of crazy stuff to make it work, but I got it done anyway. :) If you use these features seperately, Rails is really great and everything is easy, but as soon as you try to combine these features, it soon turns into utter chaos. It took me about two days, but I figured it out <em>(well, I think I did)</em>. But anyway, I’ll blog about that in a later post.</p>
<p>So with this last issue resolved and having fixed some bugs, here it is: <a href="http://fngtps.com/projects/sword/">Sword</a> 1.0beta2.</p>tag:blog.markjuh.net,2005:Sword-sword-40Sword 1.0beta1 sees the light2005-07-25T16:14:51+02:002005-07-27T03:56:10+02:00<p>Last night I added page caching for the public pages of Sword (this weblogging tool; see the <a href="http://fngtps.com/projects/sword/">Sword project page</a>), only to discover today that I had a few typos in it. <em>That’s what you get when you program in the middle of the night.</em> So I fixed those and here it is. :)</p>
<p>I managed to transform my posts from the prototype I had running at <a href="http://www.textdrive.com/">TextDrive</a> and import them into the Sword database. Since the prototype didn’t have slugs for posts, I had to do some manual work. But <code>script/console</code> that comes with <a href="http://www.rubyonrails.com/">Rails</a> was a big help and I managed to add the slugs in about 2 minutes.</p>
<p>The beta version will now be tested in real life and the look and feel will be optimized before 1.0 will come out. This 1.0 version will be the version I deliver as the end-product of <a href="http://www.vandervossen.net/2005/05/rails_intern">my internship at Fingertips</a>.</p>