Tải bản đầy đủ - 0 (trang)
Hack 59. Discuss, Share, and Collaborate with Others

Hack 59. Discuss, Share, and Collaborate with Others

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

site:



Messages

Everymessagesenttothegroupviaemailisarchivedat

thegroupsite,wherememberscansearchthroughpast

messagesorpostnewmessagestothegroup.



Chat

AJava™applicationthatrunsinthebrowserprovidesrealtimechattingformembersthatareatthegroupsiteatthe

sametime.



File,Photo,andLinkSharing

Memberscanuploadfilesandphotostosharewithothers.

Andthere'saspecialsectionofthegroupsiteforsharing

linkstoothersites.



SharedDatabases

Thegroupcanworktogetheronadatabaseofinformation.

Youcanevencreateyourownstructureforthedata.

Prebuiltoptionsincludeasharedphonebook,CDlibrary,

recipes,andcontactlist.



GroupPolls

Youcantakethepulseofthegroupbycreatingamultiple-



choicepollquestionandlettingmembersvoteonthe

choices.



SharedCalendar

Everyonecankeepeachotherinformedofimportantevents

byaddingeventdescriptionstothegroupcalendar.

EachYahoo!Groupsiteoffersanumberoffeaturesthataren't

availableviaemail.



3.10.2.JoiningaGroup

Thoughyoumightbetemptedtorushintocreatingyourown

group,youmightfindthatagroupalreadyexistsforyour

favoritetopic.

TherearemillionsofpublicYahoo!Groups,andyoucansearch

forgroupsorbrowsebytopicathttp://groups.yahoo.com.Say

you'reinterestedinroboticsandwanttoseewhatpeopleare

discussing.YoucouldbrowsethroughthecategoriestoScience

Engineering Mechanical Roboticsandfindalistingof

around500potentialgroups,asshowninFigure3-21.

EachYahoo!Grouplistingshowsthetitleanddescription,the

numberofmembers,andwhetherthemessagearchiveisopen

tothepublic.Ifthearchivesarepublic,youcanreadthrough

pastdiscussionstoseeifyou'reinterestedinthegroup.

Otherwise,youmighthavetojointhegroupandtryitout.

Whenyouspotagroupyoumightliketojoin,clickthegroup

titleandyou'llvisitthegroupsite,liketheoneshowninFigure

3-22.



Figure3-21.AlistingofYahoo!Groups



Figure3-22.AnindividualYahoo!Groupssite



Acrossthetopofthegrouppage,you'llnoticethatitliststhe

groupactivitywithinthepastsevendays.Thisincludes

messagespostedtothegroupandanyfiles,photos,orlinks

shared.Thisisagoodwaytogetasenseofhowactivea

particulargroupis.You'llalsobeabletoreadtheentiregroup

descriptionandreadthroughrecentmessagesifthearchives

arepublic.ClickJoinThisGroup!tobecomeamember.Atthis

point,you'llneedtologinwithyourYahoo!IDifyou'renot

loggedinalready.

Afteryoudecidetojoinagroup,you'llneedtodecidehow

you'dliketoreceivemessages.Youcanchooseyourpreferred

emailaddressforthegroupandhowyou'dliketoreceive

messagesatthataddress:



IndividualEmails

Withthissetting,you'llreceiveeveryindividualemailsent

tothegroup.Thisisagoodoptionifyouwanttobeinthe

thickofdailyconversation.



DailyDigest

Adigestisagroupofallthemessagestothegroupfora

day,joinedtogetherintooneemail.Thisisagoodoptionif

you'dliketokeepclosetabsonthegroupbutdon'twantto

participateheavilyintheconversation.



SpecialNotices

Withthisoption,you'llreceiveonlymessagesthatthe

groupmoderatorsmarkasimportant.Usethisoptionifyou

primarilyreadmessagesatthegroupsitebutwantan

occasionalupdate.



NoEmail

Youcanreadagroupexclusivelyatthegroupsiteandavoid

anyextramessagesinyourinbox.

Youcanalsochoosewhetheryoupreferplain-textorHTMLformattedemail.

Onceyou'reamember,you'llbeabletopostmessagestothe

group,accessthearchives,andusetheextendedfeaturesof

thegroupsite.Keepinmindthatsomegroupsrequireapproval

fromamoderatorbeforeallowingyoutobecomeamember,

andsomegroupsrequirethatallmessagessenttothegroup



areapprovedbyamoderatorbeforethey'resentontothe

