[Gimp-docs] making html pages for an easier updatable site

Ulf-D. Ehlert ude88 at web.de
Tue Mar 24 13:34:40 PDT 2009


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.)

> 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).

> 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)...

Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-docs/attachments/20090324/a6d624e0/attachment.bin 


More information about the Gimp-docs mailing list