# Blackbook 1.0.0 Released

**URL:** <https://www.ruby-forum.com/t/blackbook-1-0-0-released/127882>\
**Category:** Ruby\
**Created:** [February 2, 2008, 3:36am UTC](https://www.ruby-forum.com/t/blackbook-1-0-0-released/127882 "2008-02-02T03:36:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Myron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/db5fbb/32.png) [@Dave\_Myron](https://www.ruby-forum.com/u/Dave_Myron)\
**Post date:** [February 2, 2008, 3:36am UTC](https://www.ruby-forum.com/t/blackbook-1-0-0-released/127882/1 "2008-02-02T03:36:51Z")

</div>

blackbook version 1.0.0 has been released!

- [http://rubyforge.org/projects/contentfree/](http://rubyforge.org/projects/contentfree/)

## DESCRIPTION:

Blackbook automates the nitty-gritty of importing contacts from  
various services and files and exporting them as VCard, XML, or simple  
Hash. Utilize those contacts from services like AOL, GMail, Yahoo  
Mail, Hotmail or CSV to help your social networking site become  
GIGANTIC overnight! You’ll be able to get big and sell for millions  
before anyone figures out it’s just like every other social network.

Changes:

## 1.0.0 / 2008-01-30

- 2 major enhancements

- [http://rubyforge.org/projects/contentfree/](http://rubyforge.org/projects/contentfree/)

Thanks to Mike M. [http://blog.mondragon.cc](http://blog.mondragon.cc) for finalizing  
blackbook and getting it birthed.

---

<div class="post-metadata">

**Author:** ![Dave\_Myron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/db5fbb/32.png) [@Dave\_Myron](https://www.ruby-forum.com/u/Dave_Myron)\
**Post date:** [February 3, 2008, 4:31am UTC](https://www.ruby-forum.com/t/blackbook-1-0-0-released/127882/2 "2008-02-03T04:31:20Z")

</div>

Hi Dave,

This looks like a really, really useful library.

I’ve just given it ago & while the gem install successfully, when I ran  
my simple code I received this error message.

/usr/lib/ruby/1.8/uri/common.rb:432:in `split’: bad URI(is not URI?):  
0;%20url=‘[http://www.google.co.uk/accounts/SetSID?ssdc=1&sidt=6QlI3RcBAAA](http://www.google.co.uk/accounts/SetSID?ssdc=1&sidt=6QlI3RcBAAA)…[snip]’  
(URI::InvalidURIError)

I’m running Suse linux, 10.2 & ruby 1.86

My code is pretty simple.

require ‘rubygems’  
require ‘blackbook’

contacts = Blackbook.get :username =\> my\_email , :password =\>  
my\_password  
contacts.each { |c| puts “#{c.name}: #{c.email}” }

Is there something else that I should be doing or need to install?

rgds,

- matt.

Dave Myron wrote:

> blackbook version 1.0.0 has been released!

---

<div class="post-metadata">

**Author:** ![Dave\_Myron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/db5fbb/32.png) [@Dave\_Myron](https://www.ruby-forum.com/u/Dave_Myron)\
**Post date:** [February 8, 2008, 4:19am UTC](https://www.ruby-forum.com/t/blackbook-1-0-0-released/127882/3 "2008-02-08T04:19:18Z")

</div>

Hi there,

I managed to get this working by making a simple change to gmail.rb in  
the gem.

Line 28 changed from:

url =  
page.search(‘//meta’).first.attributes[‘content’].split(“URL=”).last  
rescue nil

To:

url =  
page.search(‘//meta’).first.attributes[‘content’].split(“url=”).last.gsub(“'”,“”)  
rescue nil

A regex guru could probably think of a better way of doing this.

Hope that helps someone.

- matt.

Matt S.1 wrote:

> Hi Dave,
> 
> This looks like a really, really useful library.
> 
> I’ve just given it ago & while the gem install successfully, when I ran  
> my simple code I received this error message.
> 
> /usr/lib/ruby/1.8/uri/common.rb:432:in `split’: bad URI(is not URI?):  
> 0;%20url=‘[http://www.google.co.uk/accounts/SetSID?ssdc=1&sidt=6QlI3RcBAAA](http://www.google.co.uk/accounts/SetSID?ssdc=1&sidt=6QlI3RcBAAA)…[snip]’  
> (URI::InvalidURIError)
> 
> I’m running Suse linux, 10.2 & ruby 1.86
> 
> My code is pretty simple.
> 
> require ‘rubygems’  
> require ‘blackbook’
> 
> contacts = Blackbook.get :username =\> my\_email , :password =\>  
> my\_password  
> contacts.each { |c| puts “#{c.name}: #{c.email}” }
> 
> Is there something else that I should be doing or need to install?
> 
> rgds,
> 
> - matt.
> 
> Dave Myron wrote:
> 
> > blackbook version 1.0.0 has been released!