entiregroup.



3.10.3.CreatingaGroup

Tostartyourowngroup,browsetohttp://groups.yahoo.com

andclickthe"Startagroupnow"link.You'llneedtologinif

youhaven'tdonesoalready.Youcancreateagroupinthree

steps:



ChooseaCategory

YouneedtoplaceyourgroupwithinaYahoo!Groups

category,evenifthegroupisgoingtobeprivate.Ifyour

groupisforafamily,youcouldplaceitinFamily&Home

Families IndividualFamilies.



DescribetheGroup

Enteragroupname,emailaddressprefix,anddescription.

Thisdescriptionisthegroup'spublicfacetotheworldand

willappearintheYahoo!Groupsdirectoryifthegroupis

public.Theemailaddressprefixwillalsodeterminethe

groupsiteURL,sochoosesomethingshortandmemorable.



ConfirmYourAddress

Chooseyourpreferredemailaddresstoreceivemessages

atthegroup,andproveyou'renotarobotbyfillingouta

captchaform,asyoumayhavedonewhenyoucreateda

Yahoo!ID[Hack#3].



Withthegroupcreated,there'snothingmoreyouneedtodo.

Youcanstartinvitingpeopletojoinyourgroupandstartthe

discussion.YoucanviewyourgroupsitebyvisitingitsURL,

whichisinthisformat:





http://groups.yahoo.com/group/insertemailprefix



Eventhoughyourgroupisreadytogowiththedefaultoptions,

clicktheManagementlinkontheleftsideofthehomepageto

seeallofyouradministrativeoptions.ThelinksundertheGroup

Settingsheadingswillletyouconfigureeveryaspectofyour

group,frompublicarchivestothelookandfeelofthegroup

site.



Hack60.ArchiveYahoo!GroupsMessageswith

yahoo2mbox



Lookingtokeepalocalarchiveofyourfavoritemailing

list?Withyahoo2mbox,youcanimportthefinalresults

intoyourfavoritemailer.

WiththepopularityofYahoo!Groups

(http://groups.yahoo.com)comesaproblem.Sometimes,you

wanttosavethearchivesofaYahoo!Group,accessthe

archivesoutsidetheYahoo!Groupssite,ormoveyourlist

somewhereelseandtakeyourexistingarchivewithyou.



3.11.1.TheCode

VadimZeitlinhadthesesameconcerns,whichiswhyhewrote

yahoo2mbox(http://www.ttsolutions.com/en/products/yahoo2mbox).Thishackretrievesall

themessagesfromamailinglistarchiveatYahoo!Groupsand

savesthemtoalocalfileinmboxformat.Plentyofoptionsmake

thishandytohavewhenyou'retryingtotransferinformation

fromYahoo!Groups.You'llneedPerlandseveraladditional

modulestorunthiscode,includingGetopt::Long,HTML::Entities,

HTML::HeadParser,HTML::TokeParser,andLWP::UserAgent.



3.11.2.RunningtheHack

Runningthecodelookslikethis:





perlyahoo2mbox.pl[options][-ombox]groupname



Theoptionsforrunningtheprogramareasfollows:











































--help

--version

--verbose

--quiet

--resume

-ombox

--start=n

--end=n

--last=n

--noresume

--user=name

--pass=pass

--cookies=xxx





--proxy=url









--country=xx

--x-yahoo

--delay=n





givetheusagemessageshowing



showtheprogramversionandex



giveverboseinformationalmess



besilent,onlyerrormessages



resumeaninterrupteddownload



savethemessagetomboxinstea



startretrievingmessagesatin



stopretrievingmessagesatind



getthelastspecifiednumbero



don'tresume,**overwrites**th



logintoeGroupsusingthisuse



thepasswordtouseforlogin(

filetousetostorecookies(default:



'netscape'usesnetscapecookie



usethegivenproxy,if'no'do



theenvironmentvariablehttp_p



mayusehttp://username:passwor

usethegivencountrycodeinorderto



addX-Yahoo-Message-Numheader



sleepforthespecifiednumber



So,thiscommanddownloadsmessagesfromWeirdAlClub,

startingatmessage3258:













%perlyahoo2mbox.pl--start=3258weirdalclub2

Logginginanonymously…ok.

Gettingnumberofmessagesingroupweirdalclub2…

Retrievingmessages3258..3287:.......................

Saved30message(s)inweirdalclub2.



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

Hack 59. Discuss, Share, and Collaborate with Others

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

×