Motorcycle Adventures and Free Software

Weblog: Archive

2007-02-01 - 2007-02-28

Contact management and Microformats

Posted on 2007-02-01 16:45:30 UTC to . 0 comments.

I've blogged earlier on how OpenPsa 2 can utilize information pulled from the websites of organizations and persons entered into the system.

Today I added support for populating Microformatted contact information pulled using the nice hKit library. To use this feature simply create or edit a company and add their website URL:

Openpsa-Contacts-Enter-Organization

OpenPsa will check on the background whether the site contains hCards, and populate any information gained to the contact entry.

For example, Bang & Bonsomer provides their address as a hCard in their site footer:

Bangbonsomer-Hcard-Footer

OpenPsa finds this information and adds it to the entry:

Openpsa-Contacts-Organization-Details

Couldn't be much easier. Now if only more sites provided hCards...

Technorati Tags: ,

Sponsored links

Microsoft Certification Exams โนเกีย Nokia มือถือ Online Project Management save money using, phone card
Reviews มือถือ Mobile All Apps

Meet Nabaztag, our new general manager

Posted on 2007-02-02 09:44:34 UTC to . 0 comments.

Nemein has today acquired a new General Manager into the company. We are delighted to benefit from the experience and keen insights of the brand new Nabaztag. Here you can see it already settled in our office:

Nabaztag in our office

The idea with the WiFi bunny is to connect it as an ambient information display for our OpenPsa management suite. Some use cases we have so far envisioned include:

  • Displaying status of the support ticket queue via the belly lights
  • Alerting us of new tickets
  • Reporting the number of invoiceable hours reported at the end of the day
  • Alerting of calendar events happening at the office
  • Generally handling status messages based on our Plazes locations

Technologically this should be quite simple using OpenPsa's integrated notification framework and the PEAR Services_Nabaztag library.

I will report when we have some concrete results with this.

Technorati Tags: , ,

Iran and the possible march to war

Posted on 2007-02-03 09:52:20 UTC to . 0 comments.

Defense policies of Finland on whether we should join the NATO aside, I just hope I never will have to write a blog post like this:

Random scenes that come to my mind: the very brilliant people (who usually are very sensitive) will get hot and go to war voluntarily and get killed. Several others who are scared of war and the draft/conscription will hide (or get hidden by worrisome moms) at home and will not see the light of day for months. The borders will be closed. There will be refugess to countries like Afghanistan and Turkmenistan who used to send refugess the other way around, to Iran... The effects would be irreversible.

...

