r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Ann-Reply] Reply to Announce group

Graham
24-Jul-2010
[1980]
Ok, you just need to be an Australian citizen, move to Ashley's electorate 
and vote for him!
NickA
25-Jul-2010
[1981]
Only if I could have a personal guarantee that REBOL will make its 
way into the government PCs in Higgins :)
Will
7-Aug-2010
[1982]
Thank you Chris, AltJSON is really usefull 8-)
Graham
8-Aug-2010
[1983]
You can track the Altjson issues at http://jira.rebolsource.net:8080/secure/IssueNavigator.jspa
Gregg
15-Aug-2010
[1984]
Chris or Graham, do you know if %json.r on json.org needs to change? 
That is, does it do the right thing given whatever scenario it is 
that required altjson to change?
Graham
15-Aug-2010
[1985x3]
I stopped using json.r because it didn't do something for me ... 
can't recall what it was now :(
Can't json.org point to Chris' version as well?
maybe it was the GPL license??
Andreas
15-Aug-2010
[1988]
I think I had an escaping issue with json.r last time I used it. 
But as that was in 2008, so I guess this has been fixed, since.
Gregg
15-Aug-2010
[1989]
I think GPL was Romano's original. Not sure if we can find him to 
ask about changing it. I'm all for MIT or the JSON license.


If there are any bugs, let me know. Provided tests will get added 
to my suite.
Graham
20-Aug-2010
[1990x2]
Chris, Maarten also included switches to encrypt and decrypt files 
being stored on S3 ... do you want to tackle that as well?  :)
S3 is also used for storing large files... so probably one needs 
to alter the http protocol to save content directly to a disk file
Chris
20-Aug-2010
[1992x2]
Or:  U is the same as C on S3 (as near as I can tell) and D is a 
little way off.
Switches, is that the 'md5 parameter?
Graham
20-Aug-2010
[1994]
I think U is the same as C
Chris
20-Aug-2010
[1995x2]
As opposed to R, as I'd previously stated : (
Crud indeed.
Kaj
20-Aug-2010
[1997x2]
Many thanks for the protocol!
I'll include it in Syllable Server on the next release
Chris
23-Aug-2010
[1999x2]
Re. Twitter, you'll need a consumer key/secret (register an app at 
http://dev.twitter.com/) to get it working.
Current theory is that I have to double url-encode my post params 
when signing.  Sheesh.
Pekr
23-Aug-2010
[2001]
R2 or R3?
Chris
23-Aug-2010
[2002x2]
R2.
Same principles should apply to R3 (after all, you're only adding 
a header to each request), but I don't know the R3 HTTP scheme that 
well.
Graham
23-Aug-2010
[2004x7]
So, you can tweet using OAuth ?
If so, that's pretty cool
Chris, the current http protocol does support custom headers with 
get like this 

read URL [ header [ Cookie: "authtoken=anotherfoo" ]]
The 'header is an undocumented feature
Basic authentication is being turned off on twitter end of this month!
Is someone going to register Rebol/View as an application?
for OAuth
Chris
23-Aug-2010
[2011x4]
The answer is...
Yesss!!
And thanks for the 'header tip - it works, and so this implementation 
works with the built-in HTTP scheme : )
The obvious caveat is that it doesn't work over SSL, that I'm afraid 
is an exercise for those using /Command or Stunnel.
Graham
23-Aug-2010
[2015x2]
SSL is available for everyone
with the latest View
Chris
23-Aug-2010
[2017]
Huh, so it is...
Graham
23-Aug-2010
[2018]
I'm hoping my changes or a variation of them will be rolled into 
the built in http scheme :)
Chris
23-Aug-2010
[2019x3]
I missed that.  So...  Works with SSL as well - cool!
I switched out the URL and it still works : )
Yes - need to be able to use 'put and 'delete for sure.
Graham
23-Aug-2010
[2022]
http://rebol.wik.is/Code_Samples/Tweet.r

Need a little example like this one :)
Chris
23-Aug-2010
[2023x3]
I know, it's a pain you can't use it without API keys...
I may change the third argument to a filename that automatically 
loads and saves user info.  At the moment, it asks for a block.
Note that if you view the tweets on Twitter itself, it links back 
to my page (where it says 'Client for REBOL') - http://twitter.com/rgrebol
Graham
23-Aug-2010
[2026x2]
So, what's missing?
And can your oauth work be used for google ?
Chris
23-Aug-2010
[2028x2]
Should be somewhat compatible.  There's two main parts: the header 
and the handshake.
I've tried to separate as much as my code as is possible, but it 
may not be generic enough...