atom feed41 messages in at.iem.pd-devRe: [PD-dev] pddp style guide
FromSent OnAttachments
Hans-Christoph SteinerApr 29, 2005 2:30 pm 
Frank BarknechtApr 29, 2005 7:01 pm 
Michal SetaApr 30, 2005 8:24 am 
Krzysztof CzajaApr 30, 2005 8:30 am 
Hans-Christoph SteinerApr 30, 2005 4:44 pm 
Krzysztof CzajaMay 1, 2005 3:42 am 
Hans-Christoph SteinerMay 1, 2005 8:06 am 
Krzysztof CzajaMay 1, 2005 9:29 am 
Hans-Christoph SteinerMay 1, 2005 2:34 pm 
Hans-Christoph SteinerMay 1, 2005 2:49 pm 
Hans-Christoph SteinerMay 1, 2005 2:50 pm 
Frank BarknechtMay 1, 2005 3:42 pm 
Michal SetaMay 1, 2005 9:04 pm 
Hans-Christoph SteinerMay 1, 2005 9:59 pm 
Krzysztof CzajaMay 2, 2005 12:18 am 
Krzysztof CzajaMay 2, 2005 12:21 am 
B. BogartMay 2, 2005 7:26 am 
B. BogartMay 2, 2005 9:22 am 
Anton WoldhekMay 2, 2005 12:24 pm 
Krzysztof CzajaMay 3, 2005 11:33 am 
Frank BarknechtMay 3, 2005 3:47 pm 
Anton WoldhekMay 3, 2005 4:26 pm 
Krzysztof CzajaMay 4, 2005 4:04 am 
Anton WoldhekMay 4, 2005 4:08 am 
Krzysztof CzajaMay 4, 2005 4:11 am 
B. BogartMay 4, 2005 8:42 am 
B. BogartMay 4, 2005 12:24 pm 
B. BogartMay 4, 2005 12:38 pm 
Hans-Christoph SteinerMay 4, 2005 4:33 pm 
Hans-Christoph SteinerMay 4, 2005 4:36 pm 
Hans-Christoph SteinerMay 4, 2005 4:40 pm 
Anton WoldhekMay 5, 2005 2:04 am 
Krzysztof CzajaMay 5, 2005 4:14 am 
B. BogartMay 5, 2005 8:03 am 
B. BogartMay 5, 2005 8:14 am 
B. BogartMay 5, 2005 8:18 am 
B. BogartMay 5, 2005 8:52 am 
Hans-Christoph SteinerMay 5, 2005 1:36 pm 
Krzysztof CzajaMay 6, 2005 7:20 am 
B. BogartMay 6, 2005 8:06 am 
B. BogartMay 9, 2005 8:15 am 
Subject:Re: [PD-dev] pddp style guide
From:Hans-Christoph Steiner (ha@eds.org)
Date:May 1, 2005 2:34:34 pm
List:at.iem.pd-dev

The idea of an HTML PDDP sounds great. It will require a TclTK browser widget in Pd, a pddpserver, and a Pd reference done in Docbook. None of these exist and AFAIK, no one is working on these things. HTML/Docbook would undoubtedly produce more flexibility in formatting, but we can make a decently formatted reference with what we have now with all of the functionality (except for maybe clickable URLs in Pd, but that shouldn't be too hard to implement, right?).

It would not take much work to make some PDDP templates (reference/-help.pd, examples, and all_about_) and reformat the content that we have now, and we'd have the beginnings of a very functional help/reference for Pd.

I know what I propose is not the ideal solution, but it is a realistic one, and one that is already underway. The idea for PDDP started in 2002, its obviously not moving fast. So I think it makes a lot of sense to have a less than perfect system now rather than wait years more for a perfect one. And then we can learn from the first experience how to better implement the perfect system. Who was it that said you have to implement the program in order to know how to implement it?

.hc

On May 1, 2005, at 12:30 PM, Krzysztof Czaja wrote:

Hans-Christoph Steiner wrote: ...

If we can do it in Pd, why not do it in Pd? The example patches that

we cannot, unless after developing a browser widget. Using it would be perfectly ok, once it is available.

go with the text would need to be opened from the browser (or whatever). There are a number of problems with launching .pd files from other applications, many of which are platform-specific and

no, it is much simpler -- when "pddpserver" receives a GET request for a path, it might do just this:

if {[string equal [file extension $path] .pd] && [otherconditions]} { pd [concat pd open [file tail $path] [file dirname $path] \;] set path [htmlpageof $path] } #... carry on serving

...

I am not sure what you mean by "unparsable comments". Using a multi-line regexp, you can grab all chunks that start with '#X text

parse-and-pray...

[0-9-]* [0-9-]*' and ends with a non-escaped ';'. The '#X text [0-9-]* [0-9-]*' would be equivalent to an HTML <p> and ';' to a </p>

html is docbook's output, not source...

Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams