[Gimp-docs] making html pages for an easier updatable site
Marco Ciampa
ciampix at libero.it
Wed Mar 25 02:55:20 PDT 2009
On Tue, Mar 24, 2009 at 09:34:40PM +0100, Ulf-D. Ehlert wrote:
> Marco Ciampa (Montag, 23. März 2009, 15:05):
> > This is all ok but...in xml/en/images (and similarly in
> > xml/it/images) there are _not_ images but _absolute_ simbolic links
> > to
> >
> > for example:
> >
> > xml/it/images/dialogs/scale-image.png
> >
> > points to
> >
> > -> /home/marco/svn-gnome/gimp-help-2/trunk/images/it/dialogs/scale-image.png
> >
> > this makes copying this stuff to a site not so fast...
>
> Yes, this was just the easiest way to create these links - because I
> didn't know the command to convert absolute links to relative links.
> (It seems there is no such command.)
apt-get install symlinks
man symlinks
> > Q: is it possible to substitute all absolute links with relative one
>
> Yes, of course. For instance, we can write a little shell/Perl/Python
> script to make relative links or (better) to do all the
> find-image-and-make-link stuff (try 'make -n xml/it/images' to see
> these commands).
ok I'm working on it, please wait...
>
> > or (alternatively) making only one absolute reference (that is easier
> > to modify) and all other references relative to this one?
>
> No, we "copy" the image files in xml/it/images from two different
> sources: the English (language-independent) images or the localized
> images. So IMO we had to use three absolute references (to images/C,
> images/common, images/LANG)...
ok right I agree...
bye
--
Marco Ciampa
+--------------------+
| Linux User #78271 |
| FSFE fellow #364 |
+--------------------+
More information about the Gimp-docs
mailing list