Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Chambers
Well, wait no more. We have had the Flex 2 Beta for Mac for a month or two now: http://www.macromedia.com/go/labs_flex2_downloads Just click the link on that page for Flex SDK 2.0 mike chambers [EMAIL PROTECTED] Troy Rollins wrote: On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread elibol
It can be done with AS2. The easiest way would be to build an API around the query strings. _xml.load(http://del.icio.us/api/posts/get?tag=humor); This technique is a bit sketchy though. M. On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote: Mike, can it be done with AS2? Mike Britton On

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread elibol
Sorry to answer a question that was asked of someone else. On 5/5/06, elibol [EMAIL PROTECTED] wrote: It can be done with AS2. The easiest way would be to build an API around the query strings. _xml.load( http://del.icio.us/api/posts/get?tag=humor); This technique is a bit sketchy though.

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Chambers
Actually, that is a little different. That would work if running the browser, as the browser would handle the HTTP auth (it would pop up a user / pass dialog). However, running in standalone would not work. You would have to manually write the appropriate headers in the request. mike

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Britton
This technique is a bit sketchy though. True, and their API isn't finalized. There are few things more soul-shattering than having your XML-parsing wrapper rendered obsolete without warning. Mike On 5/5/06, elibol [EMAIL PROTECTED] wrote: It can be done with AS2. The easiest way would be

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread elibol
Right on about standalone. I was thinking you could work the auth into the url, http://username:[EMAIL PROTECTED]/api/posts/get?tag=humor M. On 5/5/06, Mike Chambers [EMAIL PROTECTED] wrote: Actually, that is a little different. That would work if running the browser, as the browser would

Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Mike Chambers
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Code401 http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Authorization Basic Authentication basically just base64 encodes the username / pass and passes it to the server in the header. Sorry I wasnt a little

Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Troy Rollins
On May 4, 2006, at 1:01 PM, Mike Chambers wrote: Also, I am doing this in AS3, not AS2. You wouldn't happen to be doing this in AS3 on a Mac, would you Mike? ;-) (Still waiting for a flex beta for Mac...) -- Troy RPSystems, Ltd. http://www.rpsystems.net

Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Mike Britton
Mike, can it be done with AS2? Mike Britton On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote: On May 4, 2006, at 1:01 PM, Mike Chambers wrote: Also, I am doing this in AS3, not AS2. You wouldn't happen to be doing this in AS3 on a Mac, would you Mike? ;-) (Still waiting for a flex beta

Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Weyert de Boer
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Code401 http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Authorization Basic Authentication basically just base64 encodes the username / pass and passes it to the server in the header. Sorry I wasnt a little

[Flashcoders] Q:del.icio.us API

2006-05-03 Thread bitstreams
Hi Has anyone incorporated the del.icio.us API or similar social bookmarking feature into any of their projects? Just looking for examples and ideas at the moment and what is/isn't possible. Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

Re: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Mike Britton
The API is under development and it requires authentication. I looked into it and it's pretty simple: http://del.icio.us/api/posts/get?tag=humor ...returns an XML object like this: posts dt=2006-05-03 tag=humor user= post href= description= hash= others=2 tag=humor time=2006-05-03T15:14:14Z/

Re: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Mike Chambers
I am in the process of building an ActionScript 3 library to wrap this. Every API should work, although: 1. You have to handle HTTP Basic authentication, either via the browser (automatic) or ActionScript. 2. they currently don't have a crossdomain.xml file, so you have to go through a

Re: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Mike Britton
This may be a dumb question, but how would HTTP basic authentication be handled through AS2? Wouldn't it have to go through some kind of server-side proxy? Mike Britton On 5/3/06, Mike Chambers [EMAIL PROTECTED] wrote: I am in the process of building an ActionScript 3 library to wrap this.

RE: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Jason Je
Subject: Re: [Flashcoders] Q:del.icio.us API This may be a dumb question, but how would HTTP basic authentication be handled through AS2? Wouldn't it have to go through some kind of server-side proxy? Mike Britton On 5/3/06, Mike Chambers [EMAIL PROTECTED] wrote: I am in the process

RE: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Weyert de Boer
It probably is a dumb question, but what do you exactly mean by 'HTTP basic authentication'??? :) I think he means the simplest form of http authentication, meaning the credentials are able to give up within the string itself. For example, http://username:[EMAIL