Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Moderation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alan Schmitt <schmitta@c...>
Subject: Re: [Caml-list] Moderation
* Alan Schmitt (schmitta@cis.upenn.edu) wrote:
> ;-)
> 
> Here you go:
> 
> http://pauillac.inria.fr/~aschmitt/cwn/
> 
> It's just a directory with all the text files. If someone knows a nice
> and easy way to transform text files to html (mostly to make the links
> as real ones), please tell me so.

Following the gentle push from a member of the caml team, I did a bit of
formatting. You'll find at the same address the htmlized archive. If
something doesn't look good, let me know (I just used the following vim
script:
fun! CwnHtml()
  execute("%s/>/\\&gt;/g")
  execute("%s/</\\&lt;/g")
  execute("%s+\\(http://[^][(){}<>\" \t]*\\)+<a href=\"\\1\">\\1</a>+g")
  call append(0, "<html><body><pre>")
  call append(line("$"), "</pre></body></html>") 
  execute("w! %<.html")
endfun
)

Alan

-- 
The hacker: someone who figured things out and made something cool happen.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners