XML-RPC with PHP and AppleScript
XML-RPC with PHP and AppleScript
- Subject: XML-RPC with PHP and AppleScript
- From: Jesse Shanks <email@hidden>
- Date: Sun, 06 Jan 2002 16:53:58 -0800
I have the Usefulinc implementation of the PHP Classes going.
Several of the examples and tests work fine for me when I make the XML-RPC
calls from Applescript.
But, I am not getting the way to make a struct in the right record format. I
feel like I have tried every possible way.
tell application "
http://localhost/~username/server.php" to return call
xmlrpc {method name:"examples.getReviewNames", parameters:}
How would parameters look, if was sending a struct of string values? I seem
to have had it work fine when it was a bunch of numbers. There is one
example (sorting demo) that requires:
an array of structs thus:
Dave 35
Edd 45
Fred 23
Barney 37
This returns them in sorted order.
I feel like I am misssing something crucial and none of the Applescript
samples that are around seem to directly address the proper syntax of a
struct.
Thanks