List Info

Thread: Fwd: Yahoogroups login - Yahoo2mbox.pl




Fwd: Yahoogroups login - Yahoo2mbox.pl
country flaguser name
United States
1969-12-31 18:00:00

Hi,

I'm more familiar with PHP than Perl -however I have been looking for
a wee while & cannot locate a php script to do this job.

I have searched the web (google) & found yahoo2mbox.pl - which logs into
Yahoogroups & downloads the emails....

http://www.tt-solutions.com/en/products/yahoo2mbox/

-----------------

QUESTION. I'm assuming it actually "logs in" - Instead of downloads
from a PUBLIC archive ? (is this true ?? )

& can I run the script 2-3 times (one every 5 minutes), & it knows im
already logged in from the 1st time)

looking at the script - I have found
# the name of the group to get messages from
my $groupname;

QUESTION :- should this be changed to br> # the name of the group to get messages from
my $groupname="groupnamehere";

????

====================================

I do not need most of the "looping" - to retrieve messages....

I'm wondering, How easy would it be, to specify a URL eg br>
http://groups.yahoo.com/group/GROUPNAME/members?start=31&group=sub

& get it to retrieve that page (changing the group name of course),
and save to a disk/server.....

Extra br>
A) I'll have a directory of *.txt files, each file would contain a
1-line URL of the page I want to retrieve...

EG br>
http://groups.yahoo.com/group/GROUPNAME/members?start=31&group=sub

B) I'll open up one of the files, - retrieve the line, & pass the line
into the (changed) yahoo2mbox script...

C) I'll then do a loop (finding a file that does not exist)

EG
1.out
2.out
3.out etc... When it finds a file that doesn't exist - Pass the
value/contents of the Yahoogroups into the file....

Most of the above I can do - the only one I am not experienced in, is
the logging in & retrieving parts...

- I know the PHP of the loop / Counting / file open/save routines etc
&; think the Perl versions would be easy to find out...

Any advise would be appreciated...

(or has anyone got a script already done - to retrieve a certain page
(eg members list) )

__._,_.___
.

__,_._,___
Re: Fwd: Yahoogroups login - Yahoo2mbox.pl
country flaguser name
United States
2007-04-01 10:12:05

>>&gt;>> "Sarah" == Sarah fox < sarahfox1969%40gmail.com">sarahfox1969gmail.com> writes:

Sarah>; Hi,
Sarah> I'm more familiar with PHP than Perl -however I have been looking for
Sarah> a wee while & cannot locate a php script to do this job.

Sarah> I have searched the web (google) & found yahoo2mbox.pl - which logs into
Sarah> Yahoogroups & downloads the emails....

Sarah> http://www.tt-solutions.com/en/products/yahoo2mbox/

If you're asking a question of a specific script that you did not write, it's
generally going to be FAR faster to write the original author (or do whatever
they indicate for support options) than to ask on a public mailing list like
this. If you have already done that, you should have indicated that in your
posting here.

If you're asking how to write such a script, look at the Mail::Webmail::Yahoo
and Mail::Client::Yahoo modules in the CPAN. They look a little old, so they
may not work well (in fact, *nothing* may work well) with the recent
web-2.0-ish redesign of most of Yahoo's products.

At http://developer.yahoo.com/mail/, there are code samples for the currently
supported API. It looks like they offer a JSON-based API now, which is cool.
The bad news is that free accounts appear to be restricted to not actually
being able to download email, so I hope you have a premium account.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<; merlyn%40stonehenge.com">merlynstonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )