[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] help files - html title

I can surely update the Helper classes (I know nothing about NSHTMLblabla...).
With the Helper you start from the what will be the tmp file name, so no problem in setting the title tag.
So, I will put as a title the file name: should I prepend "SuperCollider Help-"?



On 3 Dec 2007, at 19:36, Scott Wilson wrote:

On 3 Dec 2007, at 18:30, Dan Stowell wrote:

2007/12/3, nescivi <nescivi@xxxxxxxxx>:
On Monday 03 December 2007 18:38:50 you wrote:
This is doable, but the title would need to be generated
automatically from the WYSIWYG editor.

Well, since the first word is usually the class name...
And we can easily prepend "SuperCollider Help - " to it...

The title would typically be taken from the filename I guess (this
would then cover non-class helpfiles too).

Is it possible (I guess I'm asking Scott here) for the html title to
be indicated to the cocoa-html-generator as long as (as soon as?) the
doc has a filename?


Well, you'd just edit the generated HTML string afterwards in the write method (already happening for a couple of reasons...). Since you have to have a path to write and generate html, you should have the path name and could write it as a title tag. On read you could harvest that (if it's not dealt with automatically).

Existing files without title strings could default to file name.

None of this would be hard to do. I can look at it, but I think maybe Andrea wanted to?


Sc-devel mailing list

Andrea Valle
Università degli Studi di Torino

I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)