Abook Yahoo import
Yahoo! Address Book, Export Netscape/Thunderbird --> Abook Import ldif / Netscape addressbook
I had a hard time importing my Yahoo address book into abook. They both claim to support some common formats, but the fields never mapped very well. The best turned out to be "Netscape/Thunderbird" from Yahoo! Address Book. That generates an LDIF file (LDAP Interchange Format). The only problem is that a lot of the field names don't quite match the abook export option for "ldif / Netscape addressbook", but it's pretty close. This will get names and email addresses, but no postal addresses and phone numbers. The following ex script will fix most of the field names. I couldn't get secondary email addresses to match, so those still get lost.
#!/bin/sh ex yahoo_ab.ldif <<HERE_EX %s/^mozillaHomeLocalityName/locality/n %s/^homeStreet/streetaddress/n %s/^mozillaHomeState/st/n %s/^mozillaHomePostalCode/postalcode/n %s/^mozillaHomeCountryName/countryname/n %s/^mobile/cellphone/n %s/^mozillaNickname/xmozillanickname/n %s/^homePhone/homephone/n %s/^fax/facsimiletelephonenumber/n %s/^telephoneNumber/xmozillaanyphone/n w HERE_EX