Skype-history-import is a project mainly written in Ruby, based on the MIT license.
Import skype chat history
gem install skype-history-import
Open Skype -> Throught context menu Select all message -> Put them in file or string -> run function 'import'
Example
require 'rubygems'
require 'skype-history-import'
include SkypeHistoryImport
file = File.open("/home/msa/real_skype_chat.txt", "rb")
messages = file.read
result = import(messages)
p "so real messages count is #{result.size}"
p "first message #{result[0].inspect}"
Copyright (c) 2011 SergXIIIth. See LICENSE.txt for further details.