Tải bản đầy đủ - 0 (trang)
Hack 57. Add Contacts to Your Yahoo! Address Book

Hack 57. Add Contacts to Your Yahoo! Address Book

Tải bản đầy đủ - 0trang

theFrom:lineofthemailheadersatthetopoftheemail;itwill

looklikeFigure3-16.



Figure3-16.AddtoAddressBooklinkinYahoo!

Mail



Clickthelink,andyou'llseethe"AddtoAddressBook"form

withseveralofthefieldsprefilled,includingfirstandlastname

andemailaddress.Youcanoptionallyaddaphonenumberand

nicknameforthecontactandclickthe"AddtoAddressBook"

buttontosavethecontactintoyouraddressbook.

Thoughthisissimple,itwon'tworkifyou'restartinganew

Yahoo!Mailaccountorifyouhaven'treceivedemailatyour

Yahoo!addressfromthecontactsyouwanttoadd.Toentera

fewcontactsbyhand,browsetohttp://address.yahoo.comand

lookfortheQuickAddContactboxatthetoporbottomofthe

page.Ifyou'regoingforspeed,theminimuminformationyou

needtofillinisafirstorlastnameandanemailaddress;then

clicktheAddbutton.

Tospendabitmoretimeandbuildamorecompleteaddress

book,youcanclicktheAddContactbuttonfoundat

http://address.yahoo.comandyou'llhavetheoptionto

associatemuchmoreinformationwiththecontact:



Name

Includingfirst,last,middle,andanickname.Notethatif

youusenicknamestoaddressamessagewhencomposing



email,eachnicknameshouldbeunique.



Email

Thecontact'sprimaryemailaddressanduptotwo

alternates.



MessengerID

Thecontact'sYahoo!IDforreceivinginstantmessages.



PhoneNumbers

Uptosevendifferentnumbers,includinghome,work,

mobile,fax,andpager.



HomeInformation

Thecompleteaddress;alsospaceforaURL.



WorkInformation

Thecompanyname,jobtitle,completeaddress,andURL.



ImportantDates

Birthdayandanniversaryinformation.



Notes

Anyinformationthatdoesn'tfitintheothercategories.

Inadditiontothisinformation,youcanassignyourcontacttoa

categorythatyoucansetupthroughtheOptionslinkatthetop

ofthepage.Categoriesarehandyforgroupingcontactsby

association,suchasFriendsandWork.Ifthesefieldsdon't

meetyourneeds,youcanalsoadduptofourcustomfields

(alsoavailablethroughtheOptionslink)forextended

information.



Ifyougiveacontactanicknameintheaddressbook,youcansimply

addressanyfutureYahoo!Mailtothatnickname.



Asyoucansee,thereisalotofinformationyoucanfillout

here,andaddingmorethanahandfulofcontactsthiswaycan

becomeachore.



3.8.2.ImportingContacts

Ifyou'vealreadyenteredyourcontactinformationinadesktop

programsuchasOutlook,there'snoneedtogothroughthe

hassleagain.Thereareseveralquickerwaystobuildupyour

Yahoo!AddressBook.



3.8.2.1.UsingQuickBuilder.

Ifyou'vebeenusingYahoo!Mailforanylengthoftime,you



probablyhavealibraryofemailssittingonYahoo!'sservers.

Clickingthrougheachemail,findingthe"AddtoAddressBook"

link,andaddingeachcontactcouldtakehours,soYahoo!built

atoolcalledQuickBuilder.QuickBuildersearchesthroughyour

existingYahoo!Mail,lookingforcontactstoaddtoyouraddress

book.

Togetstarted,browsetoyouraddressbookandclickthe

QuickBuilderbuttoninthenavigationbar.Fromhere,youcan

selectwhichfoldersQuick-Buildershouldlookthroughtofind

addresses.YoucanalsolimitthenumberofemailsQuickBuilder

findsbyspecifyingthatitshouldincludeonlyaddressesthat

appearmorethanonetofourtimesinyourfolders,or

addressesfromemailsreceivedwithinaspecifictimeframe.

ClickContinuetodisplaythelistofemailaddresses

QuickBuilderfinds.Checktheboxnexttoeachfoundaddressif

you'dliketoaddittoyouraddressbook.

Youcanalsoaddanicknameforeachcontactbeforeyouaddit

toyouraddressbook.Alternately,checktheboxatthetopleft

oftheresultstoselecteveryemailaddressfound.Click

