Re: making html pages for an easier updatable site

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux