Fri, 12 Nov 2004 14:11:45 -0000
|
> -----Original Message-----
> From: LISTSERV give-and-take forum [mailto:[log in to unmask]]On
> Behalf Of Stephen C. Nill
> Sent: 12 November 2004 13:51
> To: [log in to unmask]
> Subject: Migrating archives from Yahoo Groups to LISTSERV
>
>
> Colleagues,
>
> I'm considering migrating a discussion list from Yahoo Groups to
> LISTSERV. Since Yahoo Groups does not use LISTSERV, I wonder
> how to go
> about migrating the archives. Does anyone have any thoughts on that?
Well, I would write a Perl script to first of all retrieve all the messages
in the group. The URLs for a message seem pretty straight forward, eg:
http://groups.yahoo.com/group/<groupname>/message/<msgnumber>?source=1
So if you find out the beginning and end numbers, say 1 to 500, then run a
loop through those.
You would need to then parse each page to extract the message (the ?source=1
uses the source version which may be easier to parse and has other header
lines in too). This shouldn't be too difficult, as I don't think (correct me
if I'm wrong) you have to worry about attachments and different types of
MIME etc.
Listserv's log format is very simple - each post is preceeded by a line of
73 "=" and you only need minimal headers.
Regards
Spencer
|
|
|