Probleme XML

Fermé
leelie19 Messages postés 3 Date d'inscription vendredi 14 septembre 2012 Statut Membre Dernière intervention 14 septembre 2012 - 14 sept. 2012 à 11:37
leelie19 Messages postés 3 Date d'inscription vendredi 14 septembre 2012 Statut Membre Dernière intervention 14 septembre 2012 - 14 sept. 2012 à 16:08
Bonjour,
je suis bloquée avec mon code XML, je voudrais pouvoir ajouter un lien dans le champ "description" d'un formulaire. Je fais un album photo en ligne en fait et il faudrait que sur chaque album s'affiche le lien du site en question...
En gros : il faudrait que je mette un lien dans ça :
<album title="Stage 2012" description="JE VOUDRAIS METTRE UN LIEN ICI">

Impossible, je ne trouve aucune solution. Pouvez vous m'aider ?
Merci d'avance de vos réponses
A voir également:

4 réponses

kalamit Messages postés 278 Date d'inscription samedi 10 juin 2006 Statut Contributeur Dernière intervention 29 juin 2016 16
14 sept. 2012 à 11:56
Salut,

Il nous manque pas mal de chose pour comprendre ton problème:
- tu fais un xml que tu présentes avec du xslt ?
- tu utilises ton xml que tu parses avec un language quelconque ?
- Obiwan Kenobi ?
0
leelie19 Messages postés 3 Date d'inscription vendredi 14 septembre 2012 Statut Membre Dernière intervention 14 septembre 2012
14 sept. 2012 à 13:53
en fait c'est un peu compliqué, voila mon code complet :
<?xml version="1.0" encoding="iso-8859-1"?>
<gallery>
<!--

dfGallery

Author : G.S.Navin Raj Kumar
URL : https://dezinerfolio.com/
Date : 14-June-2007
Version : 1.0b

PLEASE READ THE DOCUMENTATION CAREFULLY BEFORE MODIFYING THIS FILE.

-->
<!-- configure the gallery in this xml-node -->
Configuration: 

<!-- set the title of the album -->
<title>Mes projets</title>

<!-- set the location of the thumbnails relative to the gallery.swf -->
<thumbnail_dir>images/photosgallery/thumbs/</thumbnail_dir>

<!-- set the actlocation of the actual high-res images relative to the gallery.swf -->
<image_dir>images/photosgallery/</image_dir>

<!-- the time interval for each image to display, this value is in seconds
default value : 5
-->
<slideshow_interval>5</slideshow_interval>

<!-- pause slideshow at start
default value : false
-->
<pause_slideshow>true</pause_slideshow>

<!-- set true if you want the application to scale the images while using RSS feeds
default value : true
-->
<rss_scale_images>true</rss_scale_images>

<!-- set the path of the mp3 file that should loop as a background music while playing the slideshow.
default value : none
-->
<background_music>none</background_music>

<!-- percentage of the volume to set while playing the music
default value : 50
-->
<background_music_volume>50</background_music_volume>

<!-- add links to images, and allow the views to click on images from flickr, picasa,and
view the page where the actual image is found.
If you dont want views to visit the picasa, or flickr or other sites keep this value false.
default value : false
-->
<link_images>false</link_images>

<!--
Photographers will like to disable printscreen for their pictures
to increase the security of their photographs.
Set this value to true if you wish to disable print screen in the application.
While the application is running the print screen option will be completely disabled in
all other applications that the visitor is using.

default value : false
-->
<disable_printscreen>false</disable_printscreen>






<!-- this node contains all the albums -->
<albums>
<album title="Stage 2012" description="azerty">
<image title="My Image Name" date="21.04.08" thumbnail="Stage.jpg" image="Stage.jpg" link="images/photosgallery/thumbs/Stage.jpg">Description de mon stage</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-2.jpg" image="image-2.jpg" link="images/photosgallery/thumbs/image-2.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-3.jpg" image="image-3.jpg" link="images/photosgallery/thumbs/image-3.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-4.jpg" image="image-4.jpg" link="images/photosgallery/thumbs/image-4.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-5.jpg" image="image-5.jpg" link="images/photosgallery/thumbs/image-5.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-6.jpg" image="image-6.jpg" link="images/photosgallery/thumbs/image-6.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-7.jpg" image="image-7.jpg" link="images/photosgallery/thumbs/image-7.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-8.jpg" image="image-8.jpg" link="images/photosgallery/thumbs/image-8.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-9.jpg" image="image-9.jpg" link="images/photosgallery/thumbs/image-9.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-10.jpg" image="image-10.jpg" link="images/photosgallery/thumbs/image-10.jpg" >Image description</image>
</album>
</albums>

<albums>
<album title="PPE" description="">
<image title="My Image Name" date="21.04.08" thumbnail="Stage.jpg" image="Stage.jpg" link="images/photosgallery/thumbs/Stage.jpg">Description de mon stage</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-2.jpg" image="image-2.jpg" link="images/photosgallery/thumbs/image-2.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-3.jpg" image="image-3.jpg" link="images/photosgallery/thumbs/image-3.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-4.jpg" image="image-4.jpg" link="images/photosgallery/thumbs/image-4.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-5.jpg" image="image-5.jpg" link="images/photosgallery/thumbs/image-5.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-6.jpg" image="image-6.jpg" link="images/photosgallery/thumbs/image-6.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-7.jpg" image="image-7.jpg" link="images/photosgallery/thumbs/image-7.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-8.jpg" image="image-8.jpg" link="images/photosgallery/thumbs/image-8.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-9.jpg" image="image-9.jpg" link="images/photosgallery/thumbs/image-9.jpg" >Image description</image>
<image title="My Image Name" date="21.04.08" thumbnail="image-10.jpg" image="image-10.jpg" link="images/photosgallery/thumbs/image-10.jpg" >Image description</image>
</album>
</albums>

<!-- language support added in v 1.0b -->

<language>
<string id="please wait" value="Please wait" />
<string id="loading" value="Loading" />
<string id="previous page" value="Previous Page" />
<string id="page % of %" value="Page % of %" />
<string id="next page" value="Next Page" />
</language>

</gallery>


donc ça donne un lien déjà vers les images de mon album mais c'est la description se situant sur le lien déjà de l'album vers les images, que je veux créer un autre lien. Je ne sais pas comment l'expliquer. Avez vous une adresse mail afin que je puisse vous envoyer une impression d'écran pour une compréhension optimale ?
0
kalamit Messages postés 278 Date d'inscription samedi 10 juin 2006 Statut Contributeur Dernière intervention 29 juin 2016 16
14 sept. 2012 à 14:43
Re,

En fait, tu utilises un truc tout fait pour présenter des photos, c'est ça ? J'ai bien compris que tu voulais ajouter un lien qui n'est pas l'original dans ta description, je t'assure que la capture d'écran n'est pas nécessaire.

Ne sachant absolument pas comment fonctionne le bidule que tu utilises (dfgallery apparement), ça va être dur de répondre.

Ils n'ont pas un support, un forum, sur leur site ou tu pourrais poser ta question directement aux développeurs de cet outil ?
0
leelie19 Messages postés 3 Date d'inscription vendredi 14 septembre 2012 Statut Membre Dernière intervention 14 septembre 2012
14 sept. 2012 à 16:08
Non, c'est un template donc aucune possibilité de les contacter. Je suis completement bloquée et je ne sais absolument pas comment faire.
0