The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
iPhoto2

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Patrick May

Posts: 19
Nickname: patsplat
Registered: Feb, 2003

Patrick May is a programmer and artist who has been developing ruby web technologies for 3 years.
iPhoto2 Posted: Feb 25, 2006 8:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Patrick May.
Original Post: iPhoto2
Feed Title: not another ruby framework
Feed URL: http://feeds.feedburner.com/Narf
Feed Description: Developing the Ruby platform, no shortcuts.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Patrick May
Latest Posts From not another ruby framework

Advertisement
Just released a library for parsing iphoto databases:



gem install plist
gem install iphoto2

iphoto = IPhoto2.new # path to AlbumData.xml is optional
iphoto.albums.each do |album|
album.each do |image|
puts image.path
end
end


There's more, but I'm tired now.

Update: oylenshpeegul pointed out a bug in the comments, I've put out another gem (iphoto2-1.0.1) to the problem with the Album#each. And he is correct, there is an Album#images accessor.

Read: iPhoto2

Topic: Intel Macs and Rails Previous Topic   Next Topic Topic: The Rails Curve

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use