AppleScript XML call to blogger.com
AppleScript XML call to blogger.com
- Subject: AppleScript XML call to blogger.com
- From: Philip Dow <email@hidden>
- Date: Fri, 17 Feb 2006 03:08:38 +0100
I am attempting to use AppleScripts XML support to make a blogger api
2.0 call to blogger's standard address "http://www.blogger.com/api/
RPC2". The api requires the use of structs in the xml. How do I
represent structs in AppleScript? I am currently trying the
following, but it does not work. In fact, I get no result back from
the script, not even an error message. Any recommendations would be
greatly appreciated?
tell application "http://www.blogger.com/api/RPC2"
call xmlrpc {method name:"blogger2.getUserInfo", parameters:{¬
{¬
{"appkey", "0123456789ABCDEF"}, ¬
{"username", "somename"}, ¬
{"password", "somepassword"} ¬
} ¬
}}
end tell
I know i the server is working and responding to the xml, as a
similar call using the older api without structs works:
tell application "http://www.blogger.com/api/RPC2"
call xmlrpc {method name:"blogger.getUsersBlogs", parameters:
{"0123456789ABCDEF", "philswritings", "4604Credit"}}
end tell
-Phil _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden