• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AppleScript XML call to blogger.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: AppleScript XML call to blogger.com
      • From: Federico <email@hidden>
  • Prev by Date: Re: Quark Doc / OldStyle Numbers
  • Next by Date: Mac OS X 'worm' Alert
  • Previous by thread: Re: Quark Doc / OldStyle Numbers
  • Next by thread: Re: AppleScript XML call to blogger.com
  • Index(es):
    • Date
    • Thread