Re: where is the web directory?

2012-10-31 Thread Ludovic Courtès
Kejia柯嘉 skribis: > if i use the default web server of guile, where should i put static > html documents? The built-in web server doesn’t know about static documents. See ‘examples/web/hello.scm’ in the source distribution for an example of how to use it. Ludo’.

Re: escaping characters

2012-10-31 Thread Ludovic Courtès
Hi, Kejia柯嘉 skribis: > is there a function that can escape of a string every character which > is an escape character? What do you mean by “escape character”? Ludo’.

Re: escaping characters

2012-10-31 Thread nalaginrut
I'm not sure what you mean, any example would be better. Maybe you need 'read-delimited' in the (ice-9 rdelim)? (call-with-input-string "abcd@efg" (lambda (port) (read-delimited "@,/ " port))) ==> abcd Maybe it's not you need, as I said, some example to explain your thought would be better.

Re: where is the web directory?

2012-10-31 Thread nalaginrut
I think (web server) module only provides preliminary tools to implement a real web-server. So you have to write your own path-parser in the handler which will be passed into 'run-server'. On Wed, 2012-10-31 at 12:55 -0400, Kejia柯嘉 wrote: > hi, > > if i use the default web server of guile, wher

Re: Use of (sxml xpath)

2012-10-31 Thread Aleix Conchillo Flaqué
On Wed, Oct 31, 2012 at 10:51 AM, Ariel Rios wrote: > Hello all, > > I am trying to use (sxml xpath) to parse an xml file but I just cannot > understand the API. > > If I have the following xml > > http://www.w3.org/2006/10/ttaf1"; xml:lang="en"> > > > > hello > hello 2 > hello 3 > . > >

Use of (sxml xpath)

2012-10-31 Thread Ariel Rios
Hello all, I am trying to use (sxml xpath) to parse an xml file but I just cannot understand the API. If I have the following xml http://www.w3.org/2006/10/ttaf1"; xml:lang="en"> hello hello 2 hello 3 . In Perl I can do something like: my $xml = XML::XPath->new(filename => $file); $xm

where is the web directory?

2012-10-31 Thread Kejia柯嘉
hi, if i use the default web server of guile, where should i put static html documents? thank you. --- kejia ☵☯☲

escaping characters

2012-10-31 Thread Kejia柯嘉
hi, is there a function that can escape of a string every character which is an escape character? thanks a lot. --- kejia ☵☯☲

SGF Utils 0.3 available

2012-10-31 Thread Thien-Thi Nguyen
release notes: Another day, another bugfix. thi README excerpt: SGF Utils is a set of programs for manipulating Smart Game Format files, principally for the game of Go. This release includes one tool: the viewing program sgfv. The code is "early to middling alpha"; see HACKING fo