XML-RPC.ComUserLand
    Simple cross-platform distributed computing, based on the standards of the Internet.

Home

Spec

News

Mail List

Directory

Discuss

New Topic

HowTo

Top 50

SOAP

RSS

OPML

XML




Members
Join Now
Login

Scripting MailToTheFuture through XML-RPC

Sat, Apr 29, 2000; by Dave Winer.

Background

 MailToTheFuture's XML-RPC interface is documented here.

What the script does

 First, it deletes all messages in your queue whose subject begins with "test".

 Then it adds five test messages, sent in even intervals of 15 minutes, to yourself.

 You can see that it adds the messages by looking at the View Messages page on MTTF.

 You must be a member of MailToTheFuture.Com to use this feature.

Part of a validation suite

 This example has value as part of a validation suite for the client-side of various XML-RPC implementations.

 It uses <struct>s but not <array>s. A lot of things have to work for this script to work. It doesn't test everything, but it's a good first step.

 It should also, of course, be possible to write a compatible server in any other XML-RPC implementation and I would be happy to run my script against such an implementation.

Download

 Frontier users can download the script here.

Screen shot

 

© Copyright 2004-2008 Scripting News, Inc.
© Copyright 1998-2004 UserLand Software, Inc.
XML-RPC is a trademark of UserLand Software, Inc.
Last update: Saturday, April 29, 2000 at 12:26:54 PM Pacific.

Create your own Manila site in minutes. Everyone's doing it!