Category Archives: wordpress

Blogging from OSX

There are some really nice programs to help you blog on OSX. One of the nicer ones is ecto, but having used emacs to blog, it would be nice to use something similar (but better). Textmate has two blogging plugins: the build-in blogging bundle and blogmate. Let’s compare them.

Blogmate is a bit easier on the eyes, it has (kind of) the same panel as ecto, which makes it easy to see what posts you have made so far. To write a new post, you just start typing and when you are done, press ‘Send Post’.

All of this is possible as well using the regular blogging-bundle. The plus of blogmate is the window with a list of your posts, the plus of the blogging-bundle is better headers when you download a post to edit. When I started with blogmate, and then wanted to edit the post with the blogging-bundle, the bundle got mixed up, and thought my blog was written in markup, while on wordpress.com you only can use html using xmlrpc, as far as I can tell.

Opinion: Both are nice plugins for textmate, and I will probably use blogmate for the nice list, and use the regular bundle for editing.

Advertisements

Leave a comment

Filed under osx, textmate, Uncategorized, wordpress

Multilanguage blogging

Creating an international blog. Using multiple languages on wordpress is not a built-in feature. To enable this feature we have a choice of several plugins:

  • Basic bilingual
    For now it only works for two languages.
  • Language linker
  • This seems a bit of hack, usefull, but not so elegant. You just use two complete wordpress installs, and the one points to the other.

  • Xili language plugin
    This looks like the correct way to make wordpress use more then one language. Every post has its own page and everything else gets translated as well.
  • Language plugin

    So far this is the one I use. It is also a bit hackish, but very simple to use, all text is posted within the same post. It uses tags around entries to distinguish them. For an example see further down.

Installation and use of the poplarware plugin

Installation is straightforward, copy the plugin to the plugin directory, enabling the plugin and make several changes. The first is some sort of a language switcher, for example in the sidebar:

  • On pages or posts you use the following:


    [lang_en]This is the post text in English[/lang_en]
    [lang_es]Esto es el texto del artículo en español[/lang_es]
    [lang_all]I want this text to appear for all languages[/lang_all]
    This text that is not in a language tag will also appear for all languages.

    For more examples and how to further make your side multilanguage, go here.

    Leave a comment

    Filed under wordpress