A Rails plugin/class which handles parsing of the killmail export from the game EVE Online
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
MIT-LICENSE
README
README.textile
Rakefile
init.rb

README.textile

EVE Killmail Parser

This is a Rails plugin to manage parsing the EVE Killmail format used in the online MMORPG EVE Online.

Example

km = Eve::Killmail::Parser.new(mail_to_parse_as_string) km.victim.name # => ‘Ix Forres’ km.attackers.each do |attacker| attacker.name # => ‘Attacker 1’ end km.destroyed.each do |item| item.name # => ‘Item lost 1’ end

Installing

Install to a Rails application using the following command (Rails 2.0.2 and greater)

ruby script/plugin install git://github.com/JamesHarrison/eve_killmail_parser.git

If you are using an older Rails version, use

git clone git://github.com/JamesHarrison/eve_killmail_parser.git vendor/plugins/eve_killmail_parser

Documentation

Once installed, you can generate documentation using rdoc (cd vendor/plugins/eve_killmail_parser;rake rdoc).

Copyright © 2008 James Harrison, released under the MIT license