Social forum

subtitles file format

 
Picture of Gianpiero Limongiello
subtitles file format
by Gianpiero Limongiello - Tuesday, 23 August 2011, 12:01 PM
 
Hello,
is it available any detailed description or information about subtitles file format you can load on your AutoView presentation?
Or, the other way round, there exists some more general documentation (manuals, user guides, ...) about your XML directives files (.avx) structure and contents?

We use your very good and nice module since some years now, working directly on the server side instead the graphical interface, to achieve better automated jobs, and sometimes it would be of a great help to be able to rely on the exact information.

Many thanks for any help or pointer you can give (and for the wonderful job done with this mudule smile).

Gianpiero
Picture of Tim Williams
Re: subtitles file format
by Tim Williams - Tuesday, 23 August 2011, 2:42 PM
 
There isn't currently any documentation available for the XML file formats, we haven't found it to be necessary internally and our customers haven't asked for it up to now.

That said, the subtitle file format is very simple, what you see in the file is about all there is too it. One thing you should pay attention to though, the XML is converted into javascript before being sent to the browser and this process doesn't reliably handle XML escape sequences, so you should always use Javascript style escape sequences in the text of slide titles, subtitles etc.

I am happy to answer any specific questions you may have here.
Picture of Gianpiero Limongiello
Re: subtitles file format
by Gianpiero Limongiello - Tuesday, 23 August 2011, 3:59 PM
 
Hi Tim,
many thanks for your quick answer! I see anyway, as I must confess we too haven't had so much problems understanding what to do up till now.
Now I'm the process of understanding better the relations between the "main" .avx config file and its subtitles ones so, given your kindness, I was wondering how to correctly build a subtitle file with long text displaying under the same slide, as in your "Long demo, with multi-lingual subtitles" and how to obtain the slides thumbnails in the Trascription, which in my installation don't show up, even if I set to "true" both <thumbnailsactive> and <thumbnail> in the config.

Many thanks in advance (anyway, I promise I'll be less demanding in my next posts wink )

gianpiero
Picture of Tim Williams
Re: subtitles file format
by Tim Williams - Wednesday, 24 August 2011, 11:55 AM
 
thumbnailsactive and thumbnail will only work if you have a slide source which contains suitable thumbnails images, otherwise they are ignored. The images on the transcription page are also read from the same source.

What you need to do is to add an image based slide source (see http://autoview.autotrain.org/mod/data/view.php?d=1&rid=63&filter=1 for information on how to put together the necessary files), the XML slidesrc tag looks something like this:

   <slidesrc>
<type>PreloadImageSlide</type>
<url>autoview-demo/images</url>
<imgtype>.jpg</imgtype>
</slidesrc>


I would recommend placing this after the slidesrc tag for the flash version of the slides.
Picture of Gianpiero Limongiello
Re: subtitles file format
by Gianpiero Limongiello - Wednesday, 24 August 2011, 12:59 PM
 
Many thanks for your explanation, I'll work on it.

bye
g.