Bug#436441: Specify OpenDocument icon(s) in Apache 1.3, Apache2 configuration
Package: apache-common
Version: 1.3.34-4.1
No error, this is an enhancement request for Apache 1.3 and Apache 2
and it recycles material from Ubuntu bug # 13086
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/130836
Debian users will be creating a lot of files in the OpenDocument format
via the packages OpenOffice.org and Koffice. Apache should be
configured to identify these file since they are common.
There are at least three ways of meeting this goal:
a) Perhaps ideal would be specific identification of each MIME-type:
AddIcon /icons/odf_text.gif .odt
AddIcon /icons/odf_spreadsheet.gif .ods
AddIcon /icons/odf_presentation.gif .odp
AddIcon /icons/odf_drawing.gif .odg
AddIcon /icons/odf_chart.gif .odc
AddIcon /icons/odf_formula.gif .odf
AddIcon /icons/odf_database.gif .odb
AddIcon /icons/odf_image.gif .odi
AddIcon /icons/odf_masterdocument.gif .odm
AddIcon /icons/odf_text_template.gif .ott
AddIcon /icons/odf_spreadsheet_template.gif .ots
AddIcon /icons/odf_presentation_template.gif .otp
AddIcon /icons/odf_drawing_template.gif .otg
AddIcon /icons/odf_chart_template.gif .otc
AddIcon /icons/odf_formula_template.gif .otf
AddIcon /icons/odf_image_template.gif .oti
AddIcon /icons/odf_web_page_template.gif .oth
OpenDocument's MIME-types are already registered in /etc/mime.types
which Apache2 reads.
b) Next best would be one icon each for data and templates:
AddIcon /icons/opendocumentfile.gif .odt .ods .odp .odg .odc .odf
.odb .odi .odm
AddIcon /icons/opendocumenttemplate.gif .ott .ots .otp .otg .otc
.otf .oti
c) The least work would be on icon to represent all the MIME-types:
AddIcon /icons/odf.gif .odt .ods .odp .odg .odc .odf .odb .odi .odm
.ott .ots .otp .otg .otc .otf .oti
At this point it doesn't matter so much which icons are used, it is
enough to have any kind of identifying icon (that fits in with the
system's themes) for the documents. If a starting suggestion is needed,
then the following images and masks might be useful in creating the icon(s):
http://www.catnip.co.uk/opendocument/odf-master.xcf
http://www.catnip.co.uk/opendocument/graphics/odf_master.svg
http://www.catnip.co.uk/opendocument/graphics/odf_master_color.svg
Regards,
-Lars Noodén
http://opendocumentfellowship.org/
Reply to: