Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Relative link for media file? » Re: Relative link for media file?

Re: Relative link for media file?

Up one level

Re: Relative link for media file?

Posted by hasloe at 2007-10-17 12:02  

Currently ELAN does not support relative links, it only stores absolute paths. When opening a file this is what happens:
- find a media file at the specified (absolute) path
- if not found there, look for the file in the same directory as the eaf
- if not found there, look in a directory "media" in the parent directory (../media/)
This last location is hardwired and a rather arbitrary choice, of course.

So, if the Media URL attribute only contains the file name, the file will still be found if it is in the same directory as the eaf, or in ../media/. But when the transcription is saved by ELAN the URL will be converted to an absolute path.

True support for relative paths is on the to do list; several users have requested such feature and it makes sense in several situations.
It's difficult to say though when exactly this will be realized.

Han

 

Powered by Plone

This site conforms to the following standards: