Newsvine
  • Welcome
  • Help
  • Report Bug
  • Conversation Tracker
  • Your Column
  • Replies
  • Friends
Type Comments Since You Last CheckedArticle Source Last Checked Stop Tracking All Clear Tracking All
Advertise | AdChoices
Log In | Register
Close the Login Panel
Existing users log in below. New users please register for a free account.

New Users:

Existing Users:

E-Mail:
Password:
Forgot Password?
Please enter the e-mail address or domain name you registered with:
E-Mail/Domain:
Back to Login
Log Out
  • Top News
  • Local News
  • World
  • U.S.
  • Sports
  • Politics
  • Tech
  • Entertainment
  • Science
  • Business
  • Health
  • Odd News
  • More
    • Arts
    • Education
    • Environment
    • Fashion
    • History
    • Home & Garden
    • Not News
    • Religion
    • Travel
Visit Mike Stickel's column >>

MIKE STICKEL

Home Page
Here and there
Articles Posted: 42  Links Seeded: 18
Member Since: 1/2006  Last Seen: 5/15/2012

What is Newsvine?

Updated continuously by citizens like you, Newsvine is an instant reflection of what the world is talking about at any given moment.

Get a Free Account
Help
Fun Stuff
  • Your Clippings
  • Leaderboard
  • E-Mail Alerts
  • Top of the Vine
  • Newsvine Live
  • Newsvine Archives
  • The Greenhouse
  • Recommended Articles
  • Wall of Vineness
Put a Seed Newsvine link on your own site

iPhoto keywords don't work in Spotlight searches

Seeded on Mon Apr 3, 2006 12:51 PM EDT
Read ArticleArticle Source: theubergeeks.net
technology, apple, tech, mac-os-x, searching, spotlight, iphoto, photo-search, iphoto-6
Seeded by Mike Stickel
Advertise | AdChoices

On Mac OS X, if you have iPhoto 6 and re-index your drive for Spotlight you won't be able to search any of your photos. This is a serious problem since the only way to search your photos is through iPhoto, completely rendering Spotlight useless for photos searches.

  • Enjoy this article? Help vote it up the 'Vine.

Published to:

  • Mike Stickel's Column, All of Newsvine
  • Groups: none
  • Regions: none
  • Public Discussion (2)
Bwana

Found something on macosxhints.com

Check if you have multi-line comments (with newline char). According to the post, it causes mdimport to choke when importing. Here is the post entry to save you some time:

iPhoto allows you to place comments on Folders, Albums, and Smart Albums.
However, if the comment is multiline the newline causes mdimport to choke on
AlbumData.xml

To reproduce:

- In iPhoto, File -> New Folder
- Select the new folder in the iPhoto Source pane.
- In the iPhoto Information pane (click (i) if needed to expose it), click in
the comments box and then type any multiline comment. e.g.
"helloworld"
- Quit iPhoto
- In the Terminal, run mdimport on the library:

callisto:~/Pictures/iPhoto Libraries% mdimport Test
*** Parsing file: '/Users/jay/Pictures/iPhoto Libraries/Test/AlbumData.xml'
ERROR: syntax error (PhotoCount)

Single line comments work fine. I believe the problem is that iPhoto places
the newline literally in the XML file instead of escaping it:

Comments
hello
world

The same problem occurs when placing multiline comments on Albums and Smart
Albums (I didn't test other sources such as Slideshows or Books).

Multiline comments on images appear to work fine, though I note the newline is
not escaped in the XML file on them either.

This is with iPhoto 6.0.2 and 10.4.5.

    Reply#1 - Mon Apr 3, 2006 5:40 PM EDT
    Colin D. Devroe

    Bwana: Comments and titles are searched fine. Since it literally writes to the file. This is a problem with iPhoto not writing the keywords to the file system anymore since 06....

    • 1 vote
    Reply#2 - Tue Apr 4, 2006 11:01 AM EDT
    Leave a Comment:
    You're in Easy Mode. If you prefer, you can use XHTML Mode instead.
    You're in XHTML Mode. If you prefer, you can use Easy Mode instead.
    (XHTML tags allowed - a,b,blockquote,br,code,dd,dl,dt,del,em,h2,h3,h4,i,ins,li,ol,p,pre,q,strong,ul)
    Newsvine Privacy Statement
    As a new user, you may notice a few temporary content restrictions. Click here for more info.
    FUN STUFF:
    • Leaderboard |
    • E-Mail Alerts |
    • Top of the Vine |
    • Newsvine Live |
    • Newsvine Archives |
    • The Greenhouse |
    COMPANY STUFF:
    • Code of Honor |
    • Company Info |
    • Contact Us |
    • Jobs |
    • User Agreement |
    • Privacy Policy |
    • About our ads
    LEGAL STUFF:
    • © 2005-2012 Newsvine, Inc. |
    • Newsvine® is a registered trademark of Newsvine, Inc. |
    • Newsvine is a property of msnbc.com