[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-doc
Subject:    [PHP-GTK-DOC] long email, sorry...
From:       "Steph Fox" <steph () zend ! com>
Date:       2006-03-23 12:56:01
Message-ID: 01e401c64e79$2467ce70$6602a8c0 () foxbox
[Download RAW message or body]

Hi folks,

I've cleaned up the stylesheets over the last week or so, and at present the 
raw XSLT output for updates looks like this:

&#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkaboutdialog.php" 
date="">GtkAboutDialog</a> [en]<br />
  &#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkadjustment.php" 
date="">GtkAdjustment</a> [en]<br />
  &#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkbox.php" 
date="">GtkBox</a> [en]<br />

which, by the time it gets through

 @cat $(TMP) | sed -e 's/ \[en\]//;s/\"\"/"$(TS)"/;/php/!d;s/^  *//' >> $@
 @rm -f $(TMP)

in the Makefile, comes out like:

&#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkaboutdialog.php" 
date="20060323">GtkAboutDialog</a><br />
&#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkadjustment.php" 
date="20060323">GtkAdjustment</a><br />
&#0149; <a href="http://gtk.php.net/manual/en/gtk.gtkbox.php" 
date="20060323">GtkBox</a><br />

which is 99% ready for rsync'ing to php-gtk-web - it just needs checking for 
unique values (I haven't found a good way to do this without PHP) and 
size-limiting (~5 LOC, even for sed).

Unfortunately the 'missing link' script formats the update data too, so 
running even the raw version through there currently gives us:

<p>
</p>

That original script, written by Scott some time ago, was made available in 
CVS as of yesterday, but as part of the systems module. That means that if 
it breaks on the server we can't fix it via CVS - it needs manual 
intervention, ie Andrei or Derick. I'd personally like to see it in the 
php-gtk-doc module's scripts directory, given that the data reaching that 
script can be adapted to reflect translation efforts too at a later stage. 
php-gtk-web's too late in the process to be a good option.

Whatever happens, it's going to end up being a much shorter script than it 
currently is...

Does anyone have any strong objections to my moving 'the merge script' to 
php-gtk-doc/scripts? It can still be rsync'ed to php-gtk-web module from 
there - in fact, that's what the original script in the systems module 
appeared to be doing (but wasn't!).

- Steph

-- 
PHP-GTK Documentation Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic