rzyjontko is currently certified at Apprentice level.

Name: Jacek Sliwerski
Member since: 2004-01-11 11:39:21
Last Login: 2007-02-27 16:41:32

FOAF RDF Share This

Homepage: http://sliwerski.net

Notes:

Take a look at my home page. You will find everything about me there.

Projects

Recent blog entries by rzyjontko

Syndication: RSS 2.0
Open-Tran.eu

A week ago I have created a service for open source software translators that offers an easy access to the already existing translations. You can look up a phrase in English, submit a whole .po file to the server or even query it via XMLRPC protocol. Currently, the service supports the following 12 languages:

  1. German
  2. Spanish
  3. French
  4. Italian
  5. Japanese
  6. Dutch
  7. Polish
  8. Portuguese
  9. Brazilian Portuguese
  10. Russian
  11. Swedish
  12. Turkish

Don't hesitate to contact me if you have any comments, suggestions, feature requests or bug reports.

18 Oct 2005 (updated 18 Oct 2005 at 19:17 UTC) »
Browse Happy!

Once again, short before the deadline, we are repeating the action of promoting modern browsers. To do it, you only need to put this link somewhere on your site:

MSNBetter ThanGoogle

Browse Happy!

Recently a company called Search Engine Optimization started a positioning contest. A top hit for the phrase "MSNBetter ThanGoogle" in the polish Google site on the October 1 will be the winner.

One guy thought that it is a great opportunity to promote the Browse Happy site which encourages people to use other browsers than Internet Explorer. To do so you only need to put the link to this page just like I do it below:

MSNBetter ThanGoogle

Have fun!

Properties

I have just implemented properties mechanism. We need some examples to see how it works. Recently I posted few messages to mailing lists from wrong mail account, and they have been bounced. This is how property solves my issue:

    property address.email (to) {
        '@lists.sourceforge.net' => "my_addr@poczta.fm"
        ''                       => "my_addr@other.host"
    }

What I wanted to say, is that my email address depends on who I am writing to. But how is it going to be used? Each time you start composing a new message elmo opens a template, and replaces properties (indicated by $) with their actual values. Let's take a look at default template:

    From: "$address.name" <$address.email>
    To: $to
    Subject: $subject
    
    $quote
    $=$mail.quoted
    $signature

In the first example we defined a property address.name, which will be replaced by an actual value depending on property to.

Now let's go to something more complicated. Let's redefine a quote to be different for different groups of people. In polish we need a different quotation depending on people's sex, so I made something like this:

    property quote (action
                    mail.from.abook
                    mail.from.foreign 
                    mail.from.sex
                    mail.from.name){
      'reply' 'yes' 'no' 'F' => "%e napisała:"
      'reply' 'yes' 'no' 'M' => "%e napisał:"
      'reply'                => "%e wrote:"
      ''                     => ""
    }

The quote property depends on 5 other properties. It depends on action, (which may be new, forward or reply), and some flags for author of the message we are replying. The magic happens in the resulting string, where I use %e. As you can expect: an actual value of mail.from.name property will be used. All %x tokens will be replaced by arguments values (%a is first, %b - second, and so on).

There is one more thing you could notice - a special token $=. You may place it, where you'd like to have a cursor placed in your editor. Elmo counts offset, line, and column of this token in resulting file, and you may use them in your editor variable, e.g.:

    set editor "emacsclient +%l %f"

8 older entries...

 

Others have certified rzyjontko as follows:

  • pasky certified rzyjontko as Apprentice
  • rss certified rzyjontko as Journeyer
  • arabuss06 certified rzyjontko as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page