aleix's blog

tekuti hacks

10 January 2011 1:24 am (tekuti | guile)

Lately, I've been hacking new features for tekuti, the blogging software that's running this site. tekuti is written in Scheme (GNU Guile), so I had no more excuses to start hacking on it.

Blah, blah, blah... but what have you done? Nothing really impressive, indeed, but quite useful for my needs:

  • Support for deleting posts. As tekuti is based on git, it's easy to recover them for free. And you don't need to spell any git command, tekuti admin interface can help you here.

  • Support for deleting post comments. This is useful if undesired spam gets in your site.

  • Support for custom user templates. Before, there was only one template. Now, it is possible to add multiple templates and choose your desired one from the configuration file (via the *template-module* variable).

  • Configure widgets on the sidebar. You can now configure the widgets you want to appear in your blog sidebar. Mine, looks like this:

    (set! *main-sidebar-widgets* '(subscribe search tag-list))
    (set! *post-sidebar-widgets* '(subscribe related))
    

    Available widgets are: subscribe, search, related, tag-cloud, tag-list.

  • Support Movable Type API. This means it is now possible to use your favorite blog editor and post or edit your tekuti articles. You need to configure tekuti as a Movable Type blog. The XMLRPC endpoint is http://yoursite.com/path-to-blog/xmlrpc. In fact, some MetaWeblog and Blogger methods have been also implemented. This is the list of supported methods:

    • metaWeblog.newPost

    • metaWeblog.getPost

    • metaWeblog.editPost

    • metaWeblog.getRecentPosts

    • metaWeblog.getCategories

    • mt.setPostCategories

    • mt.getPostCategories

    • mt.getCategoryList

    • blogger.getUsersBlogs

    • blogger.deletePost

    For this to work, I have created a reusable XMLRPC library for guile. More on this in next post.

These hacks are not yet available in tekuti's master, so you can get them from my branch:

git clone git://gitorious.org/~aleix/tekuti/acf-tekuti.git

Happy new year and happy hacking!

5 responses

  1. college paper writing service says:

    In fact I’ve been given a few new subjects from proper here I loved over have a check your blog located up. Your blog have splendid statistics, I’ve been given precise mind from this terrific weblog. I’m constantly searching like this kind weblog located up. I’m hoping I’m able to see all over again you’re placed up.

  2. clashrealmer.com says:

    With the gems you can buy gold,open chests,taking cards.They have so much iportance for the game.

  3. about-van-gogh-art says:

    Over the last two years technology changed in the field of science. That's the reason GNU institute take it over the time. It's good invent by them.

  4. Academicpaperwriter.com says:

    Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online writing Help are superb. Please keep them coming. Greets!

  5. Accounting Project Help says:

    Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online Dissertation Help are superb. Please keep them coming. Greets!!

Leave a Reply