It may be so sad for observers, but it will be hell for us random free software developers who will not be able to leave the country once the Iranian government declares a state of war (even if it's only one simple rocket from Israel, with no US involvement).

And unfortunately, it may be that the clock is ticking.

Regaining my wings

Posted on 2007-02-03 17:25:39 UTC to . 0 comments.

After flight

Because of time constraints I have not been flying as much as I should. However, if I want to keep my license current that has to change.

The first step in regaining my wings was taken last weekend, flying to Turku with Tigert in an amazingly clear winter weather.

Preview of Midgard's new on-site template editor

Posted on 2007-02-05 17:40:04 UTC to . 0 comments.

Midgard has a very powerful page templating system, and this has been noted in CMS Watch kudos lists several times.

With power there also usually comes some learning curve, and Midgard certainly has not been an exception to that rule with its concepts like inheritance, dynamic loads, substyles and other things. With MidCOM 2.7 we seek to lower the learning curve and make the system more approachable to the regular web developer by moving template editing to the on-site administration interface. Here's a quick preview on what we have been doing.

Style template customization starts with editing a folder and setting a custom layout template for it:

Midcom-Styleeditor-Create-Substyle

After this the layout template will appear in the toolbar:

Midcom-Styleeditor-Edit-Template-Menu

When user clicks it, the system analyzes which folders use the layout template, and what components those folders use, and then presents a list of them.

Components can even provide a nice explanation of how their elements are used by providing an on-site help file named "style":

Midcom-Styleeditor-Element-List

In addition to the per-component listings there is also a list of all elements, including global style elements like <(style-init)>:

Midcom-Styleeditor-Element-List-All

When user clicks an element, its default value coming either from component or through style inheritance is shown as reference, and the local instance can be easily modified:

Midcom-Styleeditor-Edit-Element

This system obviously still needs quite a lot of CSS and UI love, but it is already now quite functional. If you're interested in it, grab a copy of SVN version of MidCOM and give it a spin. And be sure to let me know what you think :-)

Technorati Tags: , ,

Compact homes of the future

Posted on 2007-02-05 21:19:56 UTC to . 0 comments.

Now that advertisements recognize you, flying cars are coming, and a Bond movie mostly uses off-the-shelf technology, we can say the future is really here.

Fittingly, the apartments of future are coming too, and they seem to be small and disposable:

The micro compact home [m-ch] is a lightweight compact dwelling for one or two people. Its compact dimensions of 2.6m cube adapt it to a variety of sites and circumstances, and its functioning spaces of sleeping, working / dining, cooking and hygiene make it suitable for everyday use.

Microcompacthome-Smart

While if taken to extremes, we could have quite a mobile dystopia, the compact and movable homes definitely have an appeal. Smaller spaces seem to be the only way to prevent stuff from accumulating when living in the western society. And as experiences are much more valuable than stuff, this is bad.

Makes me think, especially as I have to find a new apartment by the end of July anyway.

More pictures of the Micro Compact Home on Gizmodo.

Technorati Tags: , ,

Instant messaging, VoIP and standards

Posted on 2007-02-06 15:42:30 UTC to . 0 comments.

The fact that our VoIP provider has a proprietary closed network has bothered me for a while. In their N800 review, Spicy Gadget Roll put it well:

The two instant messengers found in the N800 are Jabber and Google Talk. Both instant messengers are built on open standards, which I whole-heartedly believe in. There’s a lot of confusion as to why these open standards are even relevant. I’d like to clear this confusion up by spending some time on the subject. Think about this for a moment, a Hotmail user can send an e-mail to a Gmail user, a Cingular customer can call a T-Mobile customer, but we can only send instant messages to people within our IM network? Something is awfully wrong with this picture.

IM federation is a great start for fixing the situation. Next we need a proper, open and standardized VoIP solution. There are some contenders for that position, including OpenWengo, Gizmo Project and Google Talk / Jingle. From my point of view all of these come still short, though, as none seem to provide decent video-capable clients for both Mac and Maemo.

Technorati Tags: ,

Midgard and Flickr

Posted on 2007-02-07 19:30:54 UTC to . 0 comments.

While my site is publishing a lot of photos, I'm using Flickr as my central photo storage location. The reason for this is simple:

There are dozens of tools that can upload to Flickr easily, including FlickrExport for iPhoto and Nokia Lifeblog, but very few tools that could do the same for Midgard. By centralizing to Flickr I make my life a lot easier, but also lock myself to a proprietary service.

Luckily Flickr has a quite comprehensive API for photo management. By using the nice phpFlickr library I am able to synchronize the photos uploaded to Flickr to my blog. The result is that I can upload photos more easily, and both Flickr users and my blog readers can see them. Here are the first photos imported:

Photostream-Flickr-Import-Latest

The way this works is that I've subscribed my org.routamc.photostream installation to my Flickr account. By default it checks every hour whether there are new photos, but I can also do a manual synchronization:

Photostream-Flickr-Import-Raw

This functionality is available in MidCOM SVN trunk.

In related news, thanks to the Plazes raffle last year, I now have two more years of Flickr pro account available. And Plazes seems to be doing well all around.

Technorati Tags: , ,

We, the web

Posted on 2007-02-07 22:51:34 UTC to . 0 comments.

Here is a very nice, if a bit hype-oriented overview of the Web 2.0 phenomenon:

Via Lessig

Technorati Tags: , , , , ,

Plazes on the N800

Posted on 2007-02-08 22:43:44 UTC to . 0 comments.

Intergalactic hitchhikers get another treat: We have updated the older Maemo Plazer to work with the new Plazer API and the Maemo 3.0 that is on N800. We also integrated it more closely with the UI:

Maemoplazer-Initial2

This means that N800 users can now easily position their devices using the vast database of WiFi access points the Plazes network has. And if they stumble on a new one, a web browser window is opened to form where they can enter the network devices to add the new AP to the database.

After we get this properly packaged and integrated with the Maemo connection manager, the next point is to start thinking what to do with the position data. Some ideas:

  • Automatically setting system clock to correct timezone
  • Opening Maemo Mapper in user's present location
  • Opening Maemo Stars in user's present location
  • Setting instant messaging status based on location preferences (the "I don't want my clients to call when I'm at home" scenario)
  • Populating a "Wikipedia pages near you" feed to RSS reader and Maemo Mapper POI database

It would be great to get more people to work on this. We have opened a Maemo Plazer garage project for it. It is written in Python and uses D-Bus for its communications with the rest of the Maemo environment, so working with it should be fairly easy. Making it act as a GeoClue backend would be a cool step for example.

Ferenc has promised to package Maemo Plazer next weekend. Before that, you can grab the sources from SVN and install it manually to your device. If you place the maemoplazer.desktop file to the /usr/share/applications/hildon/ directory there will even be a clickable icon in the "Extras" folder to start the application with.

Technorati Tags: , ,

This bunny talks Midgard

Posted on 2007-02-09 17:12:16 UTC to . 0 comments.

When this bunny joined our company, I wrote that the plan was to make our CRM system talk to the Nabaztag. Today the first step was taken by making a Nabaztag notifier plugin for the org.openpsa.notifications library.

After this I was able to tell my test OpenPsa system to forward all wiki page update notifications to the bunny:

Nabaztag-Notification-Preferences

When I edited a wiki page, I got these nice protoGrowl messages:

Nabaztag-Notification-Sent

A bit later, the bunny wiggled its ears, flashed a few lights and started telling in a cheery female voice: "Wiki page "Wikilinki" has been edited by Henri Bergius in wiki..."

office-nabaztag.jpg

Quite cool!

Technorati Tags: ,

OSCMS Summit: Manage your personal information space with Midgard

Posted on 2007-02-12 09:10:15 UTC to . 0 comments.

Open Source Content Management System Summit 2007 will be held in Sunnyvale, CA on March 22nd and 23rd. I've proposed the following session:

Manage your personal information space with Midgard

Social web services like Flickr and del.icio.us provide new ways to work and share data with others. However, they also mean that your data is spread around dozens of services, companies and servers.

Midgard can be set up to act as your personal information hub, synchronizing your content with the various Web 2.0 services and displaying them in your own style as a mashup. This means your content can also be secure in a server you control.

You can connect the data from different services together and enrich it with data produced with Midgard's own components. Consider for example having the following play nicely together:

  • Blog entries coming from an external blog service or Midgard itself
  • Bookmarks coming from del.icio.us
  • Photos coming from Flickr
  • Videos coming from Youtube
  • Status messages coming from Twitter
  • ...all connected with geolocation data coming from Plazes and shared via RSS feeds and Microformats

In this session we look at how such a personal information space can be set up with Midgard, and how new functionalities or data connections can be developed for it.

This is somewhat related to the Feeds, Synchronization and the Free Software Desktop session we held with Tigert in GUADEC last year.

If you're interested in the idea, please go and vote for the session. While I'm using Midgard's connectivity features as an example, the base ideas are actually quite generic and could be implemented with any CMS.

Technorati Tags: , , , , , , ,

Maemo Plazer released

Posted on 2007-02-12 12:32:45 UTC to . 0 comments.

Thanks to help from Ferenc, Maemo Plazer, the Plazes client for the Nokia N800 Internet Tablet is now available:

Maemoplazer-Downloads-Site

This is the first time a desktop (well, handheld, really) application I've contributed to has been released. It is definitely a cool first step into the Maemo world.

There are of course lots of development ideas we have for the application. We're considering if it could become a more generic WiFi utility by combining it with the GNOME WiFI autologin applet, and also planning to make it a GeoClue backend so that other geo-aware Maemo applications can use Plazes position information.

If you have an N800 please install the app and try it out! Bugs can be reported to our Garage tracker.

Please note that this does not run in the SDK since some required command-line utilities are missing from there.

Technorati Tags: ,

For a collaborative MWS

Posted on 2007-02-12 14:55:54 UTC to . 0 comments.

MWS, for those who don't remember it, was a Midgard Weekly Summary. It was published every week from mid-1999 to sometime in 2001, first by me and later by Ken Pooley from the Sewanee University.

While MWS sometimes led to slightly premature announcements, it also provided an easy way to keep on track with the Midgard project. And now that the march towards Midgard2 is really on and things happen at a quick pace, it might be time to revive the old Weekly Summaries.

The plan for now:

Inspiration for reviving the summaries came from Quim Gil's Maemo Selecta! update.

Technorati Tags:

Short clip from Haidong Gumdo practice

Posted on 2007-02-18 20:27:15 UTC to . 0 comments.

We were practicing some basic Haidong Gumdo techniques with Jose today, and decided to try the video features of my N90. Here's a quick clip of me doing the fourth basic technique:

If Jose approves them, I'll post more videos of him doing various techniques later.

Updated 2007-02-20: Haidong Gumdo now has a Finnish Wikipedia entry too.

Updated 2007-02-26: We finally uploaded more HDGD videos yesterday.

Midgard Weekly Summary #67: February 23rd 2007

Posted on 2007-02-23 12:03:20 UTC to . 0 comments.

Midgard Weekly Summaries resurrected

Welcome to the first issue of the resurrected Midgard Weekly Summaries! The 66 issues released before this were edited by Henri Bergius and Ken Pooley between 1999 and 2002, after which MWS went on hiatus.

The new MWS editions are edited collaboratively to make the editing burden easier. To suggest stories here bookmark them with del.icio.us tag "midgardweeklysummary". Screenshots may also be suggested by tagging them with "midgardweeklysummary" on Flickr.

Happenings this week

  • New community server. Midgard's old project server which has been hosted by Nehmer.net has started to get old, and in response a new server has been bought for the project. Midgard's project site should go live on the new server some time during the weekend. The new server is sponsored by Nemein, Anykey and Ware.it.

  • Hungarian translations for Midgard. András Lévai has started translating Midgard's user interfaces to the Hungarian language. Currently core components are 28% translated and other components 21% translated.

  • Maemo Blog compatible with Midgard. Maemo Blog is a mobile blogging application for Nokia's internet tablets. Maemo Blog's developer Santtu Lakkala has tested compatibility with Midgard. When completed, Maemo Blog will be an advanced travel blogging tool in the sense that it can communicate the user's geographical location to Midgard with the MetaWeblog API calls.

  • Flickr photo import. Midgard's photo management component is now able to import user's photos from the Flickr photo sharing service. This enables easy moblogging by using tools like Nokia Lifeblog to post pictures on Flickr and then having Midgard automatically import them from there.

  • Vote Midgard for the 2007 Open Source CMS summit. Henri Bergius has proposed session Manage your personal information space with Midgard to the conference. The event will be held on March 22nd and 23rd in Sunnyvale, California. If you're interested in hearing how Midgard integrates with the various social web services out there, go and vote for the proposal.

About Midgard

Midgard CMS is an Open Source Content Management System built on top of the Linux, Apache, MySQL and PHP (LAMP) platform. It provides a reliable, powerful and internationalized set of tools for building web sites and networked applications.

Midgard utilizes PHP as the web scripting language and provides integration interfaces on Java and C layers. Midgard's unique architecture enables it to provide services like single sign-on and replication. With these capabilities and the integrated full-text search system, Midgard is an excellent match for information-rich web sites and intranets.

Places to see Midgard in Action:

Blogging on my N800

Posted on 2007-02-26 18:40:43 UTC to . 0 comments.

I'm posting this with the Maemo Blog application. We had a lunch with Santtu who wrote it, and I tried to demo how it doesn't work with my blog. And suddenly it did! Reverse demo effect ;-)

