• 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
Re: AppleScript XML call to blogger.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript XML call to blogger.com


  • Subject: Re: AppleScript XML call to blogger.com
  • From: Philip Dow <email@hidden>
  • Date: Fri, 17 Feb 2006 20:03:45 +0100

Yup, records are exactly what I need in this case, thanks Federico. A note on the password, you have to pipe it, so |password|:"somepassword"

I found out why this code wasn't working though, it seems it has to do with blogger no longer supporting the blogger2 xmlrpc protocol. As far as I can tell, they've switched over to the Atom API, which, thanks to an offlist recommendation, I am still able to interact with using "do shell script" and curl.

I only started working with AppleScript some two weeks ago, been a cocoa developer for a while. I never knew AppleScript was so... capable! Why doesn't Apple make more of an effort to expose AppleScript to mac users?

-Phil

On Feb 17, 2006, at 5:46 PM, Federico wrote:


On 17/feb/06, at 03:08, Philip Dow wrote:

How do I represent structs in AppleScript?

Hi,

You have to use AppleScript records. As an example, the "login" struct mentioned in the documentation should be:

{appkey: "0123456789ABCDEF", username:"somename", password: "somepassword"}


Bye,

- fm


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40phildow.net


This email sent to email@hidden


_______________________________________________ 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
References: 
 >AppleScript XML call to blogger.com (From: Philip Dow <email@hidden>)
 >Re: AppleScript XML call to blogger.com (From: Federico <email@hidden>)

  • Prev by Date: Re: do shell script- sed conundrum
  • Next by Date: Toggle Screensaver
  • Previous by thread: Re: AppleScript XML call to blogger.com
  • Next by thread: Mac OS X 'worm' Alert
  • Index(es):
    • Date
    • Thread