[Mailman-Developers] REST API call for creating archive view?

Colin Fleming colin.mailinglist at gmail.com
Fri Nov 8 06:36:45 CET 2013


Ok, thanks Barry, I'll take a closer look at IArchiver then. I've seen a
little info about it but I'm not on a development machine at the moment
(moving cities) so I'll look when I get a chance.

Thanks,
Colin


On 8 November 2013 04:15, Barry Warsaw <barry at list.org> wrote:

> On Nov 07, 2013, at 02:50 PM, Colin Fleming wrote:
>
> >I'm interested in using Mailman to set up a mailing list for my product.
> >I'd like to have it be fully integrated into my website, so I'm planning
> to
> >use Mailman 3 and the REST API. I've checked out mailman.client and poked
> >around, and also looked at
> >
> http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/files/head:/src/mailman/rest/docs/
> ,
> >but the one thing I couldn't see was any way to access mail messages
> >themselves. Is there a way to create an archive view (i.e. present a view
> >of all messages in a list and allow reading particular mails) using the
> >current API?
>
> While we could (and should) add a REST API for accessing the
> IMessageStore, I
> think this will not be very useful for you.  That API would just return the
> message text based on the Message-ID (or hash) that you want to look up.
>  It
> wouldn't have any support for common archiving structure like threading,
> etc.
>
> It would be better for you to implement an IArchiver plugin to get the
> messages fed to you as they come in.  Of course, then you'd have to
> implement
> the archiver yourself, or you can use one of the standard archiver plugins
> such as for HyperKitty or MHonArc.
>
> And actually, having a REST API to HyperKitty is probably the best
> long-term
> approach.  Perhaps Aurélien can speak to that.
>
> -Barry
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> https://mail.python.org/mailman/listinfo/mailman-developers
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Searchable Archives:
> http://www.mail-archive.com/mailman-developers%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-developers/colin.mailinglist%40gmail.com
>
> Security Policy: http://wiki.list.org/x/QIA9


More information about the Mailman-Developers mailing list