The N800 is integrating more and more with my digital life - I listen to podcasts on it while commuting, it automatically positions me on Plazes when I pass familiar WiFi hotspots, I am almost as available on Jabber as on SMS, and my 3G provider must love me...

Midgard and geotagging via email

Posted on 2007-02-28 18:23:45 UTC to . 0 comments.

Midgard is becoming smarter about tags. Now it not only supports tagging any objects and making tags contextual, but also machine tags:

You know those funky tags like cell:cellid=197216005, geo:tool=GMiF and even camel:size=medium you see around the place? Well yeah, we've been watching them very closely too, and by "we've" I mean a few of us here in the office that care very much about these things, Aaron probably more than most of us.

The first application for machine tags is geotagging. We were discussing the problem of geotagging entries by email with Andrew Turner and trying to come up with a solution that would work in both Midgard and GeoPress. The decision was to support the Flickr email-based tagging format.

This means that to geotag a blog entry, just include the following to the end of email body:

tags: geo:long=24.9419260025024 geo:lat=60.1587851399795

Tools like Flickr email import, Geopress and Midgard will be able to parse this information and position your blog entry accordingly, on both site and GeoRSS feeds.

Of course, the same format can be used for regular tagging:

tags: waterpipe n800 canola sabrage

Machine tags as a record extension

Now that machine tags are in, pulling information from them is quite easy. Here's an example using the camel:size=medium tag from Dan Catt's post:

<?php
// Load a camel photo
$photo = new org_routamc_photostream_photo_dba('GUID');

// Load camel-related data from the tags
$data = net_nemein_tag_handler::get_object_machine_tags_in_context($photo, 'camel');

// Show the data
echo "{$photo->title} is a {$data['size']} sized camel.";
?>

As is visible from this example, machine tags can be used in a bit similar way as parameters are used in the Midgard world. The advantage machine tags have however is that they are compatible with any system that supports tagging.

Updated: There is even a wiki for formalizing machine tagging conventions.

Back