Continuetodisplayalistoftheaddressesthathavebeen

added.



3.8.2.2.Importingfromapplications.

Luckily,allemailapplicationdesignersunderstandthatpeople

migratebetweendifferentcomputers,locations,andemail

programsonafairlyregularbasis,andifyou'vespentyears

compilinganaddressbookinanotherprogramsuchasOutlook,

youcantakeadvantageofyouremailapplication'sexport

featurestouseyourexistingdata.

Thefirsttaskinmovingyourcontactsistofindaformatthat

Yahoo!Mailcanunderstandandimport.Thisiscalledexporting

youraddressbook,andtheexportingprocessgeneratesafile



onyourcomputerthatyoucansendtoYahoo!.First,takea

lookatthefouraddressbookformatsthatYahoo!understands:



MicrosoftOutlookCSV

Thisisasimpletextfilewithcomma-separatedvalues

(CSV)inaformatusedbyMicrosoftOutlookandOutlook

Express.



PalmDesktopABA

ChoosetheAddressBookArchive(ABA)formatifyou're

importingfromaPalmhandheldPDA.



NetscapeLDIF

UsetheLightweightDirectoryInterchangeFormat(LDIF)

optionifyou'reexportingfromtheMozillaThunderbird

emailclientorolderNetscapeemailclients.



Yahoo!CSV

Ifyou'removingfromoneYahoo!IDtoanotheror

consolidatingmultipleYahoo!Mailaccountsintoone,you

canchoosetoexportintotheYahoo!CSVformatandthen

importthefile.

Theprocessforexportinganaddressbookwillvaryby

application,andyoucanfindalistofstep-by-stepinstructions

formanyemailclientsinYahoo!Helpat

http://help.yahoo.com/help/us/ab/impexp/index.html.



Generally,youstarttheexportprocessfromtheprogrammenu

atFile ImportandExport.Fromthere,youwanttochooseto

exporttoafileinoneoftheformatsthatYahoo!understands.

You'llalsowanttogiveitamemorablename,suchas

address_book.csv,andsaveitinamemorablelocationlikeyour

desktop.

NowthatyouhaveyouraddressbookfileinaformatYahoo!

canunderstand,browsetoyourYahoo!AddressBookandclick

theImport/Exportlinkintheupper-rightcornerofthepage

(seeFigure3-17).

Asyoucansee,onthispageyouchoosetheformatofyourfile,

clickBrowse…tofindthefileonyourcomputer,andthenclick

theImportNowbutton.Thenextpageyou'llseeisyour

addressbookfilledwiththecontactinformationfromyour

exportfile.



Figure3-17.Yahoo!MailImportandExport



3.8.2.3.Stayinginsync.

Theprocessofimportingcontactsfromanotherprogramworks

wellformovingalargenumberofcontactsbetweenyour

desktopandYahoo!Mail.Butifyou'dlikeamoreincremental

approach,Yahoo!offersaprogramforWindowsuserscalled

IntellisyncforYahoo!.Intellisyncisaprogramyoucan

downloadandinstallthatwillkeepinformationfromcertain

desktopapplicationsinsyncwithYahoo!Mail.Syncingaddress

booksisonlyoneserviceprovidedbyIntellisync,whichcan

movetedioustaskssuchasimportingandexportingcontactsto

thebackground.Forexample,ifyouaddUncleJoeasacontact

inOutlookonyourhomecomputer,Intellisyncwillrecognizethe

additionandaddUncleJoetoyourYahoo!AddressBook.



ToinstallIntellisync,clicktheSynclinkintheupper-right

cornerofyourYahoo!AddressBookandmakesureyourother

addressbookapplicationislistedonthefollowingpage.Atthe

timeofthiswriting,Intellisyncsupportssyncingtheaddress

bookfromspecificversionsofsevenapplicationsorplatforms:

ACT!,LotusOrganizer,MSOutlook,OutlookExpress,Palm

handhelds,andPocketPCs.Ifyourcurrentaddressbookisn't

supported,Intellisyncwon'tworkforyou.Ifyoufindyour

versionofyourapplicationlisted,clickInstallNowtodownload

theprogram.

Onceyou'veinstalledIntellisync,you'llneedtotellitwhich

addressbookprogramyouuse.Starttheprogramandclickthe

Setupbutton.ClickApplicationSettingstobringupthe

configurationwindowshowninFigure3-18.



Figure3-18.Intellisyncconfiguration



