Forum: Ruby on Rails Blackbook gem 1.0.4 and Rails 2.0.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Giang N. (Guest)
on 2008-11-26 09:53
(Received via mailing list)
suddenly i realized my application get no emails with Hotmail. only
names show up, and no emails.

maybe Hotmail changes their way to store data, so Blackbook can't get
the correct information no more?
so is there any newer version of Blackbook which works well with
Hotmail? or any one have idea to solve this problem?

help me please. thankssss.
Giang N. (Guest)
on 2008-11-26 18:44
(Received via mailing list)
SOLVED !!!

cannot waiting for replies anymore so i decided to modify Blackbook
gem directly, by myself.
fortunately, it's not too difficult. thanks God !

file to modify: /lib/blackbook/importer/hotmail.rb
lines to modify: 86,91

(1) line 86: "row.search("/table/tr").each do |pair|"
should be "row.search("//table/tr").each do |pair|"

(one more "/" before "table")

(2) line 91:
should be: "elsif (key == "Windows Live ID:") || (key == "IM
address:")"

that's all. hope this helps others who have the same problem later.
This topic is locked and can not be replied to.