New Message: XML-RPC scripting in Mac OS X
webmaster at userland.com
webmaster at userland.com
Sun Oct 28 04:49:55 PST 2001
A new message was posted:
Address: http://frontier.userland.com/discuss/msgReader$9037
By: Jeremy Reichman (jjracc+frontier at osfmail.isc.rit.edu)
Hi! I've got my first working AppleScripts calling XML-RPC in Mac OS X. I'm basically trying to convert over some older scripts that I wrote for the Late Night Software version of XML-RPC on classic Mac OS, and do some new things. (I still have to post those scripts somewhere, hm.)
I was inspired to try to use a native text editor to edit my home pages, and also wanted to try my hand at flipping the home page (which I've never quite gotten working in the past).
I had some success yesterday. I got a working script that downloads the current home page and puts its contents in a TextEdit.app window. I have a companion script that will take that window's contents and upload it to my Manila site, but unfortunately, it has escaped out all of the quotes and slashes and things. So Manila just blithely posts all this text, losing my shortcuts and other HTML stuff. (In AppleScript, quotes are escaped, and that ruins shortcuts as well as HTML anchor tags.)
I haven't been able to think of a good way around this, and I thought I'd ask if anyone had any ideas for me. I'm kind-of an intermediate AppleScripter, mostly from fiddling around in my own time.
I actually love to hook this kind of script up to OmniOutliner, which is a very nice OS X-native outliner. I'm using it now, replacing my old standby, Aportis BrainForest Pro. But since Radio Userland isn't native yet -- and it's practically the only Classic application I use -- I'd like to find some alternatives for basic day-to-day site editing. Without having to go back to the browser view; it just feels so much slower after you've used Radio.
TextEdit is fine for now, if I can figure out this text upload problem.
This is a Manila site.. http://manila.userland.com/.
More information about the Frontier-Server
mailing list