Merhaba arkadaşlar hem resim, hem audio hemde video kullanabileceğim bir galeri buldum. Bilgileri config.xml dosyasından alıyor. Ben kontrol panelden youtube için link, title, description giriyorum. Bunları xml içine nasıl otomatik atabiliriz.
xml örneği aşağıda...
<?xml version="1.0"?>
-<MultimediaGallery>-<file type="video"><thumb>media/videos/thumbs/html5.png</thumb><source>http://www.youtube.com/watch?v=siOHh0uzcuY</source><description>Youtube Video: Introduction to HTML5</description></file>-<file type="audio"><thumb>media/audio/thumbs/audio1.jpg</thumb><source>media/audio/audio1.ogg</source><source>media/audio/audio1.mp3</source><description>Audio Example</description></file>-<file type="video"><thumb>media/videos/thumbs/video1.png</thumb><source>http://www.youtube.com/watch?v=irF02LNZLpE</source><description>Youtube Video: San Francisco Carnaval Grand Parade 2010</description></file>-<file type="video"><thumb>media/videos/thumbs/video2.png</thumb><source>http://www.youtube.com/watch?v=dD1H4fvdnyI</source><description>Youtube Video: San Francisco Carnival Parade 2010 Best Video</description></file>
</MultimediaGallery>