archiveUrl := 'http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org'
asUrl.
archive := Soup fromUrl: archiveUrl asString.
monthlyZipLinks := archive findAllTags: [ :t | t name = 'a' and: [ (t
attributeAt: 'href') endsWith: 'gz' ] ].
monthlyZipUrls := monthlyZipLinks collect: [ :t | archiveUrl / (t
attributeAt: 'href') ].
(monthlyZipUrls first: 2) do: [ :e |
        ZnClient new
                url: e;
                downloadTo: e file ].

The archives are straight text files, in which the individual messages are
separated by a seemingly random number of LFs. Since LFs also separate lines
within the messages, IDK how you distinguish, except to use PP to look for
message headers, which seem to follow a regular format e.g. `From alexandre
at bergel.eu  Wed May 21 15:13:48 2008`



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Getting-the-mbox-file-for-this-mailing-list-tp4835958p4835977.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to