Search found 13 matches

by djdebaviere
Wed Dec 23, 2009 5:23 am
Forum: Common Lisp
Topic: problem with cl-who
Replies: 2
Views: 4647

problem with cl-who

I have installed cl-who and when I am making the test with the code which are in the home page of cl-who, the running return an error. (with-html-output (*http-stream*) (loop for (link . title) in '(("http://zappa.com/" . "Frank Zappa") ("http://marcusmiller.com/" . &qu...
by djdebaviere
Wed Dec 23, 2009 5:16 am
Forum: Common Lisp
Topic: problem with my project in common lisp
Replies: 7
Views: 7479

problem with cl-who

I have installed cl-who and when I am making the test with the code which are in the home page of cl-who, the running return an error. (with-html-output (*http-stream*) (loop for (link . title) in '(("http://zappa.com/" . "Frank Zappa") ("http://marcusmiller.com/" . &qu...
by djdebaviere
Mon Dec 21, 2009 11:29 am
Forum: Common Lisp
Topic: problem with my project in common lisp
Replies: 7
Views: 7479

Re: problem with my project in common lisp

can you give me a small function which use closure-html and plexippus-xpath ?
by djdebaviere
Mon Dec 21, 2009 10:05 am
Forum: Common Lisp
Topic: problem with my project in common lisp
Replies: 7
Views: 7479

Re: problem with my project in common lisp

thanks!!! it's ok now. I have use write-line and the output is good. the rest is to construct the function which return only the text of critiques. if you have an indication about a function which take a text in input and return a part of this text, help me.
by djdebaviere
Mon Dec 21, 2009 6:04 am
Forum: Common Lisp
Topic: problem with my project in common lisp
Replies: 7
Views: 7479

problem with my project in common lisp

hello, I have already posed the same problem on this forum, but I have always the same same problem in my project. My problem is the following: I must extract criticize on films in the Web site www.première.fr. I have already a function lisp which allows to extract code HTML from the page, but my p...
by djdebaviere
Wed Dec 16, 2009 10:10 am
Forum: Common Lisp
Topic: problem with my lisp function
Replies: 4
Views: 5569

Re: problem with my lisp function

(defun connect-to-url (url filename) (ext:with-http-input (stream url) (with-open-file (stream2 filename :direction :output :if-exists :overwrite :if-does-not-exist :create ) (loop for line = (read-line stream nil nil) while line do (format stream2 line))))) to run it, write (connect-to-url("U...
by djdebaviere
Wed Dec 16, 2009 10:06 am
Forum: Common Lisp
Topic: problem with my lisp function
Replies: 4
Views: 5569

Re: problem with my lisp function

(defun connect-to-url (url filename) (ext:with-http-input (stream url) (with-open-file (stream2 filename :direction :output :if-exists :overwrite :if-does-not-exist :create ) (loop for line = (read-line stream nil nil) while line do (format stream2 line)))))
by djdebaviere
Wed Dec 16, 2009 5:48 am
Forum: Common Lisp
Topic: problem with my lisp function
Replies: 4
Views: 5569

problem with my lisp function

I use this function to connect at a URL and get the html code of the page referenced by the URL. my problem is that the html code that I receive is not all of the code of the page (defun connect-to-url (url filename) (ext:with-http-input (stream url) (with-open-file (stream2 filename :direction :out...
by djdebaviere
Tue Dec 15, 2009 8:38 am
Forum: Common Lisp
Topic: help to use CLISP to generate an html code
Replies: 4
Views: 5032

Re: help to use CLISP to generate an html code

I don't want to create a big web application, my problem is just to to create two pages html using CLISP to show the result of my program