OpenOffice.org 2.1 による OpenDocument Format(オープンドキュメント フォーマット ODF)はZIP圧縮されています。
フリー百科事典『ウィキペディア(Wikipedia)』
http://ja.wikipedia.org/
でZIP (ファイルフォーマット)を検索してみると、
ソフトにおける固有の拡張子
事実上世界標準の圧縮フォーマットであるZIPだが、ソフトウェアによってはフォーマットはZIPだがそのソフト固有の物であることを示すために専用の拡張子が定義されている場合がある。
⇒ jar odt wsz wmz smzip xpi nar kmz
ODFは、単なる圧縮ファイルではないので、
参照「OpenDocument - フォーマット構造の解説」
http://www.catch.jp/openoffice/opendocument/format_internals.html
閲覧するときクライアントPCに下記のようなアプリケーションソフトウェアのインストールが必要です。
OpenDocumentフォーマット/free office suite
OpenOffice.org ⇒ 日本語版(日本ユーザー会) http://ja.openoffice.org/ 本家 http://www.openoffice.org/
または(文書ドキュメント odt だけであれば)
ODF Viewer ⇒ http://opendocumentfellowship.org/odfviewer/
また、サーバ上のファイル (拡張子 odt, ods, odp など)をダウンロードする時(特に、アップローダを利用しサーバ内にファイルをアップロードする時)、
新しいMIMEタイプのため、事前にApache の設定ファイルまたは .htaccessでmime type を設定、登録する(AddType ディレクティブを追記)必要があります。
ODFのMIMETYPEは application/x-zip-compressed や application/octet-stream .zip ではありません。
AddType ディレクティブの設定方法など
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addtype
OpenOffice.org2.0のMime Content Typesなど
http://framework.openoffice.org/documentation/mimetypes/mimetypes.html
For webmasters | OpenDocument Fellowship
http://opendocumentfellowship.org/resources/for_webmasters
【サンプル】
# Regular documents.
AddType application/vnd.oasis.opendocument.text .odt
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.image .odi
AddType application/vnd.oasis.opendocument.database .odb
# Templates
AddType application/vnd.oasis.opendocument.text-template .ott
AddType application/vnd.oasis.opendocument.spreadsheet-template .ots
AddType application/vnd.oasis.opendocument.presentation-template .otp
AddType application/vnd.oasis.opendocument.graphics-template .otg
AddType application/vnd.oasis.opendocument.chart-template .otc
AddType application/vnd.oasis.opendocument.formula-template .otf
AddType application/vnd.oasis.opendocument.image-template .oti
# Master documents and HTML templates
AddType application/vnd.oasis.opendocument.text-master .odm
AddType application/vnd.oasis.opendocument.text-web .oth
すでに、
http://sb.xrea.com/showthread.php?s=ce40b0096ecf735b30ec9be06096cbae&t=11795
などに投稿しましたが、Xrea.comさんのサーバ、ブログツール「TypePad」のサーバには、これらODFのMIMEタイプは設定されていません 。
[参考] @niftyさんのホームページでは「MIME一覧表」
http://homepage.nifty.com/mime/
のとおり、odt, ods, odb のみ登録済みです。
★ OpenDocument Formatを採用しているオフィススイート
引用・参照 http://ja.wikipedia.org/wiki/OpenDocument
一太郎 2006以降、花子 2007(追加モジュールを導入することにより対応)
Google Docs & Spreadsheets
KOffice
NeoOffice 2.1
OpenOffice.org 2.0 以降
StarOffice (StarSuite) 8.0
IBM Workplace Managed Client 2.6
Writely


最近のコメント