|
| |
Radio Poster XML Bug
And one person (you know who you are :)) crashed Radio Poster when they tried to feed it a response of their own. I think I've found and fixed that bug. The problem is that RP wasn't correctly detecting invalid XML. More specifically, it was expecting XML and hanging if it got back HTML instead. I think that will be fixed in 1.1.
4:38:49 PM #
|
|
Radio Poster 1.1
I'm now able to post to Movable Type and Blogger blogs using the Blogger API. I guess I could post to Radio using the Blogger API as well. But I don't let user's choose their API. I have them set the weblog type. I'm not sure that's the best way to go yet. I see from the "Movable Type" page that they are very close to releasing MT 2.0.1, which will support the MetaWeblog API. It really is superior. As it stand right now, you can't specify a title/link with the Blogger API. Or, at least, I haven't figured out a way to do it. So I guess you should be able to choose your weblog type and your API.
4:36:31 PM #
|
|
quotes test
www.cnn.com Umlaut: [florin] ... [ring]
12:14:47 PM #
|
|
I Agree
Here's the long and the short of it: If the election were held tomorrow, I would vote for George W. Bush without turning a hair, no matter who his opponent was. I would more than likely, however, vote for a Democratic Congress. I am pro-abortion, pro gay rights, for progressive taxation (but not overtaxation), completely against corporate welfare (but the Dems don't really do much about that, either), and generally against almost everything that Tom Delay and John Ashcroft are for. I'm not a single-issue voter--normally. [yourish.com]
I agree. I didn't vote for George W. in the last election, but I'd probably vote for him in the next one. I can't believe how much I agree with conservative voices lately because they are saying what I believe with respect to Israel. It is mighty scary for me.
12:04:54 PM #
|
|
Mac OS 9
With all that ResPloder work I had to boot my TiBook into Mac OS 9 for the first time in a long time. I pretty much never use OS 9 any more. It was so strange. I couldn't find anything. I couldn't remember how to do anything. I've almost completely forgotten my way around. Cool :)
10:46:11 AM #
|
|
ResPloder Success
I got ResPloder working again on both Mac OS 9 and Mac OS X. I ran into some interesting things along the way. I had been creating a new file with FolderItem's CreateBinaryFile and then I was using OpenResourceFork to get it's resource fork. That worked great on Mac OS X, but on 9 OpenResourceFork failed. I'm betting because there wasn't a resource fork. The problem is that on X I had been getting this temporary file called temporary file that RB wasn't deleting after I created my file. I'm guessing that was the resource fork of the file before I created the main file and RB could merge the whole thing together. I stopped that from happening by creating the file first and then calling OpenResourceFork to get the resource fork. But on 9 that sequence didn't work. I'm betting thats because creating a file doesn't automatically create a resource fork. So on 9 I need to create the file and then create the resource fork. And on X I need to create the file and open the resource fork (or I get that stupid temporary file hanging around). It was simple enough to fix. I create the file and then I open the resource fork. If the resource fork is NIL I create it. That sequence seems to work on both 9 and X.
I also added some out-of-memory handling. That's not a problem on X as you can't run out of memory :) But on 9 it is quite easy to run out of memory. So I raise and catch an out-of-memory exception and put up an alert about it. That seems to help a lot. But if you want to explode/implode big files on 9 you've really got to boost ResPloder's memory.
One last note: ResPloder runs soooo much faster on X it isn't funny. I exploded the REALbasic app itself and it takes a noticeably amount of time on 9. The disk is just churning away. On X, the same thing was about 10 times faster. Cool.
10:44:20 AM #
|
|
stop the presses
ResPloder doesn't work at all on OS 9. It crashes something horrible when imploding a file with too little memory. And even when it has enough memory it doesn't do the implode correctly. So if you actually did download the thing, throw it away. I'm not ready yet. Sorry about that.
8:49:58 AM #
|
|
|
|
© Copyright
2002
Will Leshner.
Last update:
4/22/02; 1:42:20 PM.
|
|


|