fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

mime types on option results in result XML #344

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the job description XML, output ports now have proper mime types (see issue 
336). It would be nice if all files in the directory structure of an option 
result directory also had mime types associated with them. This would for 
instance make it easier for a UI to display a list of files with icons 
representing the type of file next to each file, show an image when hovering 
the mouse over an image file, maybe perform syntax highlighting on different 
text formats, etc.

An issue might be performance if there is a lot of files.

Original issue reported on code.google.com by josteinaj@gmail.com on 2 Jul 2013 at 9:26

GoogleCodeExporter commented 9 years ago
This means that they do not appear if the px:mime-type is set in the script?

Original comment by capitan....@gmail.com on 3 Jul 2013 at 3:40

GoogleCodeExporter commented 9 years ago
I haven't tested with px:media-type on a output option, but it wouldn't make 
much sense to use the px:media-type there anyway since output options represent 
directories and not document sequences.

Document sequences might contain documents of different media types on the same 
port as well, which is a related but different issue; maybe media type 
detection should be performed on output ports with no @media-type as well.

Original comment by josteinaj@gmail.com on 3 Jul 2013 at 3:44

GoogleCodeExporter commented 9 years ago
ahh I see. Hum that looks like a great feature to have. I'll look into it

Original comment by capitan....@gmail.com on 3 Jul 2013 at 6:35