X-Git-Url: http://git.pond.sub.org/?p=eow;a=blobdiff_plain;f=scratch.lisp;h=0b93a7e4284049728f08e02a0fe13d6f560c39a5;hp=23b73f69ec025121be519acedd2da81a1b8d4130;hb=080ff79f963f8a36089a817c0b9803a085aca261;hpb=f457ab38fddc9a587b37b3d97b8bcc19d5c412cb diff --git a/scratch.lisp b/scratch.lisp index 23b73f6..0b93a7e 100644 --- a/scratch.lisp +++ b/scratch.lisp @@ -1,14 +1,18 @@ -(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)) +;; http://localhost:4242/eow/ + +;(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))