daisy / pipeline

Super-project that aggregates all Pipeline related code, provides a common tracker for Pipeline related issues and holds the Pipeline website
http://daisy.github.io/pipeline
21 stars 21 forks source link

mime types on option results in result XML #344

Open ghost opened 10 years ago

ghost commented 10 years ago

From josteinaj@gmail.com on July 02, 2013 11:26:16

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: http://code.google.com/p/daisy-pipeline/issues/detail?id=344

ghost commented 10 years ago

From capitan....@gmail.com on July 03, 2013 08:40:29

This means that they do not appear if the px:mime-type is set in the script?

ghost commented 10 years ago

From josteinaj@gmail.com on July 03, 2013 08:44:05

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.

ghost commented 10 years ago

From capitan....@gmail.com on July 03, 2013 11:35:22

ahh I see. Hum that looks like a great feature to have. I'll look into it