Re: blogger api
Re: blogger api
- Subject: Re: blogger api
- From: Rob Jorgensen <email@hidden>
- Date: Mon, 10 Mar 2003 13:40:45 -0500
At 11:55 AM -0600 3/10/03, jason perkins wrote:
I'm attempting to write an applescript that uses xml-rpc to call the
blogger api's metaWeblog.newPost function so that I can create a new
blog entry that has both a title and the body of the entry itself. The
issue is that the metaWeblog.newPost function expects a record and the
key for the entry text itself is 'description'. The snippet of code
that I was using to create the record is:
set blog_entry to {description:blog_content, title:blog_title} as record
and is failing because description is a keyword in applescript. I've also
attempted:
set blog_entry to {"description":blog_content, title:blog_title} as record
and
set blog_entry to {"description:" & blog_content, title:blog_title} as record
both of which are fail. Does anyone have a suggestion as to how to generate
this record containing an element of description?
Any assistance greatly appreciated.
There are a couple of libraries available that might help.
<
http://macscripter.net/sb_search.t?keyword=xml&go=Search>
--
Rob Jorgensen
Ohio, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.