SelectAddressBookfromthelistandthenclickChoose…to

chooseyouraddressbookapplication.Findyouraddressbook

programonthelist,highlightit,andleave"synchronize"

checked.Fromthere,saveyourchangesbyclickingOK,and

you'resetuptokeepyouraddressbookssynchronized.

Onceyou'vesetupIntellisync,youcanrunitperiodicallyto



syncyouraddressbookentriesinbothplaces.IfIntellisync

spotsanydifferencesbetweenthetwoaddressbooks,you'llbe

askedtoconfirmanyeditsbeforethey'remade,asshownin

Figure3-19.



Figure3-19.Intellisyncaddressbook

confirmation



Toseethedetailsofanychanges,clicktheDetails…buttonto

seeexactlywhichcontactsarebeingsentbackandforth.

TheprocessofenteringcontactsintoyourYahoo!addressbook

canbeatediousone,butbytakingsometimetoworkwiththe

toolsYahoo!hasmadeavailable,youcanbuildupyouraddress

bookinnotimeandhaveallofyourcontactsatyourfingertips

fromanylocation.







Hack58.MapYahoo!AddressBookContacts



Plotthelocationsofyourfriendsandcolleaguesona

mapoftheworldwithyourYahoo!AddressBookandthe

worldkitmappingapplication.

TheYahoo!AddressBookletsyoustoremorethanjustnames

andemailaddresses.Youcanstorecompletecontact

informationforeveryone,includingstreetaddress,city,state,

andcountry.Ifyouhavemorethanadozenorsocontacts

stored,youmightnotrealizehowgeographicallydispersed

everyoneis.ThishackplotsthelocationsofallofyourYahoo!

AddressBookcontactsonamap,soyoucanvisualizewhere

yourfriends,family,andcoworkerslive.

Plottingeachcontact'slocationispossiblethankstoYahoo!'s

AddressBookexportfeature,whichprovidesallofyouraddress

bookdataincommaseparatedvalue(CSV)format.Fromthere,

afreelyavailablewebservicecalledGeocoder

(http://geocoder.us)translateseachaddressintoitslongitude

andlatitude.Andfinally,worldkit(http://brainoff.com/worldkit)

plotseachpointonamap.



3.9.1.PreparingYourAddressBook

Rightnow,youraddressbookmightbeinsloppycondition

(minewas),includingmisspelledaddresses,missingstatesand

countries,andabbreviatedcities.Geocodingrequiressome

degreeofaccuracytofindgoodmatches,sobeforegetting

started,tidyyouraddressbookup.It'snotnecessaryto

produceapristineaddressbook,butyouneedatleastacity

andcountry,andastateabbreviationforU.S.locations.Street



addressesforU.S.contactscanbeusedtoo.You'lllikelyneed

toiteratethiscleanupacoupleoftimes,withfeedbackfromthe

geocodingscript.Exportyourcontactsbyloading

http://address.yahoo.com,selectingImport/Export,and

selectingExportNow!fortheYahoo!CSVformat.



3.9.2.TheCode

yadr2geo.plisaPerlscriptthattakesthenameofyour

downloadedaddressbookandoutputsageocodedRSSfileto

usewithworldkit.GeocodedRSSreferstoanyflavorofRSS

extendedtoincludeitem-levellatitudeandlongitude.More

detailsontheformatcanbefoundat

http://brainoff.com/worldkit/doc/rss.php#basic.

Thisscriptrequirescommonlyinstalledmodules:URI::Escapefor

formattingwebservicerequests,LWP::Simpleformakingthose

requests,andXML::Simpleforparsingtheresponses.



ThisscriptdoesnotuseamoduletoparseCSV,becausemodulessuch

asText::CSVassumethatanewlineindicatesanewrecord,whilein

Yahoo!CSV(andmostflavorsofthisunofficialspec)it'slegaltoinclude

anewlinewithinanentryifthatentryisquoted.CSVisdiscussedin

moredetailat

http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm.



Yahoo!CSVissimple:allentriesareguaranteedtobequoted,

thefirstlinegivesfieldnames,andthere'snoextraneous

whitespace.Soit'sstraight-forwardtoprogramascripttoparse

Yahoo!CSVcharacterbycharacter.ThesubroutinegeTRecord()

takesanopenfilehandleasanargumentandreturnsanarray

containingthenextCSVrecord.



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Hack 57. Add Contacts to Your Yahoo! Address Book

Tải bản đầy đủ ngay(0 tr)

×