Initial working command line
[eow] / scratch.lisp
index 23b73f69ec025121be519acedd2da81a1b8d4130..136799df5f2f22b443d6429fb6a35363c21c3915 100644 (file)
@@ -1,14 +1,19 @@
-(setf *r* (drakma:http-request "http://gdata.youtube.com/feeds/videos"))
+(setf *e* (empire::connect :user "1" :password "1"))
+(empire::quit *e*)
 
-;; DOM
-(setf *d* (cxml:parse *r* (cxml-dom:make-dom-builder)))
-(dom:child-nodes *d*)
-(dom:get-elements-by-tag-name *d* "entry")
-(setf *c* (aref (dom:get-elements-by-tag-name *d* "entry") 0))
-(dom:map-document (cxml:make-character-stream-sink *standard-output*) *c*)
+;; http://localhost:4242/eow/
 
-;; Klacks
-(setf *s* (cxml:make-source *r*))
-(klacks:peek-next *s*)
-(klacks:find-element *s* "entry")
-(klacks:serialize-element *s* (cxml-xmls:make-xmls-builder))
+;(setf *r* (drakma:http-request "http://gdata.youtube.com/feeds/videos"))
+;
+;;; DOM
+;(setf *d* (cxml:parse *r* (cxml-dom:make-dom-builder)))
+;(dom:child-nodes *d*)
+;(dom:get-elements-by-tag-name *d* "entry")
+;(setf *c* (aref (dom:get-elements-by-tag-name *d* "entry") 0))
+;(dom:map-document (cxml:make-character-stream-sink *standard-output*) *c*)
+;
+;;; Klacks
+;(setf *s* (cxml:make-source *r*))
+;(klacks:peek-next *s*)
+;(klacks:find-element *s* "entry")
+;(klacks:serialize-element *s* (cxml-xmls:make-xmls-builder))