File tree Expand file tree Collapse file tree 6 files changed +18
-14
lines changed
Expand file tree Collapse file tree 6 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 55#lang info
66
77(define collection 'multi )
8- (define deps '("base " ))
8+ (define deps '("base "
9+ "sxml "
10+ "planet-neil-html-writing1 "
11+ "compatibility-lib "
12+ "web-server-lib " ))
913(define build-deps '("racket-doc " "scribble-lib " ))
Original file line number Diff line number Diff line change 1- ;; Copyright 2011-2012 Ryan Culpepper
1+ ;; Copyright 2011-2013 Ryan Culpepper
22;; Released under the terms of the LGPL version 3 or later.
33;; See the file COPYRIGHT for details.
44
55#lang racket/base
66(require racket/class
7- ( planet clements/sxml2:1)
7+ sxml
88 "private/sxml.rkt " )
99(provide atom<%>
1010 atom)
Original file line number Diff line number Diff line change 1- ;; Copyright 2011-2012 Ryan Culpepper
1+ ;; Copyright 2011-2013 Ryan Culpepper
22;; Released under the terms of the LGPL version 3 or later.
33;; See the file COPYRIGHT for details.
44
1212 "private/net.rkt "
1313 "private/has-atom.rkt "
1414 "private/sxml.rkt "
15- ( planet clements/sxml2:1)
16- ( planet neil/html-writing:1) )
15+ sxml
16+ neil/html-writing1/main )
1717(provide blogger-scope
1818 blogger<%>
1919 blogger%
Original file line number Diff line number Diff line change 1- ;; Copyright 2011-2012 Ryan Culpepper
1+ ;; Copyright 2011-2013 Ryan Culpepper
22;; Released under the terms of the LGPL version 3 or later.
33;; See the file COPYRIGHT for details.
44
1212 "private/net.rkt "
1313 "private/has-atom.rkt "
1414 "private/sxml.rkt "
15- ( planet clements/sxml2:1) )
15+ sxml )
1616(provide picasa-scope
1717 picasa<%>
1818 picasa-album<%>
Original file line number Diff line number Diff line change 1- ;; Copyright 2011-2012 Ryan Culpepper
1+ ;; Copyright 2011-2013 Ryan Culpepper
22;; Released under the terms of the LGPL version 3 or later.
33;; See the file COPYRIGHT for details.
44
88 net/url
99 net/uri-codec
1010 "net.rkt "
11- ( planet neil/ json-parsing:1) )
11+ json)
1212(provide oauth2-auth-server<%>
1313 oauth2-auth-server
1414
@@ -207,7 +207,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
207207 [json
208208 (get/url (url-add-query tokeninfo-url
209209 `((access_token . ,(get-access-token #:who who))))
210- #:handle json->sjson
210+ #:handle read-json
211211 #:who who)])
212212 (unless (equal? (hash-ref json 'audience #f ) (send client get-id))
213213 (error who "invalid token: not issued to client " ))
@@ -235,7 +235,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
235235 #:headers (form-headers)
236236 #:data (body/acquire-token #:auth-code auth-code
237237 #:redirect-uri redirect-uri)
238- #:handle json->sjson
238+ #:handle read-json
239239 ;; FIXME: add #:fail arg that reads json error response
240240 #:who who))
241241
@@ -252,7 +252,7 @@ Reference: http://code.google.com/apis/accounts/docs/OAuth2.html
252252 (post/url (send auth-server get-token-url)
253253 #:headers (form-headers)
254254 #:data (body/refresh-token)
255- #:handle json->sjson
255+ #:handle read-json
256256 ;; FIXME: add #:fail arg that reads json error response
257257 #:who who))
258258
Original file line number Diff line number Diff line change 44
55#lang racket/base
66(require (only-in mzlib/etc begin-lifted)
7- ( planet clements/sxml2:1) )
7+ sxml )
88(provide read-sxml
99 namespace-names
1010 xpath-nss
You can’t perform that action at this time.
0 commit comments